我想将此库导入到我的项目中 Android Studio v1.0.0 rc2:
https://github.com/navasmdc/MaterialDesignLibrary
但是有一个问题。当我将此库添加为模块时,出现此错误:
Error:Dependency MyApplication.libraries:MaterialDesign:unspecified on project app resolves to an APK archive which is not supported as a compilation dependency. File: C:\ADTBundle\StudioWorkspace\MyApplication\libraries\MaterialDesign\build\outputs\apk\MaterialDesign-release-unsigned.apk
解决此问题的分步指南是什么?或者这个库的 gradle 依赖项是什么?
最佳答案
有一个新的官方设计库, 只需将其添加到您的 build.gradle 中:了解详情 visit android developers page
implementation 'com.android.support:design:27.0.0'
关于android - 如何将 Material 设计库导入 Android Studio?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27364565/