I have problem with running RN Android app using react-native run-android
It throws exception at the build stage and can't figure out the issue.
Execution failed for task ':react-native-firebase:transformClassesWithDexForDebugAndroidTest'.
> 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
I've tried various solutions on the web and it was all in vein. Tried solutions were enabling multiDex and increase the javaMaxHeapSize in dexOptions.
This error can be seen as a library or component dependent, but it happens for any kind of apps which exceeds 64k limits.
One more thing: It compiles without any problem in Android Studio