2017-06-19 108 views
0

我想構建我的離子應用程序,並得到以下錯誤。Ionic cordova執行失敗的任務':transformClassesWithDexForDebug'

Error: /Applications/MAMP/htdocs/ionic/newBuild/platforms/android/gradlew: Command failed with exit code 1 Error output: 
FAILURE: Build failed with an exception. 

* What went wrong: 
Execution failed for task ':transformClassesWithDexForDebug'. 
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Landroid/support/v4/app/NavUtils$NavUtilsImpl; 

有誰知道如何解決?

+0

你有答案嗎?我現在面臨類似的問題。 – Vasanth

回答

0

我發現問題是我刪除了這個文件查看器插件和這個插件所依賴的support-v4.jar,現在已經修復。

相關問題