Just delete the “build” folder of the “app” module. Afterward, please go to the Build drop-down menu in the menu bar. You can see the Rebuild Project under the Clean Project. If you can’t find Rebuild Project, you can use Clean Project instead. More solutions for this problem can be found here: https://stackoverflow.com/questions/34803518/split-lib-main-was-defined-multiple-times/45508685
- Knowledge Base
- WebViewGold for Android
- Android Studio generating an error saying “is defined multiple times”
Article sections
Related Articles
- How to Fix the Android Studio Error: “The project is using an incompatible version (AGP X.X.X) of the Android Gradle plugin”?
- Key Metrics to Track in Your iOS & Android Apps and What They Reveal
- Monetizing Your App: Strategies for Generating Revenue
- Security and Privacy: Protecting Your Users' Data in Mobile Apps
- Solving the “Writable dex file is not allowed” Crash in Android Apps
- Google Play Target API Level 34 Requirement: What Developers Need to Know