问题描述
build.gradle(:app)
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.31.2'
}
}
apply plugin: 'com.android.application'
//apply plugin: 'kotlin-android-extensions'
//apply plugin: 'kotlin-android'
repositories {
maven { url 'https://maven.fabric.io/public' }
mavenCentral()
}
android {
compileSdkVersion 30
buildToolsversion '28.0.3'
defaultConfig {
applicationId 'com.transasia.ctrack'
minSdkVersion 16
targetSdkVersion 30
versionCode 42
versionName "3.5.5"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'),'proguard-rules.pro'
}
}
packagingOptions {
exclude 'meta-inf/DEPENDENCIES'
exclude 'meta-inf/LICENSE'
exclude 'meta-inf/LICENSE.txt'
exclude 'meta-inf/license.txt'
exclude 'meta-inf/NOTICE'
exclude 'meta-inf/NOTICE.txt'
exclude 'meta-inf/notice.txt'
exclude 'meta-inf/ASL2.0'
}
productFlavors {
}
}
dependencies {
implementation filetree(include: ['*.jar'],dir: 'libs')
implementation files('libs/jsch-0.1.42.jar')
//noinspection GradleCompatible
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.3.0'
implementation 'androidx.recyclerview:recyclerview:1.2.0'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.google.android.gms:play-services-maps:17.0.0'
implementation 'com.google.android.gms:play-services-places:17.0.0'
implementation 'com.github.bumptech.glide:glide:4.12.0'
implementation 'com.sun.mail:android-mail:1.6.7'
implementation 'com.mcxiaoke.volley:library-aar:1.0.1'
implementation 'com.google.firebase:firebase-core:18.0.3'
implementation 'com.firebaseui:firebase-ui:7.1.1'
implementation 'com.firebaseui:firebase-ui-auth:7.1.1'
implementation 'com.google.firebase:firebase-auth:20.0.4'
implementation 'com.google.firebase:firebase-database:19.7.0'
implementation 'com.google.firebase:firebase-messaging:21.1.0'
implementation 'com.google.android.gms:play-services-base:17.6.0'
implementation 'com.google.android.gms:play-services-location:18.0.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'com.github.barteksc:android-pdf-viewer:3.0.0-beta.3'
implementation 'androidx.cardview:cardview:1.0.0'
testImplementation 'junit:junit:4.13.2'
// implementation('com.crashlytics.sdk.android:crashlytics:17.4.1@aar') {
// transitive = true
// }
// implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
apply plugin: 'com.google.gms.google-services'
即使我使用了 packageoptions,我仍然收到此错误。 错误: 发现多个文件与操作系统无关的路径“meta-inf/NOTICE.md”。 谢谢................................................ ………………………………………………………………………………………………………………………………………………………… ………………………………………………………………………………………………………………………………………………………… …………………………………………………………………………………………………………………………………………………………
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)