Application has stopped (Android)
See original GitHub issueI have this bug. Yesterday I was building normally. Today phonegap is compiling but when I install on Android I get this error:
03-21 15:06:10.381 10948-10948/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: myapp.com, PID: 10948
java.lang.NoSuchMethodError: No static method checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; in class Lcom/google/android/gms/common/internal/zzbq; or its super classes (declaration of 'com.google.android.gms.common.internal.zzbq' appears in /data/app/myapp.com-2/base.apk)
at com.google.android.gms.maps.MapsInitializer.initialize(Unknown Source)
at plugin.google.maps.CordovaGoogleMaps$1.run(CordovaGoogleMaps.java:209)
at android.app.Activity.runOnUiThread(Activity.java:5874)
at plugin.google.maps.CordovaGoogleMaps.initialize(CordovaGoogleMaps.java:72)
at org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:57)
at org.apache.cordova.PluginManager.getPlugin(PluginManager.java:171)
at org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:97)
at org.apache.cordova.PluginManager.init(PluginManager.java:86)
at org.apache.cordova.CordovaWebViewImpl.init(CordovaWebViewImpl.java:117)
at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:149)
at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:224)
at myapp.com.MyApp.onCreate(MyApp.java:39)
at android.app.Activity.performCreate(Activity.java:6687)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1140)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2631)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2743)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1490)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6165)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:778)
Issue Analytics
- State:
- Created 6 years ago
- Comments:28 (8 by maintainers)
Top Results From Across the Web
8 Quick Ways to Fix “Unfortunately App Has Stopped” On ...
Restart your phone · Check for low storage and RAM · Update the Android system WebView app · Ensure the affected app is...
Read more >How to Eliminate the "Unfortunately, App Has Stopped ...
Force Stop the App · Clear the App's Storage · Update App · Free Up Space · SD Card Problems · Uninstall and...
Read more >7 Ways to Fix 'Unfortunately, App Has Stopped' Error on Android
1. Restart Your Phone · 2. Force Stop the App · 3. Update the App · 4. Clear App Cache & Data ·...
Read more >Fixed “Unfortunately App Has Stopped” Error On Android [11 ...
How to Fix Unfortunately App Has Stopped Error on Android? List of Solutions: Restart Your Phone; Clear the Cache and Data; Reset the...
Read more >How to fix "unfortunately app has stopped" error on Android?
1. Clear the cache fix unfortunately app has stopped · 2. Restart the device · 3. Update the app · 4. Uninstall and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Since it seems the reason is the build configuration, and everyone are solved thier problems, I close this thread.
Adding <variable name=“PLAY_SERVICES_VERSION” value=“+” /> did the trick, it may be that 11.8.0 should change to 12.0.0 in the future.