Delete the BuildConfig.java file (you might need to confirm twice) and click “Build” -> “Clean Project”. 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. Try to build the app again afterward.
- Knowledge Base
- WebViewGold for Android
- Android Studio throws error: error: duplicate class: com.webviewgold.myappname public final class BuildConfig {
Article sections
Related Articles
- Solving the “Writable dex file is not allowed” Crash in Android Apps
- Google Play Target API Level 34 Requirement: What Developers Need to Know
- May 2024: WebViewGold Integrates Pushwoosh for Enhanced Mobile App Notifications – How To Use It?
- Can You Convert a Website to an App: Unlocking Mobile Potential for Your Business?
- How to Hide the Android App Links/"Deeplinking Not Configured Correctly" Warnings in Play Store for WebViewGold Users
- How to add Basic Web Authentication Login Support to Android WebView-Based App?