Android Question ANR Play Store

MarcoRome

Expert
Licensed User
Longtime User
This error about Play Store i have in very App often:

java.lang.NoSuchMethodError
in com.google.android.gms.internal.k.f
all device that have this problem have O.S.: Android 2.2
Total 13 Error

B4X:
java.lang.NoSuchMethodError: java.io.IOException.<init>
    at com.google.android.gms.internal.k.f(Unknown Source)
    at com.google.android.gms.internal.k.b(Unknown Source)
    at com.google.android.gms.internal.i.a(Unknown Source)
    at com.google.android.gms.internal.i.a(Unknown Source)
    at com.google.android.gms.internal.bz.aB(Unknown Source)
    at com.google.android.gms.internal.ct$1.run(Unknown Source)
    at com.google.android.gms.internal.cu$1.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
    at java.lang.Thread.run(Thread.java:1096)


java.io.IOException
in android.media.MediaPlayer.prepare
O.S: Different
Total 10 Error

B4X:
java.lang.RuntimeException: Unable to start service com.queenandroid.night.clock.alarmservice@4349d380 with Intent { flg=0x4 cmp=com.queenandroid.night.clock/.alarmservice (has extras) }: java.lang.RuntimeException: java.io.IOException: Prepare failed.: status=0x1
    at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2989)
    at android.app.ActivityThread.access$2200(ActivityThread.java:173)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1400)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:136)
    at android.app.ActivityThread.main(ActivityThread.java:5579)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
    at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: java.io.IOException: Prepare failed.: status=0x1
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:200)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:158)
    at com.queenandroid.night.clock.alarmservice.handleStart(alarmservice.java:71)
    at com.queenandroid.night.clock.alarmservice.onStartCommand(alarmservice.java:53)
    at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2972)
    ... 10 more
Caused by: java.io.IOException: Prepare failed.: status=0x1
    at android.media.MediaPlayer.prepare(Native Method)
    at anywheresoftware.b4a.objects.MediaPlayerWrapper.loadAfterReset(MediaPlayerWrapper.java:97)
    at anywheresoftware.b4a.objects.MediaPlayerWrapper.Load(MediaPlayerWrapper.java:62)
    at com.queenandroid.night.clock.alarmservice._playalarm(alarmservice.java:101)
    at com.queenandroid.night.clock.alarmservice._service_start(alarmservice.java:136)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:174)
    ... 14 more

java.lang.IllegalArgumentException
in android.database.Observable.unregisterObserver
Total 1 Error

B4X:
java.lang.IllegalArgumentException: The observer is null.
    at android.database.Observable.unregisterObserver(Observable.java:59)
    at android.widget.BaseAdapter.unregisterDataSetObserver(BaseAdapter.java:42)
    at android.widget.AbsListView.onDetachedFromWindow(AbsListView.java:2816)
    at android.view.View.dispatchDetachedFromWindow(View.java:10121)
    at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:4688)
    at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:4684)
    at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:4684)
    at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:4684)
    at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:4684)
    at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:4684)
    at android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:2487)
    at android.view.ViewRootImpl.doDie(ViewRootImpl.java:4097)
    at android.view.ViewRootImpl.die(ViewRootImpl.java:4085)
    at android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:357)
    at android.view.WindowManagerImpl$CompatModeWrapper.removeViewImmediate(WindowManagerImpl.java:164)
    at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3165)
    at android.app.ActivityThread.access$1200(ActivityThread.java:128)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1194)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:137)
    at android.app.ActivityThread.main(ActivityThread.java:4517)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:995)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)
    at dalvik.system.NativeStart.main(Native Method)


Any idea ??
 
Top