0

在此处输入图像描述

<?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 链接失败。有什么解决办法吗?

4

1 回答 1

0

我已经添加了implementation "com.android.support:design:$android_support_version"

这个库和它的工作,在我的情况下 $android_support_version = 28.0.0-alpha3

于 2021-04-24T08:06:32.837 回答