I have App written with react-native and it's work very fine previously but when I install RN async-storage. I don't change anything in native android code
I got an error when running the app.
I'm trying to remove it and rebuild my app BUT the issue still I don't know why!
I'm tried to run these command
rm -rf node_modules
npm install
then
cd android && gradlew clean
and it's building successfully without any error
but after run react-native run-android
I got
What went wrong: Execution failed for task ':app:transformDexArchiveWithDexMergerForDebug'. com.android.build.api.transform.TransformException: java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: The number of method references in a .dex file cannot exceed 64K. Learn how to resolve this issue at https://developer.android.com/tools/building/multidex.html
So how can I solve it?