android - 导入新的 Android 设计支持库

标签 android material-design android-support-library android-design-library android-support-design

您好,我正在尝试像这样导入新的 android 支持库 com.android.support:support-design:22.0.0 但在同步 gradle 后出现此错误:找不到

最佳答案

您必须在 SDK 管理器中更新您的 Android 支持存储库,然后只需将此依赖项添加到您的 build.gradle:

compile 'com.android.support:design:22.2.0'

com.android.support:support-design:22.0.0 是错误的。

关于android - 导入新的 Android 设计支持库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30543098/

相关文章:

Android主题: Set Status Bar color to Action Bar color in Material3

android - FragmentActivity 无法通过 ActivityInstrumentationTestCase2 进行测试

android - API 16 设备上的 fitsSystemWindows 不工作

android - Android Lollipop 的 FFMPEG 问题。错误 : only position independent executables (PIE) are supported

完成后的Android错误()

android - 将跨平台库链接到 native Android 应用程序

Android 应用程序在启动时打开应用程序信息屏幕而不是启动主 Activity

java - 使用带有多部分的 Volley Post 请求以阿拉伯语发送发布数据

javascript - 隐藏 Material 轮播中的后退按钮

c - 如何让 Reactjs 和 MDL 协同工作?