gpt4 book ai didi

android - 错误 :Execution failed for task ':app:buildInfoDebugLoader' in Android

转载 作者:太空狗 更新时间:2023-10-29 16:13:38 26 4
gpt4 key购买 nike

Error:Execution failed for task ':app:buildInfoDebugLoader'.

Exception while doing past iteration backup : Source G:\AndroidStudioProjects\Registrazione\app\build\intermediates\builds\debug\33974812191121\classes.dex and destination G:\AndroidStudioProjects\Registrazione\app\build\intermediates\builds\debug\33974812191121\classes.dex must be different

当我编译项目时它是这样说的,但是在它工作之后我只改变了一行代码

构建宏伟

apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion "23.0.2"

defaultConfig {
applicationId "com.example.rober.registrazione"
minSdkVersion 21
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.mcxiaoke.volley:library-aar:1.0.0'
compile 'com.android.support:design:23.1.1'
}

最佳答案

我通过构建 -> 重建项目然后再次运行解决了这个问题。

另外我认为新添加的菜单 Run -> Clean and Rerun 应该也可以解决这个问题。

关于android - 错误 :Execution failed for task ':app:buildInfoDebugLoader' in Android,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36281481/

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