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
- 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 Web Authentication (WebAuthn) Login Support to Android WebView-Based App?
- Firebase registration issue / "Invalid google_app_id. Provided id: xxxxxxxxx" error
- How to prevent Non-HTTPS connections in WebViewGold for Android? | Switching usesCleartextTraffic from 'true to 'false'
- How to resolve a "SDK Location Not Found" error in Android Studio?