defined multiple times
See original GitHub issueCurrent behavior
I get a error while building a release for android:
Error: /my-app/node_modules/@react-native-community/async-storage/android/build/.transforms/fc2daeb4ff0db30fd0f1f5e68862f91b/classes/classes.dex, Type com.reactnativecommunity.asyncstorage.AsyncLocalStorageUtil is defined multiple times: /my-app/node_modules/@react-native-community/async-storage/android/build/.transforms/fc2daeb4ff0db30fd0f1f5e68862f91b/classes/classes.dex, /my-app/android/app/build/intermediates/external_libs_dex/release/out/classes2.dex
Expected behavior
That I can build my release.
Repro steps
Environment
- Async Storage version: 1.11.0
- React-Native version: 0.62.2
- Platform tested: Android
- Logs/Error that are relevant:
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (2 by maintainers)
Top Results From Across the Web
Type BuildConfig is defined multiple times - Stack Overflow
i have this issue in my case : Type com.BV.LinearGradient.BuildConfig is defined multiple times: /node_modules/react-native-linear-gradient/ ...
Read more >Android Studio generating an error saying “is defined multiple ...
Android Studio generating an error saying “is defined multiple times”.
Read more >Android : Type BuildConfig is defined multiple times - YouTube
Android : Type BuildConfig is defined multiple times [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] Android : Type ...
Read more >Type com.zipow.cmmlib.AppContext$AppContextImpl$1 is ...
Type com.zipow.cmmlib.AppContext$AppContextImpl$1 is defined multiple times · Meeting SDK Android.
Read more >Android Question error b4a AnimRes is defined multiple times
Hi gives this error when outputting B4A Version: 11.50 Parsing code. (0.31s) Java Version: 8 Building folders structure.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Have you tried to clean build folders,
./gradlew clean
?`Type com.reactnativecommunity.asyncstorage.AsyncLocalStorageUtil is defined multiple times: /Users/ansh/Documents/ANSH/FitnerApp/node_modules/@react-native-community/async-storage/android/build/.transforms/a5435cadaa866449cc02394986475e6b/classes/classes.dex, /Users/ansh/Documents/ANSH/FitnerApp/android/app/build/intermediates/external_libs_dex/release/mergeExtDexRelease/classes2.dex
` i am also facing this issue when generating apk but app is running well on device in debug mode. Please tell me the solution if you have solved.? Thanks in advance.