Android Studio DexIndexOverflowException: method ID not in in
2022-08-31 15:46:34
我使用Android Studio开发应用程序,我遇到了这个错误,我不知道如何解决。
com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]
:app:lintVitalRelease
:app:prePackageMarkerForRelease
:app:transformClassesWithDexForRelease FAILED
Error:Execution failed for task ':app:transformClassesWithDexForRelease'.
> 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
Information:BUILD FAILED
Information:Total time: 34.783 secs
Information:1 error