【发布时间】:2017-07-12 05:32:24
【问题描述】:
当我在我的设备上运行时,它工作正常但是在 android studio 中构建 apk 时显示错误:
构建 APK:构建 APK 时出错。您可以在 “消息”视图
这是错误:
错误:任务执行失败 ':app:transformClassesWithDexForDebug'。 com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexIndexOverflowException: 方法 ID 不在 [0, 0xffff]: 65536
【问题讨论】:
-
什么是错误?请发布您的错误。
-
you can find the errors in the Messages view你检查过消息视图吗? -
构建 APK:构建 APK 时出错。您可以在“消息”视图中找到错误
-
从消息视图中显示错误
-
至少你需要发布一些代码和错误信息来解决你的错误。
标签: android android-gradle-plugin build.gradle