<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
app:cardcornerRadius="3dp"
app:cardelevation="3dp"
app:cardUseCompatPadding="true"
>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
>
每次我尝试运行代码时,都会出现一个错误,告诉我Android链接失败。有解决方案吗?
答案 0 :(得分:0)
我已经添加了 implementation "com.android.support:design:$android_support_version"
这个库和它的工作,在我的情况下 $android_support_version = 28.0.0-alpha3