Android构建结束时出现704个错误,但应用程序仍能正常运行
我的Android应用程序出现了一个棘手的问题。当我在Android Studio上构建应用程序时,构建结束时出现704个错误,但该应用程序在我的测试设备上正常工作。我想不出这个问题。我在谷歌上搜索,在stackoverflow中找到了一些答案,但这些答案对我没有帮助。因为我没有在我的项目中使用proguard right know,答案都是关于proguard的 下面的代码是我的应用程序级别gradleAndroid构建结束时出现704个错误,但应用程序仍能正常运行,android,Android,我的Android应用程序出现了一个棘手的问题。当我在Android Studio上构建应用程序时,构建结束时出现704个错误,但该应用程序在我的测试设备上正常工作。我想不出这个问题。我在谷歌上搜索,在stackoverflow中找到了一些答案,但这些答案对我没有帮助。因为我没有在我的项目中使用proguard right know,答案都是关于proguard的 下面的代码是我的应用程序级别gradle buildscript { repositories {
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
apply plugin: 'com.google.gms.google-services'
repositories {
maven {
url "http://dl.bintray.com/piasy/maven"
}
maven { url 'https://maven.fabric.io/public' }
}
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "***.***.***"
minSdkVersion 16
targetSdkVersion 23
versionCode 1
versionName "1.0"
multiDexEnabled true
}
buildTypes {
debug {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
buildConfigField 'Boolean', 'crashlyticsEnabled', 'true'
buildConfigField 'Boolean', 'logEnabled', 'true'
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
buildConfigField 'Boolean', 'crashlyticsEnabled', 'true'
buildConfigField 'Boolean', 'logEnabled', 'false'
}
}
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'
exclude 'META-INF/rxjava.properties'
}
dexOptions {
javaMaxHeapSize "4g" //specify the heap size for the dex process
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.1.1'
compile "com.android.support:recyclerview-v7:23.1.1"
compile 'com.google.android.gms:play-services-gcm:8.3.0'
compile project(':chatlibrary')
compile 'com.amazonaws:aws-android-sdk-sns:2.2.14'
compile 'com.norbsoft.typefacehelper:library:0.9.0'
compile 'com.github.piasy:rxscreenshotdetector:1.1.0'
compile('com.crashlytics.sdk.android:crashlytics:2.6.7@aar') {
transitive = true;
}
compile('com.digits.sdk.android:digits:2.0.6@aar') {
transitive = true;
}
compile 'com.android.support:design:23.1.1'
compile 'com.android.support:recyclerview-v7:23.0.0'
compile 'com.android.support:multidex:1.0.1'
compile 'com.google.android.gms:play-services-location:8.3.0'
compile 'com.google.android.gms:play-services-maps:8.3.0'
compile 'com.github.GDG-Korea:PinterestLikeAdapterView:29697e2c24'
}
感谢您的帮助…这些是应用程序中包含的库中的警告或错误。我只能在屏幕截图中看到警告,没有错误。这些是应用程序中包含的库中的警告或错误。我只能在屏幕截图中看到警告,没有错误。