我使用Android Studio开发应用程序,我遇到这个错误,我不知道如何解决.
com.android.dex.DexIndexOverflowException:方法ID不在[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
Run Code Online (Sandbox Code Playgroud) java android google-api android-studio android-gradle-plugin