android - 在我的 gradle 中使用正确的材料设计库是什么,我尝试了不同的解决方案,它没有成功构建
问题描述
我正在尝试在我的应用程序中测试 FAB 概念,但它没有按照我得到的指导方针工作,可能是因为我不太了解它,请参阅下面的我的 gradle 文件:
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "study.timmy.micah.materialdesignpractices"
minSdkVersion 15
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0-alpha1'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
implementation 'com.android.support:design:28.0.0-alpha1'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso
core:3.0.2'
}
解决方案
推荐阅读
- objective-c - 如何使用 Dart ffi 表示具有 int 和字符串声明的 ObjC 枚举 AVAudioSessionPortOverride?
- java - Java中的Spark结构化流单元测试
- julia - Julia - 以编程方式生成函数数组
- rust - 用 Rust 中的孙子替换 BST 的子节点
- logging - 缺少自定义解决方案的 SharePoint 2013 ULS 日志跟踪
- c# - 在以开头的同一行中查找多个 RegEx 模式
- pdf - 自动从 Power BI 文件导出为 PDF
- django - DoesNotExist at /folder/ 用户数据匹配查询不存在。DJango 问题
- python - 我收到一个基本 opencv 代码加载和显示图像的错误
- kubernetes - 入口类的入口控制器名称