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
- 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?
- Fixing “white page” CDN issues in iOS & Android WebViews with a workaround
- How do I set up RevenueCat for In-App Purchases / In-App Subscriptions in WKWebView (iOS) or WebView (Android)?
- How to use GitHub for smart upgrading of WebViewGold app template?