安卓开发遇到Error:Execution failed for task ':app:transformClassesWithDexForDebug'.

时间:2023-12-23 19:55:31

问题如下:

Error:Execution failed for task ‘:app:transformClassesWithDexForDebug’.

com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536

解决方法 :http://blog.csdn.net/janronehoo/article/details/48053203