i want to display data in recyclerview.the problem that onResponse method is not being call.its just skip and read next line,why?.Hope you guys can help me solve this problem.
LOGCAT
09-21 07:01:21.209 25837-25837/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:01:21.481 25837-25928/com.example.user.mycustomvolley D/gralloc_ranchu: Emulator without host-side GPU emulation detected.
09-21 07:01:23.512 25837-25837/com.example.user.mycustomvolley W/System.err: com.android.volley.TimeoutError
09-21 07:01:23.512 25837-25837/com.example.user.mycustomvolley W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:147)
09-21 07:01:23.512 25837-25837/com.example.user.mycustomvolley W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)
09-21 07:01:23.626 25837-25928/com.example.user.mycustomvolley V/RenderScript: 0xa0682000 Launching thread(s), CPUs 2
09-21 07:01:27.014 25837-25928/com.example.user.mycustomvolley E/Surface: getSlotFromBufferLocked: unknown buffer: 0xa1272470
09-21 07:03:35.708 27721-27727/com.example.user.mycustomvolley I/art: Debugger is active
09-21 07:03:35.886 27721-27721/com.example.user.mycustomvolley I/System.out: Debugger has connected
09-21 07:03:35.886 27721-27721/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:03:36.088 27721-27721/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:03:36.292 27721-27721/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:03:36.506 27721-27721/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:03:36.711 27721-27721/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:03:36.914 27721-27721/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:03:37.116 27721-27721/com.example.user.mycustomvolley I/System.out: debugger has settled (1323)
09-21 07:03:37.124 27721-27721/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:03:38.937 27721-27721/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:03:39.088 27721-27721/com.example.user.mycustomvolley W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
09-21 07:03:39.342 27721-27803/com.example.user.mycustomvolley D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
09-21 07:03:39.386 27721-27803/com.example.user.mycustomvolley I/OpenGLRenderer: Initialized EGL, version 1.4
09-21 07:03:39.392 27721-27721/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:03:39.438 27721-27721/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:03:39.638 27721-27803/com.example.user.mycustomvolley D/gralloc_ranchu: Emulator without host-side GPU emulation detected.
09-21 07:03:42.079 27721-27727/com.example.user.mycustomvolley W/art: Suspending all threads took: 7.780ms
09-21 07:04:17.707 27721-27721/com.example.user.mycustomvolley W/System.err: com.android.volley.TimeoutError
09-21 07:04:17.707 27721-27721/com.example.user.mycustomvolley W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:147)
09-21 07:04:17.707 27721-27721/com.example.user.mycustomvolley W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)
09-21 07:04:17.832 27721-27803/com.example.user.mycustomvolley V/RenderScript: 0xa084c000 Launching thread(s), CPUs 2
09-21 07:04:19.007 27721-27803/com.example.user.mycustomvolley E/Surface: getSlotFromBufferLocked: unknown buffer: 0xa0cfded0
09-21 07:04:30.487 28470-28470/com.example.user.mycustomvolley W/ActivityThread: Application com.example.user.mycustomvolley is waiting for the debugger on port 8100...
09-21 07:04:30.489 28470-28470/com.example.user.mycustomvolley I/System.out: Sending WAIT chunk
09-21 07:04:30.707 28470-28476/com.example.user.mycustomvolley I/art: Debugger is active
09-21 07:04:30.891 28470-28470/com.example.user.mycustomvolley I/System.out: Debugger has connected
09-21 07:04:30.891 28470-28470/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:04:31.093 28470-28470/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:04:31.294 28470-28470/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:04:31.495 28470-28470/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:04:31.695 28470-28470/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:04:31.897 28470-28470/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:04:32.099 28470-28470/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:04:32.305 28470-28470/com.example.user.mycustomvolley I/System.out: debugger has settled (1408)
09-21 07:04:32.317 28470-28470/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:04:34.794 28470-28470/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:04:34.917 28470-28470/com.example.user.mycustomvolley W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
09-21 07:04:35.153 28470-28470/com.example.user.mycustomvolley W/art: Verification of void com.example.user.mycustomvolley.BackgroundTask.setOnCallBack(com.example.user.mycustomvolley.BackgroundTask$CallBack) took 123.946ms
09-21 07:04:35.187 28470-28565/com.example.user.mycustomvolley D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
09-21 07:04:35.219 28470-28565/com.example.user.mycustomvolley I/OpenGLRenderer: Initialized EGL, version 1.4
09-21 07:04:35.226 28470-28470/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:04:35.260 28470-28470/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:04:35.460 28470-28565/com.example.user.mycustomvolley D/gralloc_ranchu: Emulator without host-side GPU emulation detected.
09-21 07:04:55.574 28470-28476/com.example.user.mycustomvolley W/art: Suspending all threads took: 13.404ms
09-21 07:06:27.320 28470-28476/com.example.user.mycustomvolley W/art: Debugger attempted to resume all threads without having suspended them all before.
09-21 07:06:27.323 28470-28470/com.example.user.mycustomvolley W/System.err: com.android.volley.TimeoutError
09-21 07:06:27.323 28470-28470/com.example.user.mycustomvolley W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:147)
09-21 07:06:27.323 28470-28470/com.example.user.mycustomvolley W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)
09-21 07:06:41.930 30179-30179/com.example.user.mycustomvolley W/ActivityThread: Application com.example.user.mycustomvolley is waiting for the debugger on port 8100...
09-21 07:06:41.952 30179-30179/com.example.user.mycustomvolley I/System.out: Sending WAIT chunk
09-21 07:06:42.107 30179-30185/com.example.user.mycustomvolley I/art: Debugger is active
09-21 07:06:42.153 30179-30179/com.example.user.mycustomvolley I/System.out: Debugger has connected
09-21 07:06:42.153 30179-30179/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:06:42.353 30179-30179/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:06:42.553 30179-30179/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:06:42.755 30179-30179/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:06:42.965 30179-30179/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:06:43.166 30179-30179/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:06:43.369 30179-30179/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:06:43.571 30179-30179/com.example.user.mycustomvolley I/System.out: debugger has settled (1342)
09-21 07:06:43.584 30179-30179/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:06:45.336 30179-30179/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:06:45.464 30179-30179/com.example.user.mycustomvolley W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
09-21 07:06:45.696 30179-30260/com.example.user.mycustomvolley D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
09-21 07:06:45.751 30179-30260/com.example.user.mycustomvolley I/OpenGLRenderer: Initialized EGL, version 1.4
09-21 07:06:45.764 30179-30179/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:06:45.816 30179-30179/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:06:46.013 30179-30260/com.example.user.mycustomvolley D/gralloc_ranchu: Emulator without host-side GPU emulation detected.
09-21 07:06:48.244 30179-30179/com.example.user.mycustomvolley W/System.err: com.android.volley.TimeoutError
09-21 07:06:48.244 30179-30179/com.example.user.mycustomvolley W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:147)
09-21 07:06:48.244 30179-30179/com.example.user.mycustomvolley W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)
09-21 07:06:48.347 30179-30260/com.example.user.mycustomvolley V/RenderScript: 0xa083e000 Launching thread(s), CPUs 2
09-21 07:06:51.745 30179-30260/com.example.user.mycustomvolley E/Surface: getSlotFromBufferLocked: unknown buffer: 0xa0852850
09-21 07:07:14.345 30626-30626/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:07:17.156 30626-30626/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:07:17.250 30626-30626/com.example.user.mycustomvolley W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
09-21 07:07:17.388 30626-30700/com.example.user.mycustomvolley D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
09-21 07:07:17.422 30626-30700/com.example.user.mycustomvolley I/OpenGLRenderer: Initialized EGL, version 1.4
09-21 07:07:17.425 30626-30626/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:07:17.445 30626-30626/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:07:17.677 30626-30700/com.example.user.mycustomvolley D/gralloc_ranchu: Emulator without host-side GPU emulation detected.
09-21 07:07:19.939 30626-30626/com.example.user.mycustomvolley W/System.err: com.android.volley.TimeoutError
09-21 07:07:19.940 30626-30626/com.example.user.mycustomvolley W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:147)
09-21 07:07:19.940 30626-30626/com.example.user.mycustomvolley W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)
09-21 07:07:20.135 30626-30700/com.example.user.mycustomvolley V/RenderScript: 0xa0746000 Launching thread(s), CPUs 2
09-21 07:07:23.445 30626-30700/com.example.user.mycustomvolley E/Surface: getSlotFromBufferLocked: unknown buffer: 0xa05b8850
09-21 07:07:36.733 30939-30939/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:07:36.837 30939-30939/com.example.user.mycustomvolley W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
09-21 07:07:36.955 30939-30998/com.example.user.mycustomvolley D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
09-21 07:07:36.988 30939-30998/com.example.user.mycustomvolley I/OpenGLRenderer: Initialized EGL, version 1.4
09-21 07:07:36.991 30939-30939/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:07:37.014 30939-30939/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:07:37.211 30939-30998/com.example.user.mycustomvolley D/gralloc_ranchu: Emulator without host-side GPU emulation detected.
09-21 07:07:39.506 30939-30939/com.example.user.mycustomvolley W/System.err: com.android.volley.TimeoutError
09-21 07:07:39.506 30939-30939/com.example.user.mycustomvolley W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:147)
09-21 07:07:39.506 30939-30939/com.example.user.mycustomvolley W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)
09-21 07:07:39.675 30939-30998/com.example.user.mycustomvolley V/RenderScript: 0xa0848000 Launching thread(s), CPUs 2
09-21 07:07:43.022 30939-30998/com.example.user.mycustomvolley E/Surface: getSlotFromBufferLocked: unknown buffer: 0xa08b7580
09-21 07:08:23.919 31595-31595/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:08:24.056 31595-31595/com.example.user.mycustomvolley W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
09-21 07:08:24.192 31595-31635/com.example.user.mycustomvolley D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
09-21 07:08:24.237 31595-31635/com.example.user.mycustomvolley I/OpenGLRenderer: Initialized EGL, version 1.4
09-21 07:08:24.244 31595-31595/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:08:24.272 31595-31595/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:08:24.482 31595-31635/com.example.user.mycustomvolley D/gralloc_ranchu: Emulator without host-side GPU emulation detected.
09-21 07:08:26.726 31595-31595/com.example.user.mycustomvolley W/System.err: com.android.volley.TimeoutError
09-21 07:08:26.726 31595-31595/com.example.user.mycustomvolley W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:147)
09-21 07:08:26.726 31595-31595/com.example.user.mycustomvolley W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)
09-21 07:08:26.910 31595-31635/com.example.user.mycustomvolley V/RenderScript: 0xa0855000 Launching thread(s), CPUs 2
09-21 07:08:30.241 31595-31635/com.example.user.mycustomvolley E/Surface: getSlotFromBufferLocked: unknown buffer: 0xa0cc74f0
09-21 07:09:14.253 32308-32308/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:09:15.592 32308-32308/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:09:15.706 32308-32308/com.example.user.mycustomvolley W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
09-21 07:09:15.835 32308-32358/com.example.user.mycustomvolley D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
09-21 07:09:15.870 32308-32358/com.example.user.mycustomvolley I/OpenGLRenderer: Initialized EGL, version 1.4
09-21 07:09:15.876 32308-32308/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:09:15.896 32308-32308/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:09:16.108 32308-32358/com.example.user.mycustomvolley D/gralloc_ranchu: Emulator without host-side GPU emulation detected.
09-21 07:09:18.372 32308-32308/com.example.user.mycustomvolley W/System.err: com.android.volley.TimeoutError
09-21 07:09:18.372 32308-32308/com.example.user.mycustomvolley W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:147)
09-21 07:09:18.372 32308-32308/com.example.user.mycustomvolley W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)
09-21 07:09:18.508 32308-32358/com.example.user.mycustomvolley V/RenderScript: 0xa0847000 Launching thread(s), CPUs 2
09-21 07:09:21.877 32308-32358/com.example.user.mycustomvolley E/Surface: getSlotFromBufferLocked: unknown buffer: 0xa19aaff0
09-21 07:10:40.450 32308-32314/com.example.user.mycustomvolley W/art: Suspending all threads took: 12.822ms
09-21 07:12:12.869 2811-2811/com.example.user.mycustomvolley W/ActivityThread: Application com.example.user.mycustomvolley is waiting for the debugger on port 8100...
09-21 07:12:12.876 2811-2811/com.example.user.mycustomvolley I/System.out: Sending WAIT chunk
09-21 07:12:13.053 2811-2817/com.example.user.mycustomvolley I/art: Debugger is active
09-21 07:12:13.080 2811-2811/com.example.user.mycustomvolley I/System.out: Debugger has connected
09-21 07:12:13.080 2811-2811/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:12:13.281 2811-2811/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:12:13.481 2811-2811/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:12:13.682 2811-2811/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:12:13.892 2811-2811/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:12:14.093 2811-2811/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:12:14.294 2811-2811/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:12:14.496 2811-2811/com.example.user.mycustomvolley I/System.out: debugger has settled (1302)
09-21 07:12:14.502 2811-2811/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:12:16.054 2811-2811/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:12:16.315 2811-2811/com.example.user.mycustomvolley W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
09-21 07:22:04.091 10870-10870/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:22:04.193 10870-10870/com.example.user.mycustomvolley W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
09-21 07:22:04.312 10870-10917/com.example.user.mycustomvolley D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
09-21 07:22:04.353 10870-10917/com.example.user.mycustomvolley I/OpenGLRenderer: Initialized EGL, version 1.4
09-21 07:22:04.360 10870-10870/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:22:04.386 10870-10870/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:22:04.592 10870-10917/com.example.user.mycustomvolley D/gralloc_ranchu: Emulator without host-side GPU emulation detected.
09-21 07:22:06.848 10870-10870/com.example.user.mycustomvolley W/System.err: com.android.volley.TimeoutError
09-21 07:22:06.848 10870-10870/com.example.user.mycustomvolley W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:147)
09-21 07:22:06.848 10870-10870/com.example.user.mycustomvolley W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)
09-21 07:22:06.988 10870-10917/com.example.user.mycustomvolley V/RenderScript: 0xa0c18000 Launching thread(s), CPUs 2
09-21 07:22:10.354 10870-10917/com.example.user.mycustomvolley E/Surface: getSlotFromBufferLocked: unknown buffer: 0xa0c4afb0
09-21 07:22:46.875 11460-11460/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:22:47.044 11460-11460/com.example.user.mycustomvolley W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
09-21 07:22:47.173 11460-11518/com.example.user.mycustomvolley D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
09-21 07:22:47.218 11460-11518/com.example.user.mycustomvolley I/OpenGLRenderer: Initialized EGL, version 1.4
09-21 07:22:47.233 11460-11460/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:22:47.278 11460-11460/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:22:47.483 11460-11518/com.example.user.mycustomvolley D/gralloc_ranchu: Emulator without host-side GPU emulation detected.
09-21 07:22:49.725 11460-11460/com.example.user.mycustomvolley W/System.err: com.android.volley.TimeoutError
09-21 07:22:49.725 11460-11460/com.example.user.mycustomvolley W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:147)
09-21 07:22:49.725 11460-11460/com.example.user.mycustomvolley W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)
09-21 07:22:49.866 11460-11518/com.example.user.mycustomvolley V/RenderScript: 0xa077e000 Launching thread(s), CPUs 2
09-21 07:22:53.233 11460-11518/com.example.user.mycustomvolley E/Surface: getSlotFromBufferLocked: unknown buffer: 0xa0bd5fe0
MainActivity.java
package com.example.user.mycustomvolley;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import java.util.ArrayList;
public class MainActivity extends AppCompatActivity {
RecyclerView recyclerView;
RecyclerView.Adapter adapter;
RecyclerView.LayoutManager layoutManager;
#Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
recyclerView = (RecyclerView) findViewById(R.id.recyclerview);
recyclerView.setHasFixedSize(true);
layoutManager = new LinearLayoutManager(this);
recyclerView.setLayoutManager(layoutManager);
BackgroundTask backgroundTask = new BackgroundTask(MainActivity.this);
backgroundTask.setOnCallBack(new BackgroundTask.CallBack() {
#Override
public void onSuccess(ArrayList<ArtInformation> artInformations) {
adapter = new RecyclerAdapter(artInformations,MainActivity.this);
recyclerView.setAdapter(adapter);
}
#Override
public void onfailed(String msg) {
}
});
}
}
Background.Task.java
package com.example.user.mycustomvolley;
import android.app.ProgressDialog;
import android.content.Context;
import android.telecom.Call;
import android.util.Log;
import android.widget.Toast;
import com.android.volley.DefaultRetryPolicy;
import com.android.volley.Request;
import com.android.volley.Response;
import com.android.volley.RetryPolicy;
import com.android.volley.VolleyError;
import com.android.volley.toolbox.JsonArrayRequest;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
/**
* Created by User on 9/17/2016.
*/
public class BackgroundTask {
Context context;
ArrayList<ArtInformation> arrayList = new ArrayList<>();
private static final String json_url = "http://192.168.1.7/volley/imagetext/getData.php";
public BackgroundTask(Context context){
this.context = context;
}
public void setOnCallBack(final CallBack onCallBack){
//make json request.
JsonArrayRequest jsonArrayRequest = new JsonArrayRequest(Request.Method.POST,json_url,(String) null, new Response.Listener<JSONArray>() {
#Override
public void onResponse(JSONArray response) {
int count = 0;
while (count < response.length()) {
try {
JSONObject jsonObject = response.getJSONObject(count);
ArtInformation artInformation = new ArtInformation(jsonObject.getString("art"),jsonObject.getString("image"));
arrayList.add(artInformation);
count++;
} catch (JSONException ex) {
ex.printStackTrace();
}
}
onCallBack.onSuccess(arrayList);
}
}, new Response.ErrorListener() {
#Override
public void onErrorResponse(VolleyError error) {
Toast.makeText(context,"Error:[JSON Process",Toast.LENGTH_LONG).show();
//progressDialog.hide();
Log.d("Check:","-->"+error.getMessage());
}
});
MySingleton.getmInstances(context).addToRequestQueue(jsonArrayRequest);
}
public interface CallBack{
void onSuccess(ArrayList<ArtInformation> artInformations);
void onfailed(String msg);
}
}
Volley is sending request to your server but is not connecting due to some reason and time out occur. As u can see following lines is your logcat
09-21 07:22:06.848 10870-10870/com.example.user.mycustomvolley W/System.err: com.android.volley.TimeoutError
09-21 07:22:06.848 10870-10870/com.example.user.mycustomvolley W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:147)
09-21 07:22:06.848 10870-10870/com.example.user.mycustomvolley W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114).
Please try with the followings
Check your request URL
Make sure your internet is working
Your android device and server must be on same network(if trying to connect local server ).
Related
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.
Following is development environment
compileSdkVersion 22 buildToolsVersion "22.0.1"
defaultConfig {
applicationId "techsys.service.app.serverhostapp"
minSdkVersion 15
targetSdkVersion 22
versionCode 1
versionName "1.0" }
Created one android library which has sticky service, this library is included in one android application. This Service which is inside library is declared in application manifest file as
<service
android:name="techsys.service.app.appserver.uniqueservice"
android:enabled="true"
android:exported="true"
>
</service>
This service is started in application like
context.bindService(new Intent(context, uniqueservice.class), conn, Context.BIND_AUTO_CREATE);
This service aidl interface file is included in application with library package folder path.
Compilation and build successful but looks like some fundamental problem.
Note : If service is included without library then it works good.
This gives following error :-
05-18 17:27:52.900 27195-27195/techsys.service.app.serverhostapp D/MainActivity: onCreate
05-18 17:27:52.900 27195-27195/techsys.service.app.serverhostapp D/MainActivity: uniqueuservice bindService()
05-18 17:27:52.900 27195-27195/techsys.service.app.serverhostapp D/MainActivity: bind uniqueuservice Service
05-18 17:27:52.954 27195-27195/techsys.service.app.serverhostapp D/MainActivity: onStart
05-18 17:27:52.955 27195-27195/techsys.service.app.serverhostapp D/AppTracker: App Event: start
05-18 17:27:52.987 27195-27195/techsys.service.app.serverhostapp D/AbstractTracker: Event success
05-18 17:27:52.988 27195-27195/techsys.service.app.serverhostapp D/ThreadedRenderer: mThreadGroupCpuId 3 mRenderThreadCpuId 0 affinity
05-18 17:27:52.994 27195-27195/techsys.service.app.serverhostapp I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy#3d0c23f6 time:8758912
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: Incompatible structural change detected: Structural change of techsys.service.app.appserver.Iuniqueservice$Stub is hazardous (/data/data/techsys.service.app.serverhostapp/cache/slice-exploded-aar-appserver-debug_e627187da9024749a2416db2406342c5fa9d214e-classes.dex at compile time, /data/data/techsys.service.app.serverhostapp/cache/slice-slice_9-classes.dex at runtime): Direct method count off: 2 vs 4
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: Ltechsys/service/app/appserver/Iuniqueservice$Stub; (Compile time):
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: Static fields:
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: Ljava/lang/String; DESCRIPTOR
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: I TRANSACTION_multiple
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: Instance fields:
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: Direct methods:
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: <init>()V
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: asInterface(Landroid/os/IBinder;)Ltechsys/service/app/appserver/Iuniqueservice;
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: Virtual methods:
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: asBinder()Landroid/os/IBinder;
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: Ltechsys/service/app/appserver/Iuniqueservice$Stub; (Runtime):
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: Static fields:
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: Lcom/android/tools/fd/runtime/IncrementalChange; $change
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: Ljava/lang/String; DESCRIPTOR
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: I TRANSACTION_multiple
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: Instance fields:
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: Direct methods:
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: <init>()V
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: <init>([Ljava/lang/Object;Lcom/android/tools/fd/runtime/InstantReloadException;)V
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: access$super(Ltechsys/service/app/appserver/Iuniqueservice$Stub;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: asInterface(Landroid/os/IBinder;)Ltechsys/service/app/appserver/Iuniqueservice;
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: Virtual methods:
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: asBinder()Landroid/os/IBinder;
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote W/art: onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
05-18 17:27:53.020 27762-27762/techsys.service.app.serverhostapp:remote D/AndroidRuntime: Shutting down VM
--------- beginning of crash
05-18 17:27:53.021 27762-27762/techsys.service.app.serverhostapp:remote E/AndroidRuntime: FATAL EXCEPTION: main
Process: techsys.service.app.serverhostapp:remote, PID: 27762
java.lang.IncompatibleClassChangeError: Structural change of techsys.service.app.appserver.Iuniqueservice$Stub is hazardous (/data/data/techsys.service.app.serverhostapp/cache/slice-exploded-aar-appserver-debug_e627187da9024749a2416db2406342c5fa9d214e-classes.dex at compile time, /data/data/techsys.service.app.serverhostapp/cache/slice-slice_9-classes.dex at runtime): Direct method count off: 2 vs 4
Ltechsys/service/app/appserver/Iuniqueservice$Stub; (Compile time):
Static fields:
Ljava/lang/String; DESCRIPTOR
I TRANSACTION_multiple
Instance fields:
Direct methods:
<init>()V
asInterface(Landroid/os/IBinder;)Ltechsys/service/app/appserver/Iuniqueservice;
Virtual methods:
asBinder()Landroid/os/IBinder;
onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
Ltechsys/service/app/appserver/Iuniqueservice$Stub; (Runtime):
Static fields:
Lcom/android/tools/fd/runtime/IncrementalChange; $change
Ljava/lang/String; DESCRIPTOR
I TRANSACTION_multiple
Instance fields:
Direct methods:
<init>()V
<init>([Ljava/lang/Object;Lcom/android/tools/fd/runtime/InstantReloadException;)V
access$super(Ltechsys/service/app/appserver/Iuniqueservice$Stub;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
asInterface(Landroid/os/IBinder;)Ltechsys/service/app/appserver/Iuniqueservice;
Virtual methods:
asBinder()Landroid/os/IBinder;
onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
(declaration of 'techsys.service.app.appserver.uniqueservice$1' appears in /data/data/techsys.service.app.serverhostapp/files/instant-run/dex/slice-exploded-aar-appserver-debug_e627187da9024749a2416db2406342c5fa9d214e-classes.dex)
at dalvik.system.DexFile.defineClassNative(Native Method)
at dalvik.system.DexFile.defineClass(DexFile.java:226)
at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:219)
at dalvik.system.DexPathList.findClass(DexPathList.java:321)
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)
at com.android.tools.fd.runtime.IncrementalClassLoader$DelegateClassLoader.findClass(IncrementalClassLoader.java:90)
at com.android.tools.fd.runtime.IncrementalClassLoader.findClass(IncrementalClassLoader.java:62)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
at techsys.service.app.appserver.uniqueservice.<init>(uniqueservice.java:13)
at java.lang.reflect.Constructor.newInstance(Native Method)
at java.lang.Class.newInstance(Class.java:1606)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2780)
at android.app.ActivityThread.access$1900(ActivityThread.java:155)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1406)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:139)
at android.app.ActivityThread.main(ActivityThread.java:5298)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:950)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745)
05-18 17:27:53.024 27762-27762/techsys.service.app.serverhostapp:remote D/AppTracker: App Event: crash
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: Incompatible structural change detected: Structural change of techsys.service.app.appserver.Iuniqueservice$Stub is hazardous (/data/data/techsys.service.app.serverhostapp/cache/slice-exploded-aar-appserver-debug_e627187da9024749a2416db2406342c5fa9d214e-classes.dex at compile time, /data/data/techsys.service.app.serverhostapp/cache/slice-slice_9-classes.dex at runtime): Direct method count off: 2 vs 4
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: Ltechsys/service/app/appserver/Iuniqueservice$Stub; (Compile time):
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: Static fields:
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: Ljava/lang/String; DESCRIPTOR
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: I TRANSACTION_multiple
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: Instance fields:
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: Direct methods:
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: <init>()V
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: asInterface(Landroid/os/IBinder;)Ltechsys/service/app/appserver/Iuniqueservice;
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: Virtual methods:
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: asBinder()Landroid/os/IBinder;
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: Ltechsys/service/app/appserver/Iuniqueservice$Stub; (Runtime):
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: Static fields:
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: Lcom/android/tools/fd/runtime/IncrementalChange; $change
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: Ljava/lang/String; DESCRIPTOR
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: I TRANSACTION_multiple
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: Instance fields:
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: Direct methods:
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: <init>()V
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: <init>([Ljava/lang/Object;Lcom/android/tools/fd/runtime/InstantReloadException;)V
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: access$super(Ltechsys/service/app/appserver/Iuniqueservice$Stub;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: asInterface(Landroid/os/IBinder;)Ltechsys/service/app/appserver/Iuniqueservice;
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: Virtual methods:
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: asBinder()Landroid/os/IBinder;
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote W/art: onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
05-18 17:27:54.164 27803-27803/techsys.service.app.serverhostapp:remote D/AndroidRuntime: Shutting down VM
05-18 17:27:54.166 27803-27803/techsys.service.app.serverhostapp:remote E/AndroidRuntime: FATAL EXCEPTION: main
Process: techsys.service.app.serverhostapp:remote, PID: 27803
java.lang.IncompatibleClassChangeError: Structural change of techsys.service.app.appserver.Iuniqueservice$Stub is hazardous (/data/data/techsys.service.app.serverhostapp/cache/slice-exploded-aar-appserver-debug_e627187da9024749a2416db2406342c5fa9d214e-classes.dex at compile time, /data/data/techsys.service.app.serverhostapp/cache/slice-slice_9-classes.dex at runtime): Direct method count off: 2 vs 4
Ltechsys/service/app/appserver/Iuniqueservice$Stub; (Compile time):
Static fields:
Ljava/lang/String; DESCRIPTOR
I TRANSACTION_multiple
Instance fields:
Direct methods:
<init>()V
asInterface(Landroid/os/IBinder;)Ltechsys/service/app/appserver/Iuniqueservice;
Virtual methods:
asBinder()Landroid/os/IBinder;
onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
Ltechsys/service/app/appserver/Iuniqueservice$Stub; (Runtime):
Static fields:
Lcom/android/tools/fd/runtime/IncrementalChange; $change
Ljava/lang/String; DESCRIPTOR
I TRANSACTION_multiple
Instance fields:
Direct methods:
<init>()V
<init>([Ljava/lang/Object;Lcom/android/tools/fd/runtime/InstantReloadException;)V
access$super(Ltechsys/service/app/appserver/Iuniqueservice$Stub;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
asInterface(Landroid/os/IBinder;)Ltechsys/service/app/appserver/Iuniqueservice;
Virtual methods:
asBinder()Landroid/os/IBinder;
onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
(declaration of 'techsys.service.app.appserver.uniqueservice$1' appears in /data/data/techsys.service.app.serverhostapp/files/instant-run/dex/slice-exploded-aar-appserver-debug_e627187da9024749a2416db2406342c5fa9d214e-classes.dex)
at dalvik.system.DexFile.defineClassNative(Native Method)
at dalvik.system.DexFile.defineClass(DexFile.java:226)
at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:219)
at dalvik.system.DexPathList.findClass(DexPathList.java:321)
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)
at com.android.tools.fd.runtime.IncrementalClassLoader$DelegateClassLoader.findClass(IncrementalClassLoader.java:90)
at com.android.tools.fd.runtime.IncrementalClassLoader.findClass(IncrementalClassLoader.java:62)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
at techsys.service.app.appserver.uniqueservice.<init>(uniqueservice.java:13)
at java.lang.reflect.Constructor.newInstance(Native Method)
at java.lang.Class.newInstance(Class.java:1606)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2780)
at android.app.ActivityThread.access$1900(ActivityThread.java:155)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1406)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:139)
at android.app.ActivityThread.main(ActivityThread.java:5298)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:950)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745)
05-18 17:27:54.169 27803-27803/techsys.service.app.serverhostapp:remote D/AppTracker: App Event: crash
Service in library and it is binded or started by application like
context.bindService(new Intent(context, uniqueservice.class), conn, Context.BIND_AUTO_CREATE);
Then it should be directly linked no need add aidl interface that was causing problem.
Once aidl interface is removed then it started cleanly, and If any other third party application want to bind then they can include aidl interface and bind service.
only need to update process as :remote in host or main application manifest file like
<service
android:name="techsys.service.app.appserver.uniqueservice"
android:enabled="true"
android:exported="true"
android:process=":remote"
>
</service>
I need to experiment with the Google Play Games C++ SDK Samples for Android.
Running it from an emulator fails to sign in requesting to install the Google Play Games... which requires to be done manually, as I understand...
Running it from the Samsung Samsung Galaxy Note 10.1 GT-N8010 executing Android 4.1.2, the Button Clicker application fails at launch with the following error:
Cannot load library: load_library[1094]: Library
'ButtonClickerNativeActivity' not found
Note: This error does not show up when I run it from the emulator.
I don't understand why this fails and how to fix or work around this failure.
The sample loads the so this way:
public class ButtonClickerNativeActivity extends NativeActivity {
// Load SO
static {
System.load("libButtonClickerNativeActivity.so");
}
I confirm the package (ButtonClicker-debug.apk) contains the library in lib folder for armeabi, armeabi-v7a and x86.
Here is the logcat listing of the app start up:
01-28 15:18:44.885 31258-31258/? D/dalvikvm: Late-enabling CheckJNI
01-28 15:18:44.900 31258-31264/? E/jdwp: Failed sending reply to debugger: Broken pipe
01-28 15:18:44.900 31258-31264/? D/dalvikvm: Debugger has detached; object registry had 1 entries
01-28 15:18:44.945 31258-31258/? W/ActivityThread: Application com.google.example.games.ButtonClicker is waiting for the debugger on port 8100...
01-28 15:18:44.960 31258-31258/? I/System.out: Sending WAIT chunk
01-28 15:18:45.915 31258-31264/com.google.example.games.ButtonClicker I/dalvikvm: Debugger is active
01-28 15:18:45.965 31258-31258/com.google.example.games.ButtonClicker I/System.out: Debugger has connected
01-28 15:18:45.965 31258-31258/com.google.example.games.ButtonClicker I/System.out: waiting for debugger to settle...
01-28 15:18:46.165 31258-31258/com.google.example.games.ButtonClicker I/System.out: waiting for debugger to settle...
01-28 15:18:46.365 31258-31258/com.google.example.games.ButtonClicker I/System.out: waiting for debugger to settle...
01-28 15:18:46.565 31258-31258/com.google.example.games.ButtonClicker I/System.out: waiting for debugger to settle...
01-28 15:18:46.765 31258-31258/com.google.example.games.ButtonClicker I/System.out: waiting for debugger to settle...
01-28 15:18:46.965 31258-31258/com.google.example.games.ButtonClicker I/System.out: waiting for debugger to settle...
01-28 15:18:47.170 31258-31258/com.google.example.games.ButtonClicker I/System.out: waiting for debugger to settle...
01-28 15:18:47.370 31258-31258/com.google.example.games.ButtonClicker I/System.out: debugger has settled (1325)
01-28 15:18:47.510 31258-31258/com.google.example.games.ButtonClicker D/dalvikvm: Trying to load lib ButtonClickerNativeActivity 0x423b2428
01-28 15:18:47.515 31258-31258/com.google.example.games.ButtonClicker W/dalvikvm: Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/google/example/games/ButtonClicker/ButtonClickerNativeActivity;
01-28 15:18:47.515 31258-31258/com.google.example.games.ButtonClicker W/dalvikvm: Class init failed in newInstance call (Lcom/google/example/games/ButtonClicker/ButtonClickerNativeActivity;)
01-28 15:18:47.515 31258-31258/com.google.example.games.ButtonClicker D/AndroidRuntime: Shutting down VM
01-28 15:18:47.515 31258-31258/com.google.example.games.ButtonClicker W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x41c3d2a0)
01-28 15:18:47.525 31258-31258/com.google.example.games.ButtonClicker E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.ExceptionInInitializerError
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1319)
at android.app.Instrumentation.newActivity(Instrumentation.java:1068)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2025)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135)
at android.app.ActivityThread.access$700(ActivityThread.java:140)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4921)
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:1038)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.UnsatisfiedLinkError: Cannot load library: load_library[1094]: Library 'ButtonClickerNativeActivity' not found
at java.lang.Runtime.load(Runtime.java:340)
at java.lang.System.load(System.java:521)
at com.google.example.games.ButtonClicker.ButtonClickerNativeActivity.(ButtonClickerNativeActivity.java:29)
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1319)
at android.app.Instrumentation.newActivity(Instrumentation.java:1068)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2025)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135)
at android.app.ActivityThread.access$700(ActivityThread.java:140)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4921)
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:1038)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
at dalvik.system.NativeStart.main(Native Method)
01-28 15:18:58.720 31258-31258/? I/Process: Sending signal. PID: 31258 SIG: 9
I changed the following line in the sample code (ButtonClickerNativeActivity.java) and the application launched on the Samsung device without the exception.
public class ButtonClickerNativeActivity extends NativeActivity {
// Load SO
static {
//System.load("libButtonClickerNativeActivity.so");
System.loadLibrary("ButtonClickerNativeActivity");
}
Hey everyone I'm new to android programming so this should be pretty basic.
No matter what I do the android emulator crashes. To show how little it takes for this to happen, I've opened a new project called MyApplication, added a button to my xml file, and ran the button. After I run this button I get "Unfortunately MyApplication has stopped" When it should just allow me to click constantly. Ive already tried changing the ram, making sure the emulator is on host GPU, and making sure i opened a brand new application while changing no defaults and adding nothing but a simple button. Why is this happening?
Button code:
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Click Here"
android:onClick="onClick"
android:id="#+id/button"
/>
Logcat:
12-05 13:06:35.459 1974-1974/com.example.owner.myapplication I/art: Not late-enabling -Xcheck:jni (already on)
12-05 13:06:35.459 1974-1974/com.example.owner.myapplication I/art: Late-enabling JIT
12-05 13:06:35.461 1974-1974/com.example.owner.myapplication I/art: JIT created with code_cache_capacity=2MB compile_threshold=1000
12-05 13:06:35.488 1974-1974/com.example.owner.myapplication W/System: ClassLoader referenced unknown path: /data/app/com.example.owner.myapplication-1/lib/x86
12-05 13:06:35.567 1974-1989/com.example.owner.myapplication D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
12-05 13:06:35.568 1974-1974/com.example.owner.myapplication D/: HostConnection::get() New Host Connection established 0xab795310, tid 1974
12-05 13:06:35.607 1974-1989/com.example.owner.myapplication I/OpenGLRenderer: Initialized EGL, version 1.4
12-05 13:06:35.641 1974-1989/com.example.owner.myapplication W/EGL_emulation: eglSurfaceAttrib not implemented
12-05 13:06:35.641 1974-1989/com.example.owner.myapplication W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xabf217e0, error=EGL_SUCCESS
12-05 13:06:36.999 1974-1974/com.example.owner.myapplication D/AndroidRuntime: Shutting down VM
12-05 13:06:36.999 1974-1974/com.example.owner.myapplication E/AndroidRuntime: FATAL EXCEPTION: main
12-05 13:06:36.999 1974-1974/com.example.owner.myapplication E/AndroidRuntime: Process: com.example.owner.myapplication, PID: 1974
12-05 13:06:36.999 1974-1974/com.example.owner.myapplication E/AndroidRuntime: java.lang.IllegalStateException: Could not find method onClick(View) in a parent or ancestor Context for android:onClick attribute defined on view class android.support.v7.widget.AppCompatButton with id 'button'
12-05 13:06:36.999 1974-1974/com.example.owner.myapplication E/AndroidRuntime: at android.support.v7.internal.app.AppCompatViewInflater$DeclaredOnClickListener.resolveMethod(AppCompatViewInflater.java:310)
12-05 13:06:36.999 1974-1974/com.example.owner.myapplication E/AndroidRuntime: at android.support.v7.internal.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:269)
12-05 13:06:36.999 1974-1974/com.example.owner.myapplication E/AndroidRuntime: at android.view.View.performClick(View.java:5198)
12-05 13:06:36.999 1974-1974/com.example.owner.myapplication E/AndroidRuntime: at android.view.View$PerformClick.run(View.java:21147)
12-05 13:06:36.999 1974-1974/com.example.owner.myapplication E/AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:739)
12-05 13:06:36.999 1974-1974/com.example.owner.myapplication E/AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
12-05 13:06:36.999 1974-1974/com.example.owner.myapplication E/AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
12-05 13:06:36.999 1974-1974/com.example.owner.myapplication E/AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5417)
12-05 13:06:36.999 1974-1974/com.example.owner.myapplication E/AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
12-05 13:06:36.999 1974-1974/com.example.owner.myapplication E/AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
12-05 13:06:36.999 1974-1974/com.example.owner.myapplication E/AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
12-05 13:06:38.800 1974-1974/? I/Process: Sending signal. PID: 1974 SIG: 9
Just make sure your activity has the following method:
public void onClick (View view) {
// your logic
}
Try to write somw logic inside the Onclick function
Unless you write a code in the onclick function the emulator will show you an error
As you have not defined what needs to be done Onclicking the button
Try writing a code of toast or new Intent in the onclick so that something actually happens and the OS knows what shall be done after clicking the button
My Activity is queuing work to an IntentService. When i debug, the code seems to run ok. when i run, i get the logcat results shown below. i added a thread.sleep(1000);, but no change in behavior. My assumption, based on the IntentService documentation is that if the IS is still active, it will queue the 2nd request and if it is inactive, it will restart. Therefore, it's ok to issue back-to-back startService() requests without concern for timing or callbacks with status.
two different intents, bundles and arrays:
final int[] arSim1Config = new int[10];
arSim1Config[0] = 2;
arSim1Config[1] = 101;
arSim1Config[2] = (int)simStartTs;
arSim1Config[3] = simStopTs;
arSim1Config[4] = 20;
arSim1Config[5] = 70;
arSim1Config[6] = 40;
arSim1Config[7] = 8000;
arSim1Config[8] = 5000;
arSim1Config[9] = 17000;
// launch simulator threads using test parameters
Intent inStartSim = new Intent(this, SimService.class);
inStartSim.setAction("genData");
Bundle simBundle = new Bundle();
simBundle.putIntArray("simConfigAr",arSim1Config);
inStartSim.putExtras(simBundle);
startService(inStartSim);
final int[] arSim2Config = new int[10];
arSim2Config[0] = 2;
arSim2Config[1] = 102;
arSim2Config[2] = (int)simStartTs;
arSim2Config[3] = simStopTs;
arSim2Config[4] = 5;
arSim2Config[5] = 110;
arSim2Config[6] = 95;
arSim2Config[7] = 12000;
arSim2Config[8] = 5000;
rSim2Config[9] = 13000;
// launch simulator threads using test parameters
Intent inStartSim2 = new Intent(this, SimService.class);
inStartSim2.setAction("genData");
Bundle simBundle2 = new Bundle();
simBundle2.putIntArray("simConfigAr",arSim2Config);
inStartSim2.putExtras(simBundle2);
startService(inStartSim2);
logcat:
01-30 17:11:34.706 4075-4075/com.smartmedtek.prj.smartmed03 I/art﹕ Not late-enabling -Xcheck:jni (already on)
01-30 17:11:34.821 4075-4075/com.smartmedtek.prj.smartmed03 W/ActivityThread﹕ Application com.smartmedtek.prj.smartmed03 is waiting for the debugger on port 8100...
01-30 17:11:34.831 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ Sending WAIT chunk
01-30 17:11:34.844 4075-4082/com.smartmedtek.prj.smartmed03 I/art﹕ Debugger is active
01-30 17:11:34.845 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ Debugger has connected
01-30 17:11:34.845 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:35.071 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:35.281 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:35.500 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:35.720 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:35.932 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:36.151 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:36.361 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:36.571 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:36.781 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:36.990 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:37.200 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:37.410 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:37.621 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ debugger has settled (1434)
01-30 17:11:37.979 4075-4075/com.smartmedtek.prj.smartmed03 D/MainActivity﹕ onCreate() No saved state available
01-30 17:11:38.049 4075-4095/com.smartmedtek.prj.smartmed03 D/OpenGLRenderer﹕ Render dirty regions requested: true
01-30 17:11:38.052 4075-4075/com.smartmedtek.prj.smartmed03 D/﹕ HostConnection::get() New Host Connection established 0xa6bdaf50, tid 4075
01-30 17:11:38.055 4075-4075/com.smartmedtek.prj.smartmed03 D/Atlas﹕ Validating map...
01-30 17:11:38.296 4075-4095/com.smartmedtek.prj.smartmed03 D/﹕ HostConnection::get() New Host Connection established 0xa5f0a230, tid 4095
01-30 17:11:38.319 4075-4095/com.smartmedtek.prj.smartmed03 I/OpenGLRenderer﹕ Initialized EGL, version 1.4
01-30 17:11:38.363 4075-4095/com.smartmedtek.prj.smartmed03 D/OpenGLRenderer﹕ Enabling debug mode 0
01-30 17:11:38.387 4075-4095/com.smartmedtek.prj.smartmed03 W/EGL_emulation﹕ eglSurfaceAttrib not implemented
01-30 17:11:38.387 4075-4095/com.smartmedtek.prj.smartmed03 W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa5f2a460, error=EGL_SUCCESS
01-30 17:11:38.451 4075-4096/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.02172712E9
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.02172717E9
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.02172722E9
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:11:54.971 4075-4096/com.smartmedtek.prj.smartmed03 E/AndroidRuntime﹕ FATAL EXCEPTION: IntentService[SimService]
Process: com.smartmedtek.prj.smartmed03, PID: 4075
java.lang.NullPointerException: Attempt to get length of null array
at com.smartmedtek.prj.smartmed03.SimService.onHandleIntent(SimService.java:117)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
01-30 17:11:55.057 4075-4075/com.smartmedtek.prj.smartmed03 I/Choreographer﹕ Skipped 995 frames! The application may be doing too much work on its main thread.
01-30 17:12:20.776 4075-4075/com.smartmedtek.prj.smartmed03 D/MainActivity﹕ onCreate() No saved state available
01-30 17:12:20.905 4075-4095/com.smartmedtek.prj.smartmed03 W/EGL_emulation﹕ eglSurfaceAttrib not implemented
01-30 17:12:20.905 4075-4095/com.smartmedtek.prj.smartmed03 W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa5f2a460, error=EGL_SUCCESS
01-30 17:12:21.184 4075-4095/com.smartmedtek.prj.smartmed03 W/EGL_emulation﹕ eglSurfaceAttrib not implemented
01-30 17:12:21.184 4075-4095/com.smartmedtek.prj.smartmed03 W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa5f9a9c0, error=EGL_SUCCESS
01-30 17:16:55.107 4075-4096/com.smartmedtek.prj.smartmed03 I/Process﹕ Sending signal. PID: 4075 SIG: 9
01-30 17:16:55.732 4123-4123/com.smartmedtek.prj.smartmed03 D/MainActivity﹕ onCreate() Restoring previous state
01-30 17:16:55.786 4123-4138/com.smartmedtek.prj.smartmed03 D/OpenGLRenderer﹕ Render dirty regions requested: true
01-30 17:16:55.846 4123-4123/com.smartmedtek.prj.smartmed03 D/﹕ HostConnection::get() New Host Connection established 0xa6c7d660, tid 4123
01-30 17:16:55.915 4123-4123/com.smartmedtek.prj.smartmed03 D/Atlas﹕ Validating map...
01-30 17:16:55.984 4123-4138/com.smartmedtek.prj.smartmed03 D/﹕ HostConnection::get() New Host Connection established 0xa6c7d950, tid 4138
01-30 17:16:56.084 4123-4138/com.smartmedtek.prj.smartmed03 I/OpenGLRenderer﹕ Initialized EGL, version 1.4
01-30 17:16:56.111 4123-4138/com.smartmedtek.prj.smartmed03 D/OpenGLRenderer﹕ Enabling debug mode 0
01-30 17:16:56.138 4123-4138/com.smartmedtek.prj.smartmed03 W/EGL_emulation﹕ eglSurfaceAttrib not implemented
01-30 17:16:56.138 4123-4138/com.smartmedtek.prj.smartmed03 W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa6caccc0, error=EGL_SUCCESS
01-30 17:16:56.471 4123-4138/com.smartmedtek.prj.smartmed03 W/EGL_emulation﹕ eglSurfaceAttrib not implemented
01-30 17:16:56.472 4123-4138/com.smartmedtek.prj.smartmed03 W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa6cacdc0, error=EGL_SUCCESS
01-30 17:16:56.545 4123-4140/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:16:56.545 4123-4140/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.022045268E9
01-30 17:16:56.545 4123-4140/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.022045318E9
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.022045368E9
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:16:56.551 4123-4140/com.smartmedtek.prj.smartmed03 E/AndroidRuntime﹕ FATAL EXCEPTION: IntentService[SimService]
Process: com.smartmedtek.prj.smartmed03, PID: 4123
java.lang.NullPointerException: Attempt to get length of null array
at com.smartmedtek.prj.smartmed03.SimService.onHandleIntent(SimService.java:117)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
01-30 17:21:56.621 4123-4140/com.smartmedtek.prj.smartmed03 I/Process﹕ Sending signal. PID: 4123 SIG: 9
01-30 17:11:34.706 4075-4075/com.smartmedtek.prj.smartmed03 I/art﹕ Not late-enabling -Xcheck:jni (already on)
01-30 17:11:34.821 4075-4075/com.smartmedtek.prj.smartmed03 W/ActivityThread﹕ Application com.smartmedtek.prj.smartmed03 is waiting for the debugger on port 8100...
01-30 17:11:34.831 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ Sending WAIT chunk
01-30 17:11:34.844 4075-4082/com.smartmedtek.prj.smartmed03 I/art﹕ Debugger is active
01-30 17:11:34.845 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ Debugger has connected
01-30 17:11:34.845 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:35.071 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:35.281 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:35.500 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:35.720 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:35.932 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:36.151 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:36.361 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:36.571 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:36.781 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:36.990 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:37.200 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:37.410 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:37.621 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ debugger has settled (1434)
01-30 17:11:37.979 4075-4075/com.smartmedtek.prj.smartmed03 D/MainActivity﹕ onCreate() No saved state available
01-30 17:11:38.049 4075-4095/com.smartmedtek.prj.smartmed03 D/OpenGLRenderer﹕ Render dirty regions requested: true
01-30 17:11:38.052 4075-4075/com.smartmedtek.prj.smartmed03 D/﹕ HostConnection::get() New Host Connection established 0xa6bdaf50, tid 4075
01-30 17:11:38.055 4075-4075/com.smartmedtek.prj.smartmed03 D/Atlas﹕ Validating map...
01-30 17:11:38.296 4075-4095/com.smartmedtek.prj.smartmed03 D/﹕ HostConnection::get() New Host Connection established 0xa5f0a230, tid 4095
01-30 17:11:38.319 4075-4095/com.smartmedtek.prj.smartmed03 I/OpenGLRenderer﹕ Initialized EGL, version 1.4
01-30 17:11:38.363 4075-4095/com.smartmedtek.prj.smartmed03 D/OpenGLRenderer﹕ Enabling debug mode 0
01-30 17:11:38.387 4075-4095/com.smartmedtek.prj.smartmed03 W/EGL_emulation﹕ eglSurfaceAttrib not implemented
01-30 17:11:38.387 4075-4095/com.smartmedtek.prj.smartmed03 W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa5f2a460, error=EGL_SUCCESS
01-30 17:11:38.451 4075-4096/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.02172712E9
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.02172717E9
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.02172722E9
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:11:54.971 4075-4096/com.smartmedtek.prj.smartmed03 E/AndroidRuntime﹕ FATAL EXCEPTION: IntentService[SimService]
Process: com.smartmedtek.prj.smartmed03, PID: 4075
java.lang.NullPointerException: Attempt to get length of null array
at com.smartmedtek.prj.smartmed03.SimService.onHandleIntent(SimService.java:117)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
01-30 17:11:55.057 4075-4075/com.smartmedtek.prj.smartmed03 I/Choreographer﹕ Skipped 995 frames! The application may be doing too much work on its main thread.
01-30 17:12:20.776 4075-4075/com.smartmedtek.prj.smartmed03 D/MainActivity﹕ onCreate() No saved state available
01-30 17:12:20.905 4075-4095/com.smartmedtek.prj.smartmed03 W/EGL_emulation﹕ eglSurfaceAttrib not implemented
01-30 17:12:20.905 4075-4095/com.smartmedtek.prj.smartmed03 W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa5f2a460, error=EGL_SUCCESS
01-30 17:12:21.184 4075-4095/com.smartmedtek.prj.smartmed03 W/EGL_emulation﹕ eglSurfaceAttrib not implemented
01-30 17:12:21.184 4075-4095/com.smartmedtek.prj.smartmed03 W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa5f9a9c0, error=EGL_SUCCESS
01-30 17:16:55.107 4075-4096/com.smartmedtek.prj.smartmed03 I/Process﹕ Sending signal. PID: 4075 SIG: 9
01-30 17:16:55.732 4123-4123/com.smartmedtek.prj.smartmed03 D/MainActivity﹕ onCreate() Restoring previous state
01-30 17:16:55.786 4123-4138/com.smartmedtek.prj.smartmed03 D/OpenGLRenderer﹕ Render dirty regions requested: true
01-30 17:16:55.846 4123-4123/com.smartmedtek.prj.smartmed03 D/﹕ HostConnection::get() New Host Connection established 0xa6c7d660, tid 4123
01-30 17:16:55.915 4123-4123/com.smartmedtek.prj.smartmed03 D/Atlas﹕ Validating map...
01-30 17:16:55.984 4123-4138/com.smartmedtek.prj.smartmed03 D/﹕ HostConnection::get() New Host Connection established 0xa6c7d950, tid 4138
01-30 17:16:56.084 4123-4138/com.smartmedtek.prj.smartmed03 I/OpenGLRenderer﹕ Initialized EGL, version 1.4
01-30 17:16:56.111 4123-4138/com.smartmedtek.prj.smartmed03 D/OpenGLRenderer﹕ Enabling debug mode 0
01-30 17:16:56.138 4123-4138/com.smartmedtek.prj.smartmed03 W/EGL_emulation﹕ eglSurfaceAttrib not implemented
01-30 17:16:56.138 4123-4138/com.smartmedtek.prj.smartmed03 W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa6caccc0, error=EGL_SUCCESS
01-30 17:16:56.471 4123-4138/com.smartmedtek.prj.smartmed03 W/EGL_emulation﹕ eglSurfaceAttrib not implemented
01-30 17:16:56.472 4123-4138/com.smartmedtek.prj.smartmed03 W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa6cacdc0, error=EGL_SUCCESS
01-30 17:16:56.545 4123-4140/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:16:56.545 4123-4140/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.022045268E9
01-30 17:16:56.545 4123-4140/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.022045318E9
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.022045368E9
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:16:56.551 4123-4140/com.smartmedtek.prj.smartmed03 E/AndroidRuntime﹕ FATAL EXCEPTION: IntentService[SimService]
Process: com.smartmedtek.prj.smartmed03, PID: 4123
java.lang.NullPointerException: Attempt to get length of null array
at com.smartmedtek.prj.smartmed03.SimService.onHandleIntent(SimService.java:117)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
01-30 17:21:56.621 4123-4140/com.smartmedtek.prj.smartmed03 I/Process﹕ Sending signal. PID: 4123 SIG: 9