Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29428

general approach to fix the "The number of method references in a .dex file cannot exceed 64K." issue

$
0
0

I have a ReactNative application and have no experience in android development.

Currently, I have a problem with integrating detox with my app (app compiles and works fine if just run it through react-native run-android).

I found quite a lot of similar questions, where the general advice just setting "multiDexEnabled true" in the build.gradle file, which does not work in my case.

Another advice is the "three reshaking" for dependencies, but trying that with lack of experience brought other build errors.

So Android-masters, could you share your methods about how to fix the subject in android build process?


Viewing all articles
Browse latest Browse all 29428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>