gpt4 book ai didi

Android:任务 ":app:dexDebug"执行失败

转载 作者:太空狗 更新时间:2023-10-29 16:35:25 24 4
gpt4 key购买 nike

我的 Android Studio 项目有问题,它编译正常,但我不知道我做了什么破坏了它。

Error:Execution failed for task ':app:dexDebug'. com.android.ide.common.internal.LoggedErrorException: Failed to run command: C:\Users\Moritz\AppData\Local\Android\sdk\build-tools\21.1.1\dx.bat --dex --no-optimize --output C:\Users\Moritz\AndroidStudioProjects\Expenses1\app\build\intermediates\dex\debug --input-list=C:\Users\Moritz\AndroidStudioProjects\Expenses1\app\build\intermediates\tmp\dex\debug\inputList.txt Error Code: 1

build.gradle(模块:应用程序)

compile 'com.android.support:appcompat-v7:22.0.0'
compile 'com.android.support:support-v4:22.0.0'

compile ('com.larswerkman:HoloColorPicker:1.4')
compile ('com.melnykov:floatingactionbutton:1.1.0')
compile 'net.sf.opencsv:opencsv:2.3'
compile 'com.itextpdf:itextpdf:5.0.6'
compile 'joda-time:joda-time:2.7'
compile 'com.github.m1s73r:LolliPin:v1.3'
compile 'com.github.PhilJay:MPAndroidChart:v2.0.9'
compile 'net.objecthunter:exp4j:0.4.5'
compile 'fr.avianey.com.viewpagerindicator:library:2.4.1@aar'

最佳答案

我们在 clean android sdk(android Studio bundle)上遇到了同样的问题。

尝试从项目根目录的命令行运行

./gradlew.bat clean assembleDebug

请附上日志。

也可能有助于在详细模式下运行 gradlew

关于Android:任务 ":app:dexDebug"执行失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30197802/

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