当我构建项目时,我在输出文件夹中找到aar文件而不是文件。apk
请告诉我发生了什么事,错误来自gradle.Build何处?
这是我的gradle.Build:
apply plugin: 'com.android.library'
def computeVersionName() {
return "1.0.12"
}
android {
compileSdkVersion 28
defaultConfig {
minSdkVersion 19
targetSdkVersion 28
versionCode 40
versionName computeVersionName()
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
abortOnError false
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
// android framework
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
// firebase sdk
implementation 'com.google.firebase:firebase-core:17.2.0'
implementation 'com.google.firebase:firebase-database:19.1.0'
implementation 'com.google.firebase:firebase-storage:19.0.1'
implementation 'com.google.firebase:firebase-crash:16.2.1'
implementation 'com.google.firebase:firebase-messaging:20.0.0'
implementation 'com.google.firebase:firebase-auth:19.0.0'
implementation 'com.google.firebase:firebase-firestore:21.1.0'
implementation 'com.google.firebase:firebase-analytics:17.2.0'
implementation 'com.github.bumptech.glide:glide:3.7.0'
annotationProcessor 'com.github.bumptech.glide:glide:3.7.0'
implementation 'org.apache.httpcomponents:httpcore:4.4.10'
implementation 'com.vanniktech:emoji-ios:0.5.1'
implementation "com.daimajia.swipelayout:library:1.2.0@aar"
}
万千封印
相关分类