2017-06-19 68 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,现在已经修复。

相关问题