Android Studio DexIndexOverflowException: Methoden-ID nicht in

Ich benutze Android Studio, um eine Anwendung zu entwickeln, und es tritt dieser Fehler auf, von dem ich keine Ahnung habe, wie er zu lösen ist.

com.android.dex.DexIndexOverflowException: Methoden-ID nicht 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 

Antworten auf die Frage(16)

Ihre Antwort auf die Frage