值 (73836) > 0x0000ffff-6ren"> 值 (73836) > 0x0000ffff-无法构建应用。 构建失败: Error:Execution failed for task ':app:package "packageName" Debug'.> value (73836) > 0-6ren">
gpt4 book ai didi

android - 无法构建应用程序错误 :Execution failed for task ':app:package "packageName"Debug'. > 值 (73836) > 0x0000ffff

转载 作者:塔克拉玛干 更新时间:2023-11-01 21:46:59 24 4
gpt4 key购买 nike

无法构建应用。

构建失败:

Error:Execution failed for task ':app:package "packageName" Debug'.> value (73836) > 0x0000ffff

项目构建成功,但添加了一行代码(Log.i())收到失败的构建消息,重新启动后(使缓存无效)按预期工作

gradle-wrapper.properites

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.12-all.zip

这是我的build.gradle文件

apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion '23.0.3'

defaultConfig {

minSdkVersion 16
targetSdkVersion 23
versionCode 1
versionName '1.0'
renderscriptTargetApi 23
renderscriptSupportModeEnabled true
multiDexEnabled true

}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

}
}


packagingOptions {
exclude 'META-INF/DEPENDENCIES.txt'
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/dependencies.txt'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/LICENSE'
exclude 'META-INF/license.txt'
exclude 'META-INF/LGPL2.1'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/notice.txt'
}
useLibrary 'org.apache.http.legacy'
}

dependencies {
compile files('libs/adobeMobileLibrary.jar')
compile 'org.twitter4j:twitter4j-core:4.0.4'
compile 'com.mcxiaoke.volley:library:1.0.19'
compile 'com.facebook.android:facebook-android-sdk:4.8.1'
compile 'com.google.code.gson:gson:2.4'
compile 'com.daimajia.swipelayout:library:1.2.0@aar'
compile 'com.android.support:design:23.2.0'
compile 'com.android.support:percent:23.2.0'
compile 'com.squareup.okhttp3:okhttp:3.0.0-RC1'
compile 'com.squareup.okio:okio:1.6.0'
}

最佳答案

androidstudio1.5 gradle 2.2.0-alpha,我遇到了这样的问题; fix gradle to 1.5.0;然后就解决了

关于android - 无法构建应用程序错误 :Execution failed for task ':app:package "packageName"Debug'. > 值 (73836) > 0x0000ffff,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37347241/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com