My android app is crashing on older devices, it crashes as soon as it press run. I cannot work out where the error is, and if I put breakpoints it appears to crash before any of them fire. Here is the logcat...
05-19 08:10:53.847 7782-7788/com.appname.appname I/dalvikvm: Debugger is active
05-19 08:10:53.851 7782-7782/com.appname.appname I/System.out: Debugger has connected
05-19 08:10:53.851 7782-7782/com.appname.appname I/System.out: waiting for debugger to settle...
05-19 08:10:54.055 7782-7782/com.appname.appname I/System.out: waiting for debugger to settle...
05-19 08:10:54.255 7782-7782/com.appname.appname I/System.out: waiting for debugger to settle...
05-19 08:10:54.455 7782-7782/com.appname.appname I/System.out: waiting for debugger to settle...
05-19 08:10:54.655 7782-7782/com.appname.appname I/System.out: waiting for debugger to settle...
05-19 08:10:54.855 7782-7782/com.appname.appname I/System.out: waiting for debugger to settle...
05-19 08:10:55.059 7782-7782/com.appname.appname I/System.out: waiting for debugger to settle...
05-19 08:10:55.259 7782-7782/com.appname.appname I/System.out: waiting for debugger to settle...
05-19 08:10:55.459 7782-7782/com.appname.appname I/System.out: debugger has settled (1419)
05-19 08:10:55.463 7782-7782/com.appname.appname W/dalvikvm: VFY: unable to resolve static field 10394 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
05-19 08:10:55.463 7782-7782/com.appname.appname D/dalvikvm: VFY: replacing opcode 0x60 at 0x0012
05-19 08:10:55.467 7782-7782/com.appname.appname I/dalvikvm: Could not find method android.app.AppOpsManager.checkPackage, referenced from method com.google.android.gms.common.zze.zzb
05-19 08:10:55.467 7782-7782/com.appname.appname W/dalvikvm: VFY: unable to resolve virtual method 134: Landroid/app/AppOpsManager;.checkPackage (ILjava/lang/String;)V
05-19 08:10:55.467 7782-7782/com.appname.appname D/dalvikvm: VFY: replacing opcode 0x6e at 0x0011
05-19 08:10:55.467 7782-7782/com.appname.appname I/dalvikvm: Could not find method android.content.pm.PackageManager.getPackageInstaller, referenced from method com.google.android.gms.common.zze.zzi
05-19 08:10:55.467 7782-7782/com.appname W/dalvikvm: VFY: unable to resolve virtual method 495: Landroid/content/pm/PackageManager;.getPackageInstaller ()Landroid/content/pm/PackageInstaller;
05-19 08:10:55.467 7782-7782/com.appname.appname D/dalvikvm: VFY: replacing opcode 0x6e at 0x000b
05-19 08:10:55.559 7782-7782/com.appname.appname I/GMPM: App measurement is starting up, version: 8487
05-19 08:10:55.559 7782-7782/com.appname.appname I/GMPM: To enable debug logging run: adb shell setprop log.tag.GMPM VERBOSE
05-19 08:10:55.567 7782-7782/com.appname.appname W/dalvikvm: VFY: unable to resolve static field 10394 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
05-19 08:10:55.567 7782-7782/com.appname.appname D/dalvikvm: VFY: replacing opcode 0x60 at 0x000c
05-19 08:10:55.567 7782-7782/com.appname.appname D/AndroidRuntime: Shutting down VM
05-19 08:10:55.567 7782-7782/com.appname.appname W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0xa4c35648)
05-19 08:10:55.571 7782-7782/com.appname.appname E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.NoClassDefFoundError: com.google.android.gms.R$string
at com.google.android.gms.measurement.zza.<init>(Unknown Source)
at com.google.android.gms.measurement.zza.zzaR(Unknown Source)
at com.google.android.gms.measurement.internal.zzn.zziJ(Unknown Source)
at com.google.android.gms.measurement.internal.zzz.zza(Unknown Source)
at com.google.android.gms.measurement.internal.zzw.<init>(Unknown Source)
at com.google.android.gms.measurement.internal.zzaa.zzDj(Unknown Source)
at com.google.android.gms.measurement.internal.zzw.zzaT(Unknown Source)
at com.google.android.gms.measurement.AppMeasurementContentProvider.onCreate(Unknown Source)
at android.content.ContentProvider.attachInfo(ContentProvider.java:1214)
at android.content.ContentProvider.attachInfo(ContentProvider.java:1189)
at android.app.ActivityThread.installProvider(ActivityThread.java:4879)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:4485)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4425)
at android.app.ActivityThread.access$1300(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Make sure you have not added google-play-services_lib project as library in Libraries (under Modules). If you have, you can go to Libraries and simply remove it. Google Play Library Should Not Appear In Libraries.
make sure you have no duplicate libraries.
For example,
If you are using SDK of Facebook it has it's own support library in it's libs folder. If you are using support library in your project then compiler throws error. Solution is, point your project and Facebook (and other modules if you have) to a (one) support library
check answer here for more details.
Related
This question already has answers here:
Can not find a View with findViewById()
(4 answers)
What is a NullPointerException, and how do I fix it?
(12 answers)
What is a stack trace, and how can I use it to debug my application errors?
(7 answers)
Closed 5 years ago.
03-30 23:49:56.536 15105-15105/? D/dalvikvm: Late-enabling CheckJNI
03-30 23:49:56.560 15105-15111/? E/jdwp: Failed writing handshake
bytes: Broken pipe (-1 of 14) 03-30 23:49:56.560 15105-15111/?
D/dalvikvm: Debugger has detached; object registry had 0 entries 03-30
23:49:56.600 15105-15105/? I/dalvikvm: Could not find method
android.view.Window$Callback.onProvideKeyboardShortcuts, referenced
from method
android.support.v7.view.WindowCallbackWrapper.onProvideKeyboardShortcuts
03-30 23:49:56.600 15105-15105/? W/dalvikvm: VFY: unable to resolve
interface method 21845:
Landroid/view/Window$Callback;.onProvideKeyboardShortcuts
(Ljava/util/List;Landroid/view/Menu;I)V 03-30 23:49:56.600
15105-15105/? D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002 03-30
23:49:56.604 15105-15105/? W/dalvikvm: VFY: unable to find class
referenced in signature (Landroid/view/SearchEvent;) 03-30
23:49:56.604 15105-15105/? I/dalvikvm: Could not find method
android.view.Window$Callback.onSearchRequested, referenced from method
android.support.v7.view.WindowCallbackWrapper.onSearchRequested 03-30
23:49:56.604 15105-15105/? W/dalvikvm: VFY: unable to resolve
interface method 21847:
Landroid/view/Window$Callback;.onSearchRequested
(Landroid/view/SearchEvent;)Z 03-30 23:49:56.604 15105-15105/?
D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002 03-30 23:49:56.604
15105-15105/? I/dalvikvm: Could not find method
android.view.Window$Callback.onWindowStartingActionMode, referenced
from method
android.support.v7.view.WindowCallbackWrapper.onWindowStartingActionMode
03-30 23:49:56.604 15105-15105/? W/dalvikvm: VFY: unable to resolve
interface method 21851:
Landroid/view/Window$Callback;.onWindowStartingActionMode
(Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode; 03-30
23:49:56.604 15105-15105/? D/dalvikvm: VFY: replacing opcode 0x72 at
0x0002 03-30 23:49:56.604 15105-15105/? I/dalvikvm: Could not find
method android.content.res.TypedArray.getChangingConfigurations,
referenced from method
android.support.v7.widget.TintTypedArray.getChangingConfigurations
03-30 23:49:56.604 15105-15105/? W/dalvikvm: VFY: unable to resolve
virtual method 502:
Landroid/content/res/TypedArray;.getChangingConfigurations ()I 03-30
23:49:56.604 15105-15105/? D/dalvikvm: VFY: replacing opcode 0x6e at
0x0002 03-30 23:49:56.604 15105-15105/? I/dalvikvm: Could not find
method android.content.res.TypedArray.getType, referenced from method
android.support.v7.widget.TintTypedArray.getType 03-30 23:49:56.604
15105-15105/? W/dalvikvm: VFY: unable to resolve virtual method 524:
Landroid/content/res/TypedArray;.getType (I)I 03-30 23:49:56.604
15105-15105/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0008 03-30
23:49:56.636 15105-15105/? I/dalvikvm: Could not find method
android.widget.FrameLayout.startActionModeForChild, referenced from
method
android.support.v7.widget.ActionBarContainer.startActionModeForChild
03-30 23:49:56.636 15105-15105/? W/dalvikvm: VFY: unable to resolve
virtual method 22329:
Landroid/widget/FrameLayout;.startActionModeForChild
(Landroid/view/View;Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
03-30 23:49:56.640 15105-15105/? D/dalvikvm: VFY: replacing opcode
0x6f at 0x0002 03-30 23:49:56.640 15105-15105/? I/dalvikvm: Could not
find method android.content.Context.getColorStateList, referenced from
method
android.support.v7.content.res.AppCompatResources.getColorStateList
03-30 23:49:56.640 15105-15105/? W/dalvikvm: VFY: unable to resolve
virtual method 315: Landroid/content/Context;.getColorStateList
(I)Landroid/content/res/ColorStateList; 03-30 23:49:56.640
15105-15105/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006 03-30
23:49:56.652 15105-15105/? I/dalvikvm: Could not find method
android.content.res.Resources.getDrawable, referenced from method
android.support.v7.widget.ResourcesWrapper.getDrawable 03-30
23:49:56.652 15105-15105/? W/dalvikvm: VFY: unable to resolve virtual
method 465: Landroid/content/res/Resources;.getDrawable
(ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
03-30 23:49:56.652 15105-15105/? D/dalvikvm: VFY: replacing opcode
0x6e at 0x0002 03-30 23:49:56.652 15105-15105/? I/dalvikvm: Could not
find method android.content.res.Resources.getDrawableForDensity,
referenced from method
android.support.v7.widget.ResourcesWrapper.getDrawableForDensity 03-30
23:49:56.652 15105-15105/? W/dalvikvm: VFY: unable to resolve virtual
method 467: Landroid/content/res/Resources;.getDrawableForDensity
(IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
03-30 23:49:56.652 15105-15105/? D/dalvikvm: VFY: replacing opcode
0x6e at 0x0002 03-30 23:49:56.660 15105-15105/? E/dalvikvm: Could not
find class 'android.graphics.drawable.RippleDrawable', referenced from
method
android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering
03-30 23:49:56.660 15105-15105/? W/dalvikvm: VFY: unable to resolve
instanceof 150 (Landroid/graphics/drawable/RippleDrawable;) in
Landroid/support/v7/widget/AppCompatImageHelper; 03-30 23:49:56.660
15105-15105/? D/dalvikvm: VFY: replacing opcode 0x20 at 0x000c 03-30
23:49:56.680 15105-15108/? D/dalvikvm: GC_CONCURRENT freed 234K, 22%
free 2639K/3364K, paused 1ms+2ms, total 9ms 03-30 23:49:56.692
15105-15105/? D/dalvikvm: GC_FOR_ALLOC freed 31K, 21% free
2676K/3364K, paused 3ms, total 3ms 03-30 23:49:56.692 15105-15105/?
I/dalvikvm-heap: Grow heap (frag case) to 3.506MB for 435468-byte
allocation 03-30 23:49:56.692 15105-15114/? D/dalvikvm: GC_FOR_ALLOC
freed 1K, 19% free 3100K/3792K, paused 3ms, total 3ms 03-30
23:49:56.700 15105-15108/? D/dalvikvm: GC_CONCURRENT freed 3K, 19%
free 3097K/3792K, paused 0ms+0ms, total 6ms 03-30 23:49:56.700
15105-15105/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 5ms 03-30
23:49:56.700 15105-15105/? I/dalvikvm-heap: Grow heap (frag case) to
3.821MB for 333408-byte allocation 03-30 23:49:56.704 15105-15114/? D/dalvikvm: GC_FOR_ALLOC freed <1K, 17% free 3422K/4120K, paused 4ms,
total 4ms 03-30 23:49:56.748 15105-15105/? D/libEGL: loaded
/system/lib/egl/libEGL_genymotion.so
[ 03-30 23:49:56.748 15105:15105 D/ ]
HostConnection::get() New Host Connection established 0xb85b25b0, tid 15105
[ 03-30 23:49:56.752 62: 62 D/ ]
Socket deconnection 03-30 23:49:56.756 15105-15105/? D/libEGL: loaded
/system/lib/egl/libGLESv1_CM_genymotion.so 03-30 23:49:56.756
15105-15105/? D/libEGL: loaded /system/lib/egl/libGLESv2_genymotion.so
03-30 23:49:56.804 15105-15105/? W/EGL_genymotion: eglSurfaceAttrib
not implemented 03-30 23:49:56.804 15105-15105/? E/OpenGLRenderer:
Getting MAX_TEXTURE_SIZE from GradienCache 03-30 23:49:56.812
15105-15105/? E/OpenGLRenderer: Getting MAX_TEXTURE_SIZE from
Caches::initConstraints() 03-30 23:49:56.812 15105-15105/?
D/OpenGLRenderer: Enabling debug mode 0 03-30 23:50:19.456
15105-15105/com.example.samsungvy277.myapp E/InputEventSender:
Exception dispatching finished signal. 03-30 23:50:19.456
15105-15105/com.example.samsungvy277.myapp E/MessageQueue-JNI:
Exception in MessageQueue callback: handleReceiveCallback 03-30
23:50:19.468 15105-15105/com.example.samsungvy277.myapp D/dalvikvm:
GC_FOR_ALLOC freed 806K, 30% free 3127K/4428K, paused 5ms, total 5ms
03-30 23:50:19.468 15105-15105/com.example.samsungvy277.myapp
E/MessageQueue-JNI: java.lang.IllegalStateException: Could not execute
method for android:onClick
at
android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:293)
at android.view.View.performClick(View.java:4240)
at android.view.View.onKeyUp(View.java:7928)
at android.widget.TextView.onKeyUp(TextView.java:5606)
at android.view.KeyEvent.dispatch(KeyEvent.java:2647)
at android.view.View.dispatchKeyEvent(View.java:7343)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at
com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchKeyEvent(PhoneWindow.java:1933)
at
com.android.internal.policy.impl.PhoneWindow.superDispatchKeyEvent(PhoneWindow.java:1408)
at android.app.Activity.dispatchKeyEvent(Activity.java:2384)
at
android.support.v7.app.AppCompatActivity.dispatchKeyEvent(AppCompatActivity.java:541)
at
android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:59)
at
android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent(AppCompatDelegateImplBase.java:319)
at
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1860)
at
android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:3791)
at
android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3774)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at
android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3483)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3406)
at
android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3540)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3406)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at
android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3516)
at
android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:3666)
at
android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:1982)
at
android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1698)
at
android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1689)
at
android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:1959)
at
android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:132)
at android.os.Looper.loop(Looper.java:124)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at an 03-30 23:50:19.468 15105-15105/com.example.samsungvy277.myapp
D/AndroidRuntime: Shutting down VM 03-30 23:50:19.472
15105-15105/com.example.samsungvy277.myapp W/dalvikvm: threadid=1:
thread exiting with uncaught exception (group=0xa4c2e648) 03-30
23:50:19.480 15105-15105/com.example.samsungvy277.myapp
E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.IllegalStateException: Could not execute method for
android:onClick
at
android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:293)
at android.view.View.performClick(View.java:4240)
at android.view.View.onKeyUp(View.java:7928)
at android.widget.TextView.onKeyUp(TextView.java:5606)
at android.view.KeyEvent.dispatch(KeyEvent.java:2647)
at android.view.View.dispatchKeyEvent(View.java:7343)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at
com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchKeyEvent(PhoneWindow.java:1933)
at
com.android.internal.policy.impl.PhoneWindow.superDispatchKeyEvent(PhoneWindow.java:1408)
at android.app.Activity.dispatchKeyEvent(Activity.java:2384)
at
android.support.v7.app.AppCompatActivity.dispatchKeyEvent(AppCompatActivity.java:541)
at
android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:59)
at
android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent(AppCompatDelegateImplBase.java:319)
at
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1860)
at
android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:3791)
at
android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3774)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at
android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3483)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3406)
at
android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3540)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3406)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at
android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3516)
at
android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:3666)
at
android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:1982)
at
android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1698)
at
android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1689)
at
android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:1959)
at
android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:132)
at android.os.Looper.loop(Looper.java:124)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Met 03-30 23:50:22.504
15105-15105/? I/Process: Sending signal. PID: 15105 SIG: 9
Use findViewById after setting your setContentView(R.layout.activity_main)
I'm trying to create a background service that runs whenever my application is closed .The purpose of this service is to connect to a nodejs server and whenever an event occurs (via socket.io) it will notify the user .
However when i start my service my app crashes and i get the following error
01-06 16:52:14.239 2304-2304/? D/dalvikvm: Late-enabling CheckJNI
01-06 16:52:14.255 2304-2310/? D/dalvikvm: Debugger has detached; object registry had 1 entries
01-06 16:52:14.267 2304-2318/? W/SharedPreferencesImpl: Attempt to read preferences file /data/data/com.esprit.redcrescentapp/shared_prefs/RedCrecent.xml without permission
01-06 16:52:14.267 2304-2304/? D/Service: Created
01-06 16:52:14.267 2304-2304/? I/dalvikvm: Could not find method io.socket.client.IO.socket, referenced from method com.esprit.redcrescentapp.SocketHandler.<init>
01-06 16:52:14.267 2304-2304/? W/dalvikvm: VFY: unable to resolve static method 63105: Lio/socket/client/IO;.socket (Ljava/lang/String;)Lio/socket/client/Socket;
01-06 16:52:14.267 2304-2304/? D/dalvikvm: VFY: replacing opcode 0x71 at 0x0005
01-06 16:52:14.267 2304-2304/? I/dalvikvm: Could not find method io.socket.client.IO.socket, referenced from method com.esprit.redcrescentapp.SocketHandler.getSocketInstance
01-06 16:52:14.267 2304-2304/? W/dalvikvm: VFY: unable to resolve static method 63105: Lio/socket/client/IO;.socket (Ljava/lang/String;)Lio/socket/client/Socket;
01-06 16:52:14.267 2304-2304/? D/dalvikvm: VFY: replacing opcode 0x71 at 0x0006
01-06 16:52:14.267 2304-2304/? D/AndroidRuntime: Shutting down VM
01-06 16:52:14.267 2304-2304/? W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0xa4d0eb20)
01-06 16:52:14.267 2304-2304/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.esprit.redcrescentapp, PID: 2304
java.lang.NoClassDefFoundError: io.socket.client.IO
at com.esprit.redcrescentapp.SocketHandler.getSocketInstance(SocketHandler.java:100)
at com.esprit.redcrescentapp.MyService.onCreate(MyService.java:74)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2558)
at android.app.ActivityThread.access$1800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
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:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
I think that this exception is thrown because of not adding MultiDex.install() in the MyService class but on the other whenever i try to add it i get another exception
01-06 17:05:43.499 7677-7677/? D/dalvikvm: Late-enabling CheckJNI
01-06 17:05:43.519 7677-7683/? D/dalvikvm: Debugger has detached; object registry had 1 entries
01-06 17:05:43.527 7677-7677/? I/MultiDex: VM with version 1.6.0 does not have multidex support
01-06 17:05:43.527 7677-7677/? I/MultiDex: install
01-06 17:05:43.527 7677-7677/? I/MultiDex: MultiDexExtractor.load(/data/app/com.esprit.redcrescentapp-2.apk, false)
01-06 17:05:43.531 7677-7690/? W/SharedPreferencesImpl: Attempt to read preferences file /data/data/com.esprit.redcrescentapp/shared_prefs/multidex.version.xml without permission
01-06 17:05:43.531 7677-7677/? I/MultiDex: Detected that extraction must be performed.
01-06 17:05:43.531 7677-7677/? E/MultiDex: Failed to create dir /data/data/com.esprit.redcrescentapp/code_cache/secondary-dexes. parent file is a dir true, a file false, exists true, readable false, writable false
01-06 17:05:43.531 7677-7677/? E/MultiDex: Multidex installation failure
java.io.IOException: Failed to create cache directory /data/data/com.esprit.redcrescentapp/code_cache/secondary-dexes
at android.support.multidex.MultiDexExtractor.mkdirChecked(MultiDexExtractor.java:301)
at android.support.multidex.MultiDexExtractor.prepareDexDir(MultiDexExtractor.java:261)
at android.support.multidex.MultiDexExtractor.performExtractions(MultiDexExtractor.java:170)
at android.support.multidex.MultiDexExtractor.load(MultiDexExtractor.java:102)
at android.support.multidex.MultiDex.install(MultiDex.java:159)
at com.esprit.redcrescentapp.MyService.attachBaseContext(MyService.java:217)
at android.app.Service.attach(Service.java:694)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2556)
at android.app.ActivityThread.access$1800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
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:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
01-06 17:05:43.531 7677-7677/? D/AndroidRuntime: Shutting down VM
01-06 17:05:43.531 7677-7677/? W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0xa4d0eb20)
01-06 17:05:43.531 7677-7677/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.esprit.redcrescentapp, PID: 7677
java.lang.RuntimeException: Unable to create service com.esprit.redcrescentapp.MyService: java.lang.RuntimeException: Multi dex installation failed (Failed to create cache directory /data/data/com.esprit.redcrescentapp/code_cache/secondary-dexes).
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2568)
at android.app.ActivityThread.access$1800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
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:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: Multi dex installation failed (Failed to create cache directory /data/data/com.esprit.redcrescentapp/code_cache/secondary-dexes).
at android.support.multidex.MultiDex.install(MultiDex.java:178)
at com.esprit.redcrescentapp.MyService.attachBaseContext(MyService.java:217)
at android.app.Service.attach(Service.java:694)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2556)
at android.app.ActivityThread.access$1800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
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:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
in my manifest i had
<service
android:enabled="true"
android:isolatedProcess="true"
/>
once i removed enabled and isolatedProcess it worked
I have implemented a GridView by following this guide.
It works perfectly.
The problems comes when I call the GridView Fragment from the NavigationDrawer.
When I push the button of the NavDrawer, the app freezes and I get these messages from the Android Monitor:
11-03 14:08:53.349 15968-15968/com.daswaretech.apps.dasware D/AndroidRuntime: Shutting down VM
11-03 14:08:53.349 15968-15968/com.daswaretech.apps.dasware W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x4208a898)
The app will stay frozen until I kill it.
Any idea?
More info:
I call the Fragment whis way:
Fragment frag = new Grid_Fragment();
getSupportFragmentManager().beginTransaction().replace(R.id.content_frame, frag).commit();
Full log:
11-03 14:24:46.389 26230-26230/? D/dalvikvm: Late-enabling CheckJNI
11-03 14:24:46.669 26230-26230/com.daswaretech.apps.dasware W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/view/SearchEvent;)
11-03 14:24:46.669 26230-26230/com.daswaretech.apps.dasware I/dalvikvm: Could not find method android.view.Window$Callback.onSearchRequested, referenced from method android.support.v7.internal.view.WindowCallbackWrapper.onSearchRequested
11-03 14:24:46.679 26230-26230/com.daswaretech.apps.dasware W/dalvikvm: VFY: unable to resolve interface method 17126: Landroid/view/Window$Callback;.onSearchRequested (Landroid/view/SearchEvent;)Z
11-03 14:24:46.679 26230-26230/com.daswaretech.apps.dasware D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
11-03 14:24:46.679 26230-26230/com.daswaretech.apps.dasware I/dalvikvm: Could not find method android.view.Window$Callback.onWindowStartingActionMode, referenced from method android.support.v7.internal.view.WindowCallbackWrapper.onWindowStartingActionMode
11-03 14:24:46.679 26230-26230/com.daswaretech.apps.dasware W/dalvikvm: VFY: unable to resolve interface method 17130: Landroid/view/Window$Callback;.onWindowStartingActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
11-03 14:24:46.679 26230-26230/com.daswaretech.apps.dasware D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
11-03 14:24:46.889 26230-26230/com.daswaretech.apps.dasware I/AMain: onResume
11-03 14:24:47.009 26230-26230/com.daswaretech.apps.dasware D/libEGL: loaded /vendor/lib/egl/libEGL_adreno.so
11-03 14:24:47.009 26230-26230/com.daswaretech.apps.dasware D/libEGL: loaded /vendor/lib/egl/libGLESv1_CM_adreno.so
11-03 14:24:47.009 26230-26230/com.daswaretech.apps.dasware D/libEGL: loaded /vendor/lib/egl/libGLESv2_adreno.so
11-03 14:24:47.129 26230-26230/com.daswaretech.apps.dasware I/Adreno-EGL: <qeglDrvAPI_eglInitialize:381>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_JB_3.2_RB2.04.03.00.129.098_msm8226_JB_3.2_RB2__release_AU ()
11-03 14:24:47.129 26230-26230/com.daswaretech.apps.dasware I/Adreno-EGL: OpenGL ES Shader Compiler Version: 20.00.08
11-03 14:24:47.129 26230-26230/com.daswaretech.apps.dasware I/Adreno-EGL: Build Date: 03/04/14 Tue
11-03 14:24:47.129 26230-26230/com.daswaretech.apps.dasware I/Adreno-EGL: Local Branch:
11-03 14:24:47.129 26230-26230/com.daswaretech.apps.dasware I/Adreno-EGL: Remote Branch: quic/jb_3.2_rb2.32
11-03 14:24:47.129 26230-26230/com.daswaretech.apps.dasware I/Adreno-EGL: Local Patches: NONE
11-03 14:24:47.129 26230-26230/com.daswaretech.apps.dasware I/Adreno-EGL: Reconstruct Branch: AU_LINUX_ANDROID_JB_3.2_RB2.04.03.00.129.098 + NOTHING
11-03 14:24:47.249 26230-26230/com.daswaretech.apps.dasware D/OpenGLRenderer: Enabling debug mode 0
11-03 14:24:47.389 26230-26230/com.daswaretech.apps.dasware I/AMain: onResume
11-03 14:24:48.909 26230-26230/com.daswaretech.apps.dasware I/dalvikvm: Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.internal.widget.TintTypedArray.getChangingConfigurations
11-03 14:24:48.909 26230-26230/com.daswaretech.apps.dasware W/dalvikvm: VFY: unable to resolve virtual method 668: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
11-03 14:24:48.909 26230-26230/com.daswaretech.apps.dasware D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
11-03 14:24:48.909 26230-26230/com.daswaretech.apps.dasware I/dalvikvm: Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.internal.widget.TintTypedArray.getType
11-03 14:24:48.909 26230-26230/com.daswaretech.apps.dasware W/dalvikvm: VFY: unable to resolve virtual method 690: Landroid/content/res/TypedArray;.getType (I)I
11-03 14:24:48.909 26230-26230/com.daswaretech.apps.dasware D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware I/dalvikvm: Could not find method android.app.Notification$Builder.setLocalOnly, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zza
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware W/dalvikvm: VFY: unable to resolve virtual method 252: Landroid/app/Notification$Builder;.setLocalOnly (Z)Landroid/app/Notification$Builder;
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware D/dalvikvm: VFY: replacing opcode 0x6e at 0x00c2
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware I/dalvikvm: Could not find method android.app.AppOpsManager.checkPackage, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zza
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware W/dalvikvm: VFY: unable to resolve virtual method 130: Landroid/app/AppOpsManager;.checkPackage (ILjava/lang/String;)V
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware D/dalvikvm: VFY: replacing opcode 0x6e at 0x0010
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware I/dalvikvm: Could not find method android.content.pm.PackageManager.getPackageInstaller, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zzh
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware W/dalvikvm: VFY: unable to resolve virtual method 593: Landroid/content/pm/PackageManager;.getPackageInstaller ()Landroid/content/pm/PackageInstaller;
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware D/dalvikvm: VFY: replacing opcode 0x6e at 0x000b
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware I/GAv4: Google Analytics 7.8.95 is starting up. To enable debug logging on a device run:
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware I/GAv4: adb shell setprop log.tag.GAv4 DEBUG
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware I/GAv4: adb logcat -s GAv4
11-03 14:24:49.039 26230-26230/com.daswaretech.apps.dasware W/GAv4: AnalyticsReceiver is not registered or is disabled. Register the receiver for reliable dispatching on non-Google Play devices. See http://goo.gl/8Rd3yj for instructions.
11-03 14:24:49.049 26230-26341/com.daswaretech.apps.dasware W/GAv4: AnalyticsService not registered in the app manifest. Hits might not be delivered reliably. See http://goo.gl/8Rd3yj for instructions.
11-03 14:24:49.049 26230-26230/com.daswaretech.apps.dasware I/AMain: connectBleService
11-03 14:24:52.819 26230-26230/com.daswaretech.apps.dasware D/AndroidRuntime: Shutting down VM
11-03 14:24:52.819 26230-26230/com.daswaretech.apps.dasware W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x4208a898)
We should be able to see the Error level exception log causing the issue.
Check if you accidentaly enabled a catch-all-exception handler:
"AndroidRuntime: Shutting down VM" with nothing else
Without a proper exception log it's too much guessing (maybe the R.id.content_frame is not defined in the XML layout?)
I'm following this tutorial to enable Parse Push Notifications.https://parse.com/tutorials/android-push-notifications
I also downloaded the code and used it in my own application. But it is causing the application to crash on start and I don't know why.
Here is my code for the Application Class:
public class Application extends android.app.Application {
public Application() {
}
#Override
public void onCreate() {
super.onCreate();
// Initialize the Parse SDK.
Parse.initialize(this, "My_APP_ID", "My_CLIENT_KEY");
// Specify an Activity to handle all pushes by default.
PushService.setDefaultPushCallback(this, MainActivity.class);
}
}
When I remove the last two lines related to Parse my application works fine. Could you please help me.
This is the logcat output:
--------- beginning of /dev/log/main
05-28 12:24:44.755 2638-2638/? D/AndroidRuntime﹕ >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
05-28 12:24:44.765 2638-2638/? D/AndroidRuntime﹕ CheckJNI is OFF
05-28 12:24:44.765 2638-2638/? D/dalvikvm﹕ Trying to load lib libjavacore.so 0x0
05-28 12:24:44.765 2638-2638/? D/dalvikvm﹕ Added shared lib libjavacore.so 0x0
05-28 12:24:44.765 2638-2638/? D/dalvikvm﹕ Trying to load lib libnativehelper.so 0x0
05-28 12:24:44.765 2638-2638/? D/dalvikvm﹕ Added shared lib libnativehelper.so 0x0
05-28 12:24:44.765 2638-2638/? D/dalvikvm﹕ No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
05-28 12:24:44.775 2638-2638/? D/dalvikvm﹕ Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods
05-28 12:24:44.845 2638-2638/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
05-28 12:24:44.845 2638-2638/? E/android.os.Debug﹕ failed to load memtrack module: -2
05-28 12:24:44.865 2638-2638/? D/AndroidRuntime﹕ Calling main entry com.android.commands.am.Am
--------- beginning of /dev/log/system
05-28 12:24:44.865 1724-1815/system_process I/ActivityManager﹕ Force stopping com.example.adla.insurancemobileapplication appid=10066 user=0: from pid 2638
05-28 12:24:44.875 2638-2638/? D/AndroidRuntime﹕ Shutting down VM
05-28 12:24:44.875 2638-2645/? D/dalvikvm﹕ Debugger has detached; object registry had 1 entries
05-28 12:24:44.875 2638-2647/? I/AndroidRuntime﹕ NOTE: attach of thread 'Binder_1' failed
05-28 12:24:44.875 2638-2646/? E/cutils-trace﹕ Error opening trace file: No such file or directory (2)
05-28 12:24:44.875 1724-1739/system_process I/ActivityManager﹕ Setting mBooting value to false, currently mBooted = true
05-28 12:24:45.135 2658-2658/? D/AndroidRuntime﹕ >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
05-28 12:24:45.135 2658-2658/? D/AndroidRuntime﹕ CheckJNI is OFF
05-28 12:24:45.145 2658-2658/? D/dalvikvm﹕ Trying to load lib libjavacore.so 0x0
05-28 12:24:45.145 2658-2658/? D/dalvikvm﹕ Added shared lib libjavacore.so 0x0
05-28 12:24:45.155 2658-2658/? D/dalvikvm﹕ Trying to load lib libnativehelper.so 0x0
05-28 12:24:45.155 2658-2658/? D/dalvikvm﹕ Added shared lib libnativehelper.so 0x0
05-28 12:24:45.155 2658-2658/? D/dalvikvm﹕ No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
05-28 12:24:45.165 2658-2658/? D/dalvikvm﹕ Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods
05-28 12:24:45.265 2658-2665/? E/cutils-trace﹕ Error opening trace file: No such file or directory (2)
05-28 12:24:45.305 2658-2658/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
05-28 12:24:45.305 2658-2658/? E/android.os.Debug﹕ failed to load memtrack module: -2
05-28 12:24:45.325 2658-2658/? D/AndroidRuntime﹕ Calling main entry com.android.commands.am.Am
05-28 12:24:45.345 1724-1735/system_process I/ActivityManager﹕ START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.example.adla.insurancemobileapplication/.MainActivity} from pid 2658
05-28 12:24:45.345 1724-1735/system_process D/ActivityManager﹕ TopActivityInfo, pkgName: com.example.adla.insurancemobileapplication activityName: com.example.adla.insurancemobileapplication.MainActivity bstSpecialAppKeyboardHandlingEnabled = false
05-28 12:24:45.345 1917-1917/com.bluestacks.appguidance D/GuidanceScreen﹕ event === app_launch
05-28 12:24:45.345 1917-1917/com.bluestacks.appguidance D/GuidanceScreen﹕ hiding guidance
05-28 12:24:45.345 1917-1917/com.bluestacks.appguidance D/GuidanceScreen﹕ hardKeyboard = 1
05-28 12:24:45.345 1917-1917/com.bluestacks.appguidance D/GuidanceScreen﹕ controllerType === DualAction
05-28 12:24:45.345 1917-1917/com.bluestacks.appguidance D/GuidanceScreen﹕ appName: InsuranceMobileApplication, currentPkg: com.example.adla.insurancemobileapplication, event: app_launch, controller: DualAction
05-28 12:24:45.345 1917-1917/com.bluestacks.appguidance D/GuidanceScreen﹕ appName: InsuranceMobileApplication
05-28 12:24:45.345 1724-1735/system_process D/ActivityManager﹕ Showing guidance for pkgName: com.example.adla.insurancemobileapplication
05-28 12:24:45.355 2658-2658/? D/AndroidRuntime﹕ Shutting down VM
05-28 12:24:45.355 2658-2665/? D/dalvikvm﹕ Debugger has detached; object registry had 1 entries
05-28 12:24:45.355 1917-1917/com.bluestacks.appguidance D/GuidanceScreen﹕ no guidance for com.example.adla.insurancemobileapplication.
05-28 12:24:45.355 2669-2669/? D/dalvikvm﹕ Late-enabling CheckJNI
05-28 12:24:45.375 2669-2675/? D/dalvikvm﹕ Debugger has detached; object registry had 1 entries
05-28 12:24:45.375 1724-1913/system_process I/ActivityManager﹕ Start proc com.example.adla.insurancemobileapplication for activity com.example.adla.insurancemobileapplication/.MainActivity: pid=2669 uid=10066 gids={50066, 3003}
05-28 12:24:45.395 2031-2031/com.bluestacks.home D/Home.AppLaunchReceiver﹕ *************************Received app launch broadcast
05-28 12:24:45.395 2031-2031/com.bluestacks.home D/Home.AppLaunchReceiver﹕ APP LAUNCH com.example.adla.insurancemobileapplication
05-28 12:24:45.435 1724-1743/system_process D/WindowManager﹕ Sending appClickStats request with data: [package=com.example.adla.insurancemobileapplication, appname=InsuranceMobileApplication, appver=1.0, clickloc=system_server]
05-28 12:24:45.455 2669-2669/? I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.internal.widget.TintTypedArray.getChangingConfigurations
05-28 12:24:45.455 2669-2669/? W/dalvikvm﹕ VFY: unable to resolve virtual method 452: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
05-28 12:24:45.455 2669-2669/? D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
05-28 12:24:45.455 2669-2669/? I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.internal.widget.TintTypedArray.getType
05-28 12:24:45.455 2669-2669/? W/dalvikvm﹕ VFY: unable to resolve virtual method 474: Landroid/content/res/TypedArray;.getType (I)I
05-28 12:24:45.455 2669-2669/? D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
05-28 12:24:45.465 2669-2669/? I/dalvikvm﹕ Could not find method android.content.res.Resources.getDrawable, referenced from method android.support.v7.internal.widget.ResourcesWrapper.getDrawable
05-28 12:24:45.465 2669-2669/? W/dalvikvm﹕ VFY: unable to resolve virtual method 415: Landroid/content/res/Resources;.getDrawable (ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
05-28 12:24:45.465 2669-2669/? D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
05-28 12:24:45.465 2669-2669/? I/dalvikvm﹕ Could not find method android.content.res.Resources.getDrawableForDensity, referenced from method android.support.v7.internal.widget.ResourcesWrapper.getDrawableForDensity
05-28 12:24:45.465 2669-2669/? W/dalvikvm﹕ VFY: unable to resolve virtual method 417: Landroid/content/res/Resources;.getDrawableForDensity (IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
05-28 12:24:45.465 2669-2669/? D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
05-28 12:24:45.465 2669-2669/? D/AndroidRuntime﹕ Shutting down VM
05-28 12:24:45.465 2669-2669/? W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x95d30b20)
05-28 12:24:45.475 2669-2669/? D/AndroidRuntime﹕ procName from cmdline: com.example.adla.insurancemobileapplication
05-28 12:24:45.475 2669-2669/? E/AndroidRuntime﹕ in writeCrashedAppName, pkgName :com.example.adla.insurancemobileapplication
05-28 12:24:45.495 2669-2672/? D/dalvikvm﹕ GC_CONCURRENT freed 324K, 18% free 3063K/3728K, paused 10ms+10ms, total 20ms
05-28 12:24:45.505 2669-2669/? D/dalvikvm﹕ WAIT_FOR_CONCURRENT_GC blocked 10ms
05-28 12:24:45.505 2669-2669/? I/Process﹕ Sending signal. PID: 2669 SIG: 9
05-28 12:24:45.505 1946-1996/com.bluestacks.BstCommandProcessor D/BstCommandProcessor-Application﹕ Application crash has been observed.
05-28 12:24:45.505 2669-2669/? D/AndroidRuntime﹕ file written successfully with content: com.example.adla.insurancemobileapplication StringBuffer : ;com.example.adla.insurancemobileapplication
05-28 12:24:45.505 2669-2669/? E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.example.adla.insurancemobileapplication, PID: 2669
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.adla.insurancemobileapplication/com.example.adla.insurancemobileapplication.MainActivity}: java.lang.IllegalStateException: `Parse#enableLocalDatastore(Context)` must be invoked before `Parse#initialize(Context)`
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5021)
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:827)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:643)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalStateException: `Parse#enableLocalDatastore(Context)` must be invoked before `Parse#initialize(Context)`
at com.parse.Parse.enableLocalDatastore(Parse.java:65)
at com.example.adla.insurancemobileapplication.MainActivity.onCreate(MainActivity.java:48)
at android.app.Activity.performCreate(Activity.java:5231)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1090)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5021)
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:827)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:643)
at dalvik.system.NativeStart.main(Native Method)
05-28 12:24:45.505 1724-1735/system_process I/ActivityManager﹕ Process com.example.adla.insurancemobileapplication (pid 2669) has died.
05-28 12:24:45.515 2689-2689/? D/dalvikvm﹕ Late-enabling CheckJNI
05-28 12:24:45.525 1724-1735/system_process I/ActivityManager﹕ Start proc com.example.adla.insurancemobileapplication for activity com.example.adla.insurancemobileapplication/.MainActivity: pid=2689 uid=10066 gids={50066, 3003}
05-28 12:24:45.635 2689-2689/? I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.internal.widget.TintTypedArray.getChangingConfigurations
05-28 12:24:45.635 2689-2689/? W/dalvikvm﹕ VFY: unable to resolve virtual method 452: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
05-28 12:24:45.635 2689-2689/? D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
05-28 12:24:45.635 2689-2689/? I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.internal.widget.TintTypedArray.getType
05-28 12:24:45.635 2689-2689/? W/dalvikvm﹕ VFY: unable to resolve virtual method 474: Landroid/content/res/TypedArray;.getType (I)I
05-28 12:24:45.635 2689-2689/? D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
05-28 12:24:45.645 2689-2692/? D/dalvikvm﹕ GC_CONCURRENT freed 454K, 20% free 3016K/3728K, paused 10ms+0ms, total 40ms
05-28 12:24:45.645 2689-2689/? I/dalvikvm﹕ Could not find method android.content.res.Resources.getDrawable, referenced from method android.support.v7.internal.widget.ResourcesWrapper.getDrawable
05-28 12:24:45.645 2689-2689/? W/dalvikvm﹕ VFY: unable to resolve virtual method 415: Landroid/content/res/Resources;.getDrawable (ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
05-28 12:24:45.645 2689-2689/? D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
05-28 12:24:45.645 2689-2689/? I/dalvikvm﹕ Could not find method android.content.res.Resources.getDrawableForDensity, referenced from method android.support.v7.internal.widget.ResourcesWrapper.getDrawableForDensity
05-28 12:24:45.645 2689-2689/? W/dalvikvm﹕ VFY: unable to resolve virtual method 417: Landroid/content/res/Resources;.getDrawableForDensity (IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
05-28 12:24:45.645 2689-2689/? D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
05-28 12:24:45.645 2689-2689/? D/AndroidRuntime﹕ Shutting down VM
05-28 12:24:45.645 2689-2689/? W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x95d30b20)
05-28 12:24:45.645 1946-1996/com.bluestacks.BstCommandProcessor D/BstCommandProcessor-Application﹕ Application crash has been observed.
05-28 12:24:45.645 2689-2689/? I/Process﹕ Sending signal. PID: 2689 SIG: 9
05-28 12:24:45.645 2689-2689/? D/AndroidRuntime﹕ procName from cmdline: com.example.adla.insurancemobileapplication
05-28 12:24:45.645 2689-2689/? E/AndroidRuntime﹕ in writeCrashedAppName, pkgName :com.example.adla.insurancemobileapplication
05-28 12:24:45.645 2689-2689/? D/AndroidRuntime﹕ file written successfully with content: com.example.adla.insurancemobileapplication StringBuffer : ;com.example.adla.insurancemobileapplication
05-28 12:24:45.645 2689-2689/? E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.example.adla.insurancemobileapplication, PID: 2689
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.adla.insurancemobileapplication/com.example.adla.insurancemobileapplication.MainActivity}: java.lang.IllegalStateException: `Parse#enableLocalDatastore(Context)` must be invoked before `Parse#initialize(Context)`
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5021)
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:827)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:643)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalStateException: `Parse#enableLocalDatastore(Context)` must be invoked before `Parse#initialize(Context)`
at com.parse.Parse.enableLocalDatastore(Parse.java:65)
at com.example.adla.insurancemobileapplication.MainActivity.onCreate(MainActivity.java:48)
at android.app.Activity.performCreate(Activity.java:5231)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1090)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5021)
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:827)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:643)
at dalvik.system.NativeStart.main(Native Method)
05-28 12:24:45.655 2727-2727/? D/dalvikvm﹕ Late-enabling CheckJNI
05-28 12:24:45.655 1724-1909/system_process I/ActivityManager﹕ Process com.example.adla.insurancemobileapplication (pid 2689) has died.
05-28 12:24:45.675 1724-1909/system_process I/ActivityManager﹕ Start proc com.example.adla.insurancemobileapplication for activity com.example.adla.insurancemobileapplication/.MainActivity: pid=2727 uid=10066 gids={50066, 3003}
05-28 12:24:45.705 2727-2727/? I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.internal.widget.TintTypedArray.getChangingConfigurations
05-28 12:24:45.705 2727-2727/? W/dalvikvm﹕ VFY: unable to resolve virtual method 452: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
05-28 12:24:45.705 2727-2727/? D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
05-28 12:24:45.705 2727-2727/? I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.internal.widget.TintTypedArray.getType
05-28 12:24:45.705 2727-2727/? W/dalvikvm﹕ VFY: unable to resolve virtual method 474: Landroid/content/res/TypedArray;.getType (I)I
05-28 12:24:45.705 2727-2727/? D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
05-28 12:24:45.725 2727-2731/? D/dalvikvm﹕ GC_CONCURRENT freed 433K, 25% free 2826K/3728K, paused 10ms+0ms, total 10ms
05-28 12:24:45.735 2727-2727/? I/dalvikvm﹕ Could not find method android.content.res.Resources.getDrawable, referenced from method android.support.v7.internal.widget.ResourcesWrapper.getDrawable
05-28 12:24:45.735 2727-2727/? W/dalvikvm﹕ VFY: unable to resolve virtual method 415: Landroid/content/res/Resources;.getDrawable (ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
05-28 12:24:45.735 2727-2727/? D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
05-28 12:24:45.735 2727-2727/? I/dalvikvm﹕ Could not find method android.content.res.Resources.getDrawableForDensity, referenced from method android.support.v7.internal.widget.ResourcesWrapper.getDrawableForDensity
05-28 12:24:45.735 2727-2727/? W/dalvikvm﹕ VFY: unable to resolve virtual method 417: Landroid/content/res/Resources;.getDrawableForDensity (IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
05-28 12:24:45.735 2727-2727/? D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
05-28 12:24:45.745 2727-2727/? D/AndroidRuntime﹕ Shutting down VM
05-28 12:24:45.745 2727-2727/? W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x95d30b20)
05-28 12:24:45.745 1946-1996/com.bluestacks.BstCommandProcessor D/BstCommandProcessor-Application﹕ Application crash has been observed.
05-28 12:24:45.745 2727-2727/? I/Process﹕ Sending signal. PID: 2727 SIG: 9
05-28 12:24:45.745 2727-2727/? D/AndroidRuntime﹕ procName from cmdline: com.example.adla.insurancemobileapplication
05-28 12:24:45.745 2727-2727/? E/AndroidRuntime﹕ in writeCrashedAppName, pkgName :com.example.adla.insurancemobileapplication
05-28 12:24:45.745 2727-2727/? D/AndroidRuntime﹕ file written successfully with content: com.example.adla.insurancemobileapplication StringBuffer : ;com.example.adla.insurancemobileapplication
05-28 12:24:45.745 2727-2727/? E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.example.adla.insurancemobileapplication, PID: 2727
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.adla.insurancemobileapplication/com.example.adla.insurancemobileapplication.MainActivity}: java.lang.IllegalStateException: `Parse#enableLocalDatastore(Context)` must be invoked before `Parse#initialize(Context)`
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5021)
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:827)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:643)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalStateException: `Parse#enableLocalDatastore(Context)` must be invoked before `Parse#initialize(Context)`
at com.parse.Parse.enableLocalDatastore(Parse.java:65)
at com.example.adla.insurancemobileapplication.MainActivity.onCreate(MainActivity.java:48)
at android.app.Activity.performCreate(Activity.java:5231)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1090)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5021)
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:827)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:643)
at dalvik.system.NativeStart.main(Native Method)
05-28 12:24:45.755 1724-1914/system_process I/ActivityManager﹕ Process com.example.adla.insurancemobileapplication (pid 2727) has died.
05-28 12:24:45.755 1724-1914/system_process W/ActivityManager﹕ Force removing ActivityRecord{4b263638 u0 com.example.adla.insurancemobileapplication/.MainActivity t11}: app died, no saved state
Caused by: java.lang.IllegalStateException:
Parse#enableLocalDatastore(Context) must be invoked before
Parse#initialize(Context)
Seems you just need to follow the advice from the exception:
#Override
public void onCreate() {
super.onCreate();
Parse.enableLocalDatastore(this);
// Initialize the Parse SDK.
Parse.initialize(this, "My_APP_ID", "My_CLIENT_KEY");
// Specify an Activity to handle all pushes by default.
PushService.setDefaultPushCallback(this, MainActivity.class);
}
I'm new to android and I noticed that everytime I run my app and look at the debug logcat, it says some methods could not be found but the app still runs fine. I'm wondering what these logs mean. for exmaple "Could not find method android.widget.PopupWindow.showAsDropDown, referenced from method android.support.v7.internal.widget.AppCompatPopupWindow.showAsDropDown"
05-19 15:56:27.032 14856-14856/? D/dalvikvm﹕ Late-enabling CheckJNI
05-19 15:56:27.524 14856-14856/app.com.example.anddroid.sunshine I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.internal.widget.TintTypedArray.getChangingConfigurations
05-19 15:56:27.524 14856-14856/app.com.example.anddroid.sunshine W/dalvikvm﹕ VFY: unable to resolve virtual method 407: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
05-19 15:56:27.528 14856-14856/app.com.example.anddroid.sunshine D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
05-19 15:56:27.556 14856-14856/app.com.example.anddroid.sunshine I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.internal.widget.TintTypedArray.getType
05-19 15:56:27.556 14856-14856/app.com.example.anddroid.sunshine W/dalvikvm﹕ VFY: unable to resolve virtual method 429: Landroid/content/res/TypedArray;.getType (I)I
05-19 15:56:27.560 14856-14856/app.com.example.anddroid.sunshine D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
05-19 15:56:27.696 14856-14856/app.com.example.anddroid.sunshine D/libEGL﹕ loaded /system/lib/egl/libEGL_genymotion.so
05-19 15:56:27.708 14856-14856/app.com.example.anddroid.sunshine D/﹕ HostConnection::get() New Host Connection established 0xb9365478, tid 14856
05-19 15:56:27.748 14856-14856/app.com.example.anddroid.sunshine D/libEGL﹕ loaded /system/lib/egl/libGLESv1_CM_genymotion.so
05-19 15:56:27.748 14856-14856/app.com.example.anddroid.sunshine D/libEGL﹕ loaded /system/lib/egl/libGLESv2_genymotion.so
05-19 15:56:27.888 14856-14856/app.com.example.anddroid.sunshine W/EGL_genymotion﹕ eglSurfaceAttrib not implemented
05-19 15:56:27.888 14856-14856/app.com.example.anddroid.sunshine E/OpenGLRenderer﹕ Getting MAX_TEXTURE_SIZE from GradienCache
05-19 15:56:27.912 14856-14856/app.com.example.anddroid.sunshine E/OpenGLRenderer﹕ Getting MAX_TEXTURE_SIZE from Caches::initConstraints()
05-19 15:56:27.912 14856-14856/app.com.example.anddroid.sunshine D/OpenGLRenderer﹕ Enabling debug mode 0
05-19 15:56:27.948 14856-14856/app.com.example.anddroid.sunshine D/dalvikvm﹕ GC_FOR_ALLOC freed 295K, 4% free 9011K/9336K, paused 11ms, total 12ms
05-19 15:56:30.160 14856-14856/app.com.example.anddroid.sunshine I/dalvikvm﹕ Could not find method android.widget.PopupWindow.showAsDropDown, referenced from method android.support.v7.internal.widget.AppCompatPopupWindow.showAsDropDown
05-19 15:56:30.160 14856-14856/app.com.example.anddroid.sunshine W/dalvikvm﹕ VFY: unable to resolve virtual method 13731: Landroid/widget/PopupWindow;.showAsDropDown (Landroid/view/View;III)V
05-19 15:56:30.164 14856-14856/app.com.example.anddroid.sunshine D/dalvikvm﹕ VFY: replacing opcode 0x6f at 0x000f
05-19 15:56:30.188 14856-14856/app.com.example.anddroid.sunshine W/dalvikvm﹕ method Landroid/support/v7/internal/widget/ListViewCompat;.lookForSelectablePosition incorrectly overrides package-private method with same name in Landroid/widget/ListView;
05-19 15:56:30.292 14856-14856/app.com.example.anddroid.sunshine W/EGL_genymotion﹕ eglSurfaceAttrib not implemented
05-19 15:56:31.400 14856-14856/app.com.example.anddroid.sunshine D/HELLO﹕ could not call 3118
05-19 15:56:43.176 14856-14856/app.com.example.anddroid.sunshine W/EGL_genymotion﹕ eglSurfaceAttrib not implemented
05-19 15:56:48.744 14856-14856/app.com.example.anddroid.sunshine W/EGL_genymotion﹕ eglSurfaceAttrib not implemented
05-19 16:01:38.676 14856-14862/app.com.example.anddroid.sunshine D/dalvikvm﹕ GC_FOR_ALLOC freed 276K, 4% free 9248K/9552K, paused 30ms, total 34ms