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
- Fix the Target SDK 36 Warning by Google in WebViewGold
- Fix the Google Play Billing 8 Library Warning in WebViewGold
- How to add OneSignal push notifications to your WebViewGold iOS & Android app
- How to Get 12 or 20 Google Play Store Testers easily
- Is Your WebViewGold App Ready for Google Play’s 16 KB Requirement?
- How to integrate Pushwoosh in WebView-based iOS and Android apps?
