question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Application has stopped (Android)

See original GitHub issue

I 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:closed
  • Created 6 years ago
  • Comments:28 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
wf9a5m75commented, Mar 24, 2018

Since it seems the reason is the build configuration, and everyone are solved thier problems, I close this thread.

1reaction
hackeo1commented, Mar 23, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found