Bluestack is not able to show local server on webview in android - android

I am trying to access the local server which is running on my system from my application running on Bluestack through WebView but is shows the blank white screen. Following is the URL http://192.168.0.85:8080/WRA.
This URL is working fine from the mobile phone if I connect to mobile with the same network but it is not working on bluestack.
Here is the logcat.
01-13 16:20:18.350 4478-4478/com.workstream.squirrel V/WebViewChromium: Binding Chromium to the background looper Looper (main, tid 1) {32774c14}
01-13 16:20:18.350 4478-4478/com.workstream.squirrel I/chromium: [INFO:library_loader_hooks.cc(112)] Chromium logging enabled: level = 0, default verbosity = 0
01-13 16:20:18.350 4478-4478/com.workstream.squirrel I/BrowserProcessMain: Initializing chromium process, renderers=0
01-13 16:20:18.350 4478-4774/com.workstream.squirrel W/chromium: [WARNING:proxy_service.cc(888)] PAC support disabled because there is no system implementation
01-13 16:20:18.360 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglDestroySurface (0x5578a7a0, 0x78506710)
01-13 16:20:18.360 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglDestroySurface (0x5578a7a0, 0x78506710) returned
01-13 16:20:18.370 4478-4478/com.workstream.squirrel W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/webkit/WebResourceRequest;)
01-13 16:20:18.370 4478-4478/com.workstream.squirrel W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/webkit/WebResourceError;)
01-13 16:20:18.370 4478-4478/com.workstream.squirrel I/dalvikvm: Could not find method android.webkit.WebViewClient.onReceivedError, referenced from method com.workstream.squirrel.views.Profile$Browser.onReceivedError
01-13 16:20:18.370 4478-4478/com.workstream.squirrel W/dalvikvm: VFY: unable to resolve virtual method 10926: Landroid/webkit/WebViewClient;.onReceivedError (Landroid/webkit/WebView;Landroid/webkit/WebResourceRequest;Landroid/webkit/WebResourceError;)V
01-13 16:20:18.370 4478-4478/com.workstream.squirrel D/dalvikvm: VFY: replacing opcode 0x6f at 0x0000
01-13 16:20:18.410 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglCreateWindowSurface (0x5578a7a0, 0x0, 0x7857b968, 0x775590e0)
01-13 16:20:18.410 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglCreateWindowSurface (0x5578a7a0, 0x0, 0x7857b968, 0x775590e0) returned
01-13 16:20:18.420 4478-4478/com.workstream.squirrel W/AwContents: nativeOnDraw failed; clearing to background color.
01-13 16:20:18.450 4478-4786/com.workstream.squirrel I/chromium: [INFO:simple_index_file.cc(397)] Simple Cache Index is being restored from disk.
01-13 16:20:18.460 4478-4478/com.workstream.squirrel W/AwContents: nativeOnDraw failed; clearing to background color.
01-13 16:20:18.490 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglDestroySurface (0x5578a7a0, 0x78489620)
01-13 16:20:18.490 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglDestroySurface (0x5578a7a0, 0x78489620) returned
01-13 16:20:18.870 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:18.870 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:18.880 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1
01-13 16:20:18.880 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1
01-13 16:20:18.930 4478-4478/com.workstream.squirrel I/chromium: [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported
01-13 16:20:18.980 4478-4478/com.workstream.squirrel I/chromium: [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported
01-13 16:20:19.100 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:19.100 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:19.110 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1
01-13 16:20:19.110 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1
01-13 16:20:19.220 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:19.220 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:19.230 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1
01-13 16:20:19.230 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1
.
01-13 16:20:18.350 4478-4478/com.workstream.squirrel V/WebViewChromium: Binding Chromium to the background looper Looper (main, tid 1) {32774c14}
01-13 16:20:18.350 4478-4478/com.workstream.squirrel I/chromium: [INFO:library_loader_hooks.cc(112)] Chromium logging enabled: level = 0, default verbosity = 0
01-13 16:20:18.350 4478-4478/com.workstream.squirrel I/BrowserProcessMain: Initializing chromium process, renderers=0
01-13 16:20:18.350 4478-4774/com.workstream.squirrel W/chromium: [WARNING:proxy_service.cc(888)] PAC support disabled because there is no system implementation
01-13 16:20:18.360 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglDestroySurface (0x5578a7a0, 0x78506710)
01-13 16:20:18.360 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglDestroySurface (0x5578a7a0, 0x78506710) returned
01-13 16:20:18.370 4478-4478/com.workstream.squirrel W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/webkit/WebResourceRequest;)
01-13 16:20:18.370 4478-4478/com.workstream.squirrel W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/webkit/WebResourceError;)
01-13 16:20:18.370 4478-4478/com.workstream.squirrel I/dalvikvm: Could not find method android.webkit.WebViewClient.onReceivedError, referenced from method com.workstream.squirrel.views.Profile$Browser.onReceivedError
01-13 16:20:18.370 4478-4478/com.workstream.squirrel W/dalvikvm: VFY: unable to resolve virtual method 10926: Landroid/webkit/WebViewClient;.onReceivedError (Landroid/webkit/WebView;Landroid/webkit/WebResourceRequest;Landroid/webkit/WebResourceError;)V
01-13 16:20:18.370 4478-4478/com.workstream.squirrel D/dalvikvm: VFY: replacing opcode 0x6f at 0x0000
01-13 16:20:18.410 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglCreateWindowSurface (0x5578a7a0, 0x0, 0x7857b968, 0x775590e0)
01-13 16:20:18.410 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglCreateWindowSurface (0x5578a7a0, 0x0, 0x7857b968, 0x775590e0) returned
01-13 16:20:18.420 4478-4478/com.workstream.squirrel W/AwContents: nativeOnDraw failed; clearing to background color.
01-13 16:20:18.450 4478-4786/com.workstream.squirrel I/chromium: [INFO:simple_index_file.cc(397)] Simple Cache Index is being restored from disk.
01-13 16:20:18.460 4478-4478/com.workstream.squirrel W/AwContents: nativeOnDraw failed; clearing to background color.
01-13 16:20:18.490 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglDestroySurface (0x5578a7a0, 0x78489620)
01-13 16:20:18.490 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglDestroySurface (0x5578a7a0, 0x78489620) returned
01-13 16:20:18.870 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:18.870 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:18.880 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1
01-13 16:20:18.880 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1
01-13 16:20:18.930 4478-4478/com.workstream.squirrel I/chromium: [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported
01-13 16:20:18.980 4478-4478/com.workstream.squirrel I/chromium: [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported
01-13 16:20:19.100 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:19.100 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:19.110 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1
01-13 16:20:19.110 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1
01-13 16:20:19.220 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:19.220 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:19.230 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1
01-13 16:20:19.230 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1

Related

video as a splash screen?

i have created a app which have video as a splash screen , my app work fine on android 6.0 and above but when I run my app on android 5.0 it show can't play this video after showing this my app goes to mainactivity and it works fine .
can you help me showing the video in android 5.0 . my min sdk version is android 4.4 api 19 but my app dont work on android 4.4 it stops , can you help me to make my app work fine on android 4.4 and 5.0
debug log if you need
for android 4.4
**
Log messages will follow once session has started...
I/dalvikvm( 3346): Could not find method android.view.Window$Callback.onPointerCaptureChanged, referenced from method android.support.v7.view.WindowCallbackWrapper.onPointerCaptureChanged
W/dalvikvm( 3346): VFY: unable to resolve interface method 21560: Landroid/view/Window$Callback;.onPointerCaptureChanged (Z)V
D/dalvikvm( 3346): VFY: replacing opcode 0x72 at 0x0002
I/dalvikvm( 3346): Could not find method android.view.Window$Callback.onProvideKeyboardShortcuts, referenced from method android.support.v7.view.WindowCallbackWrapper.onProvideKeyboardShortcuts
W/dalvikvm( 3346): VFY: unable to resolve interface method 21562: Landroid/view/Window$Callback;.onProvideKeyboardShortcuts (Ljava/util/List;Landroid/view/Menu;I)V
D/dalvikvm( 3346): VFY: replacing opcode 0x72 at 0x0002
W/dalvikvm( 3346): VFY: unable to find class referenced in signature (Landroid/view/SearchEvent;)
I/dalvikvm( 3346): Could not find method android.view.Window$Callback.onSearchRequested, referenced from method android.support.v7.view.WindowCallbackWrapper.onSearchRequested
W/dalvikvm( 3346): VFY: unable to resolve interface method 21564: Landroid/view/Window$Callback;.onSearchRequested (Landroid/view/SearchEvent;)Z
D/dalvikvm( 3346): VFY: replacing opcode 0x72 at 0x0002
I/dalvikvm( 3346): Could not find method android.view.Window$Callback.onWindowStartingActionMode, referenced from method android.support.v7.view.WindowCallbackWrapper.onWindowStartingActionMode
W/dalvikvm( 3346): VFY: unable to resolve interface method 21568: Landroid/view/Window$Callback;.onWindowStartingActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
D/dalvikvm( 3346): VFY: replacing opcode 0x72 at 0x0002
I/dalvikvm( 3346): Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.widget.TintTypedArray.getChangingConfigurations
W/dalvikvm( 3346): VFY: unable to resolve virtual method 1020: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
D/dalvikvm( 3346): VFY: replacing opcode 0x6e at 0x0002
I/dalvikvm( 3346): Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.widget.TintTypedArray.getType
W/dalvikvm( 3346): VFY: unable to resolve virtual method 1042: Landroid/content/res/TypedArray;.getType (I)I
D/dalvikvm( 3346): VFY: replacing opcode 0x6e at 0x0008
D/ ( 3346): HostConnection::get() New Host Connection established 0xb8ee3aa0, tid 3346
D/EGL_emulation( 3346): eglCreateContext: 0xb8ee5f20: maj 2 min 0 rcv 2
D/EGL_emulation( 3346): eglMakeCurrent: 0xb8ee5f20: ver 2 0
E/EGL_emulation( 3346): tid 3346: eglSurfaceAttrib(1199): error 0x3009 (EGL_BAD_MATCH)
W/HardwareRenderer( 3346): Backbuffer cannot be preserved
D/OpenGLRenderer( 3346): Enabling debug mode 0
D/MediaPlayer( 3346): getMetadata
E/MediaPlayer( 3346): error (1, -2147483648)
E/MediaPlayer( 3346): Error (1,-2147483648)
D/VideoView( 3346): Error: 1,-2147483648
I/dalvikvm( 3346): Could not find method android.content.res.Resources.getDrawable, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawable
W/dalvikvm( 3346): VFY: unable to resolve virtual method 983: Landroid/content/res/Resources;.getDrawable (ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
D/dalvikvm( 3346): VFY: replacing opcode 0x6e at 0x0002
I/dalvikvm( 3346): Could not find method android.content.res.Resources.getDrawableForDensity, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawableForDensity
W/dalvikvm( 3346): VFY: unable to resolve virtual method 985: Landroid/content/res/Resources;.getDrawableForDensity (IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
D/dalvikvm( 3346): VFY: replacing opcode 0x6e at 0x0002
E/dalvikvm( 3346): Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering
W/dalvikvm( 3346): VFY: unable to resolve instanceof 263 (Landroid/graphics/drawable/RippleDrawable;) in Landroid/support/v7/widget/AppCompatImageHelper;
D/dalvikvm( 3346): VFY: replacing opcode 0x20 at 0x000c
D/dalvikvm( 3346): GC_FOR_ALLOC freed 169K, 7% free 3253K/3484K, paused 3ms, total 3ms
D/dalvikvm( 3346): GC_FOR_ALLOC freed 1K, 7% free 3473K/3708K, paused 2ms, total 2ms
I/dalvikvm-heap( 3346): Grow heap (frag case) to 5.868MB for 2536932-byte allocation
D/dalvikvm( 3346): GC_CONCURRENT freed <1K, 4% free 5950K/6188K, paused 1ms+1ms, total 3ms
D/dalvikvm( 3346): WAIT_FOR_CONCURRENT_GC blocked 2ms
I/dalvikvm( 3346): Could not find method android.widget.TextView.getAutoSizeMaxTextSize, referenced from method android.support.v7.widget.AppCompatTextView.getAutoSizeMaxTextSize
W/dalvikvm( 3346): VFY: unable to resolve virtual method 22589: Landroid/widget/TextView;.getAutoSizeMaxTextSize ()I
D/dalvikvm( 3346): VFY: replacing opcode 0x6f at 0x0004
I/dalvikvm( 3346): Could not find method android.widget.TextView.getAutoSizeMinTextSize, referenced from method android.support.v7.widget.AppCompatTextView.getAutoSizeMinTextSize
W/dalvikvm( 3346): VFY: unable to resolve virtual method 22590: Landroid/widget/TextView;.getAutoSizeMinTextSize ()I
D/dalvikvm( 3346): VFY: replacing opcode 0x6f at 0x0004
I/dalvikvm( 3346): Could not find method android.widget.TextView.getAutoSizeStepGranularity, referenced from method android.support.v7.widget.AppCompatTextView.getAutoSizeStepGranularity
W/dalvikvm( 3346): VFY: unable to resolve virtual method 22591: Landroid/widget/TextView;.getAutoSizeStepGranularity ()I
D/dalvikvm( 3346): VFY: replacing opcode 0x6f at 0x0004
I/dalvikvm( 3346): Could not find method android.widget.TextView.getAutoSizeTextAvailableSizes, referenced from method android.support.v7.widget.AppCompatTextView.getAutoSizeTextAvailableSizes
W/dalvikvm( 3346): VFY: unable to resolve virtual method 22592: Landroid/widget/TextView;.getAutoSizeTextAvailableSizes ()[I
D/dalvikvm( 3346): VFY: replacing opcode 0x6f at 0x0004
I/dalvikvm( 3346): Could not find method android.widget.TextView.getAutoSizeTextType, referenced from method android.support.v7.widget.AppCompatTextView.getAutoSizeTextType
W/dalvikvm( 3346): VFY: unable to resolve virtual method 22593: Landroid/widget/TextView;.getAutoSizeTextType ()I
D/dalvikvm( 3346): VFY: replacing opcode 0x6f at 0x0005
I/dalvikvm( 3346): Could not find method android.widget.TextView.setAutoSizeTextTypeUniformWithConfiguration, referenced from method android.support.v7.widget.AppCompatTextView.setAutoSizeTextTypeUniformWithConfiguration
W/dalvikvm( 3346): VFY: unable to resolve virtual method 22648: Landroid/widget/TextView;.setAutoSizeTextTypeUniformWithConfiguration (IIII)V
D/dalvikvm( 3346): VFY: replacing opcode 0x6f at 0x0004
I/dalvikvm( 3346): Could not find method android.widget.TextView.setAutoSizeTextTypeUniformWithPresetSizes, referenced from method android.support.v7.widget.AppCompatTextView.setAutoSizeTextTypeUniformWithPresetSizes
W/dalvikvm( 3346): VFY: unable to resolve virtual method 22649: Landroid/widget/TextView;.setAutoSizeTextTypeUniformWithPresetSizes ([II)V
D/dalvikvm( 3346): VFY: replacing opcode 0x6f at 0x0004
I/dalvikvm( 3346): Could not find method android.widget.TextView.setAutoSizeTextTypeWithDefaults, referenced from method android.support.v7.widget.AppCompatTextView.setAutoSizeTextTypeWithDefaults
W/dalvikvm( 3346): VFY: unable to resolve virtual method 22650: Landroid/widget/TextView;.setAutoSizeTextTypeWithDefaults (I)V
D/dalvikvm( 3346): VFY: replacing opcode 0x6f at 0x0004
I/dalvikvm( 3346): Could not find method android.widget.TextView.getAutoSizeStepGranularity, referenced from method android.support.v7.widget.AppCompatTextHelper.loadFromAttributes
W/dalvikvm( 3346): VFY: unable to resolve virtual method 22591: Landroid/widget/TextView;.getAutoSizeStepGranularity ()I
D/dalvikvm( 3346): VFY: replacing opcode 0x6e at 0x0161
I/dalvikvm( 3346): Could not find method android.text.StaticLayout$Builder.obtain, referenced from method android.support.v7.widget.AppCompatTextViewAutoSizeHelper.createStaticLayoutForMeasuring
W/dalvikvm( 3346): VFY: unable to resolve static method 20680: Landroid/text/StaticLayout$Builder;.obtain (Ljava/lang/CharSequence;IILandroid/text/TextPaint;I)Landroid/text/StaticLayout$Builder;
D/dalvikvm( 3346): VFY: replacing opcode 0x71 at 0x0014
I/dalvikvm( 3346): Could not find method android.content.Context.getColorStateList, referenced from method android.support.v7.content.res.AppCompatResources.getColorStateList
W/dalvikvm( 3346): VFY: unable to resolve virtual method 756: Landroid/content/Context;.getColorStateList (I)Landroid/content/res/ColorStateList;
D/dalvikvm( 3346): VFY: replacing opcode 0x6e at 0x0006
I/dalvikvm( 3346): Could not find method android.content.Context.createDeviceProtectedStorageContext, referenced from method android.support.v4.content.ContextCompat.createDeviceProtectedStorageContext
W/dalvikvm( 3346): VFY: unable to resolve virtual method 747: Landroid/content/Context;.createDeviceProtectedStorageContext ()Landroid/content/Context;
D/dalvikvm( 3346): VFY: replacing opcode 0x6e at 0x0006
I/dalvikvm( 3346): Could not find method android.content.Context.getCodeCacheDir, referenced from method android.support.v4.content.ContextCompat.getCodeCacheDir
W/dalvikvm( 3346): VFY: unable to resolve virtual method 754: Landroid/content/Context;.getCodeCacheDir ()Ljava/io/File;
D/dalvikvm( 3346): VFY: replacing opcode 0x6e at 0x0006
I/dalvikvm( 3346): Could not find method android.content.Context.getColor, referenced from method android.support.v4.content.ContextCompat.getColor
W/dalvikvm( 3346): VFY: unable to resolve virtual method 755: Landroid/content/Context;.getColor (I)I
D/dalvikvm( 3346): VFY: replacing opcode 0x6e at 0x0006
I/dalvikvm( 3346): Could not find method android.content.Context.getColorStateList, referenced from method android.support.v4.content.ContextCompat.getColorStateList
W/dalvikvm( 3346): VFY: unable to resolve virtual method 756: Landroid/content/Context;.getColorStateList (I)Landroid/content/res/ColorStateList;
D/dalvikvm( 3346): VFY: replacing opcode 0x6e at 0x0006
I/dalvikvm( 3346): Could not find method android.content.Context.getDataDir, referenced from method android.support.v4.content.ContextCompat.getDataDir
W/dalvikvm( 3346): VFY: unable to resolve virtual method 758: Landroid/content/Context;.getDataDir ()Ljava/io/File;
D/dalvikvm( 3346): VFY: replacing opcode 0x6e at 0x0006
I/dalvikvm( 3346): Could not find method android.content.Context.getDrawable, referenced from method android.support.v4.content.ContextCompat.getDrawable
W/dalvikvm( 3346): VFY: unable to resolve virtual method 761: Landroid/content/Context;.getDrawable (I)Landroid/graphics/drawable/Drawable;
D/dalvikvm( 3346): VFY: replacing opcode 0x6e at 0x0006
I/dalvikvm( 3346): Could not find method android.content.Context.getNoBackupFilesDir, referenced from method android.support.v4.content.ContextCompat.getNoBackupFilesDir
W/dalvikvm( 3346): VFY: unable to resolve virtual method 769: Landroid/content/Context;.getNoBackupFilesDir ()Ljava/io/File;
D/dalvikvm( 3346): VFY: replacing opcode 0x6e at 0x0006
I/dalvikvm( 3346): Could not find method android.content.Context.isDeviceProtectedStorage, referenced from method android.support.v4.content.ContextCompat.isDeviceProtectedStorage
W/dalvikvm( 3346): VFY: unable to resolve virtual method 782: Landroid/content/Context;.isDeviceProtectedStorage ()Z
D/dalvikvm( 3346): VFY: replacing opcode 0x6e at 0x0006
I/dalvikvm( 3346): Could not find method android.content.Context.startForegroundService, referenced from method android.support.v4.content.ContextCompat.startForegroundService
W/dalvikvm( 3346): VFY: unable to resolve virtual method 798: Landroid/content/Context;.startForegroundService (Landroid/content/Intent;)Landroid/content/ComponentName;
D/dalvikvm( 3346): VFY: replacing opcode 0x6e at 0x0006
I/dalvikvm( 3346): Could not find method android.widget.Button.getAutoSizeMaxTextSize, referenced from method android.support.v7.widget.AppCompatButton.getAutoSizeMaxTextSize
W/dalvikvm( 3346): VFY: unable to resolve virtual method 22028: Landroid/widget/Button;.getAutoSizeMaxTextSize ()I
D/dalvikvm( 3346): VFY: replacing opcode 0x6f at 0x0004
I/dalvikvm( 3346): Could not find method android.widget.Button.getAutoSizeMinTextSize, referenced from method android.support.v7.widget.AppCompatButton.getAutoSizeMinTextSize
W/dalvikvm( 3346): VFY: unable to resolve virtual method 22029: Landroid/widget/Button;.getAutoSizeMinTextSize ()I
D/dalvikvm( 3346): VFY: replacing opcode 0x6f at 0x0004
I/dalvikvm( 3346): Could not find method android.widget.Button.getAutoSizeStepGranularity, referenced from method android.support.v7.widget.AppCompatButton.getAutoSizeStepGranularity
W/dalvikvm( 3346): VFY: unable to resolve virtual method 22030: Landroid/widget/Button;.getAutoSizeStepGranularity ()I
D/dalvikvm( 3346): VFY: replacing opcode 0x6f at 0x0004
I/dalvikvm( 3346): Could not find method android.widget.Button.getAutoSizeTextAvailableSizes, referenced from method android.support.v7.widget.AppCompatButton.getAutoSizeTextAvailableSizes
W/dalvikvm( 3346): VFY: unable to resolve virtual method 22031: Landroid/widget/Button;.getAutoSizeTextAvailableSizes ()[I
D/dalvikvm( 3346): VFY: replacing opcode 0x6f at 0x0004
I/dalvikvm( 3346): Could not find method android.widget.Button.getAutoSizeTextType, referenced from method android.support.v7.widget.AppCompatButton.getAutoSizeTextType
W/dalvikvm( 3346): VFY: unable to resolve virtual method 22032: Landroid/widget/Button;.getAutoSizeTextType ()I
D/dalvikvm( 3346): VFY: replacing opcode 0x6f at 0x0005
I/dalvikvm( 3346): Could not find method android.widget.Button.setAutoSizeTextTypeUniformWithConfiguration, referenced from method android.support.v7.widget.AppCompatButton.setAutoSizeTextTypeUniformWithConfiguration
W/dalvikvm( 3346): VFY: unable to resolve virtual method 22041: Landroid/widget/Button;.setAutoSizeTextTypeUniformWithConfiguration (IIII)V
D/dalvikvm( 3346): VFY: replacing opcode 0x6f at 0x0004
I/dalvikvm( 3346): Could not find method android.widget.Button.setAutoSizeTextTypeUniformWithPresetSizes, referenced from method android.support.v7.widget.AppCompatButton.setAutoSizeTextTypeUniformWithPresetSizes
W/dalvikvm( 3346): VFY: unable to resolve virtual method 22042: Landroid/widget/Button;.setAutoSizeTextTypeUniformWithPresetSizes ([II)V
D/dalvikvm( 3346): VFY: replacing opcode 0x6f at 0x0004
I/dalvikvm( 3346): Could not find method android.widget.Button.setAutoSizeTextTypeWithDefaults, referenced from method android.support.v7.widget.AppCompatButton.setAutoSizeTextTypeWithDefaults
W/dalvikvm( 3346): VFY: unable to resolve virtual method 22043: Landroid/widget/Button;.setAutoSizeTextTypeWithDefaults (I)V
D/dalvikvm( 3346): VFY: replacing opcode 0x6f at 0x0004
D/EGL_emulation( 3346): eglMakeCurrent: 0xb8ee5f20: ver 2 0
E/EGL_emulation( 3346): tid 3346: eglSurfaceAttrib(1199): error 0x3009 (EGL_BAD_MATCH)
W/HardwareRenderer( 3346): Backbuffer cannot be preserved
D/AndroidRuntime( 3346): Shutting down VM
W/dalvikvm( 3346): threadid=1: thread exiting with uncaught exception (group=0x94ceeb20)
E/AndroidRuntime( 3346): FATAL EXCEPTION: main
E/AndroidRuntime( 3346): Process: com.hoogle.quoteslibrary, PID: 3346
E/AndroidRuntime( 3346): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.hoogle.quoteslibrary/com.hoogle.quoteslibrary.MainActivity}: java.lang.IllegalArgumentException: AppCompat does not support the current theme features: { windowActionBar: false, windowActionBarOverlay: false, android:windowIsFloating: false, windowActionModeOverlay: false, windowNoTitle: false }
E/AndroidRuntime( 3346): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)
E/AndroidRuntime( 3346): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
E/AndroidRuntime( 3346): at android.app.ActivityThread.access$800(ActivityThread.java:135)
E/AndroidRuntime( 3346): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
E/AndroidRuntime( 3346): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 3346): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 3346): at android.app.ActivityThread.main(ActivityThread.java:5017)
E/AndroidRuntime( 3346): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3346): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 3346): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
E/AndroidRuntime( 3346): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
E/AndroidRuntime( 3346): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3346): Caused by: java.lang.IllegalArgumentException: AppCompat does not support the current theme features: { windowActionBar: false, windowActionBarOverlay: false, android:windowIsFloating: false, windowActionModeOverlay: false, windowNoTitle: false }
E/AndroidRuntime( 3346): at android.support.v7.app.AppCompatDelegateImplV9.createSubDecor(AppCompatDelegateImplV9.java:469)
E/AndroidRuntime( 3346): at android.support.v7.app.AppCompatDelegateImplV9.ensureSubDecor(AppCompatDelegateImplV9.java:323)
E/AndroidRuntime( 3346): at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:284)
E/AndroidRuntime( 3346): at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)
E/AndroidRuntime( 3346): at com.hoogle.quoteslibrary.MainActivity.onCreate(MainActivity.java:32)
E/AndroidRuntime( 3346): at android.app.Activity.performCreate(Activity.java:5231)
E/AndroidRuntime( 3346): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
E/AndroidRuntime( 3346): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
E/AndroidRuntime( 3346): ... 11 more**
for android 5.0 ,5.1
Log messages will follow once session has started...
I/art ( 3102): Background sticky concurrent mark sweep GC freed 2513(202KB) AllocSpace objects, 0(0B) LOS objects, 23% free, 849KB/1117KB, paused 709us total 126.615ms
D/OpenGLRenderer( 3102): Use EGL_SWAP_BEHAVIOR_PRESERVED: true
D/ ( 3102): HostConnection::get() New Host Connection established 0xb3ec7a10, tid 3102
D/Atlas ( 3102): Validating map...
D/ ( 3102): HostConnection::get() New Host Connection established 0xae0822e0, tid 3119
I/OpenGLRenderer( 3102): Initialized EGL, version 1.4
W/OpenGLRenderer( 3102): Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
D/EGL_emulation( 3102): eglCreateContext: 0xae034a60: maj 2 min 0 rcv 2
D/EGL_emulation( 3102): eglMakeCurrent: 0xae034a60: ver 2 0
D/OpenGLRenderer( 3102): Enabling debug mode 0
D/EGL_emulation( 3102): eglMakeCurrent: 0xae034a60: ver 2 0
D/MediaPlayer( 3102): getMetadata
W/art ( 3102): 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
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
I/art ( 3102): Background partial concurrent mark sweep GC freed 461(38KB) AllocSpace objects, 0(0B) LOS objects, 39% free, 1918KB/3MB, paused 5.934ms total 20.788ms
W/ResourcesManager( 3102): Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
W/ResourcesManager( 3102): Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
I/WebViewFactory( 3102): Loading com.android.webview version 39 (4212452-x86) (code 300007)
I/LibraryLoader( 3102): Time to load native libraries: 1 ms (timestamps 7244-7245)
I/LibraryLoader( 3102): Expected native library version number "",actual native library version number ""
V/WebViewChromiumFactoryProvider( 3102): Binding Chromium to main looper Looper (main, tid 1) {65917f2}
I/LibraryLoader( 3102): Expected native library version number "",actual native library version number ""
I/chromium( 3102): [INFO:library_loader_hooks.cc(104)] Chromium logging enabled: level = 0, default verbosity = 0
I/BrowserStartupController( 3102): Initializing chromium process, singleProcess=true
W/art ( 3102): Attempt to remove local handle scope entry from IRT, ignoring
W/AudioManagerAndroid( 3102): Requires BLUETOOTH permission
W/chromium( 3102): [WARNING:resource_bundle.cc(304)] locale_file_path.empty()
I/chromium( 3102): [INFO:aw_browser_main_parts.cc(65)] Load from apk succesful, fd=41 off=46184 len=3037
I/chromium( 3102): [INFO:aw_browser_main_parts.cc(78)] Loading webviewchromium.pak from, fd:42 off:229484 len:1089587
D/EGL_emulation( 3102): eglCreateContext: 0xa2014f40: maj 2 min 0 rcv 2
D/EGL_emulation( 3102): eglMakeCurrent: 0xa2014f40: ver 2 0
W/chromium( 3102): [WARNING:data_reduction_proxy_settings.cc(331)] SPDY proxy OFF at startup
W/art ( 3102): Attempt to remove local handle scope entry from IRT, ignoring
W/AwContents( 3102): onDetachedFromWindow called when already detached. Ignoring
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
I/Ads ( 3102): Starting ad request.
I/Ads ( 3102): This request is sent from a test device.
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
I/Ads ( 3102): Starting ad request.
I/Ads ( 3102): This request is sent from a test device.
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
W/Ads ( 3102): Google Play Service is out of date, the Google Mobile Ads SDK will not integrate with Firebase. Admob/Firebase integration requires updated Google Play Service.
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
W/Ads ( 3102): Google Play Service is out of date, the Google Mobile Ads SDK will not integrate with Firebase. Admob/Firebase integration requires updated Google Play Service.
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
I/Ads ( 3102): Starting ad request.
I/Ads ( 3102): This request is sent from a test device.
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
I/Ads ( 3102): Starting ad request.
I/Ads ( 3102): This request is sent from a test device.
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
I/Ads ( 3102): Starting ad request.
I/Ads ( 3102): This request is sent from a test device.
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
I/Ads ( 3102): Starting ad request.
I/Ads ( 3102): This request is sent from a test device.
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
I/Ads ( 3102): Starting ad request.
I/Ads ( 3102): This request is sent from a test device.
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
I/Ads ( 3102): Starting ad request.
I/Ads ( 3102): This request is sent from a test device.
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
I/Ads ( 3102): Starting ad request.
I/Ads ( 3102): This request is sent from a test device.
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
I/Ads ( 3102): Starting ad request.
I/Ads ( 3102): This request is sent from a test device.
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
D/zzcz ( 3102): File /data/data/com.hoogle.quoteslibrary/cache/1521499837408.dex not found. No need for deletion
I/Ads ( 3102): Starting ad request.
I/Ads ( 3102): This request is sent from a test device.
E/bf ( 3102): fd
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
W/GooglePlayServicesUtil( 3102): Google Play services out of date. Requires 12451000 but found 11302270
D/EGL_emulation( 3102): eglMakeCurrent: 0xae034a60: ver 2 0
W/chromium( 3102): [WARNING:simple_index_file.cc(337)] Could not map Simple Index file.
W/art ( 3102): Long monitor contention event with owner method=java.util.List java.util.Collections.emptyList() from Collections.java:2401 waiters=3 for 145ms
W/art ( 3102): Attempt to remove local handle scope entry from IRT, ignoring
W/AwContents( 3102): onDetachedFromWindow called when already detached. Ignoring
W/art ( 3102): Attempt to remove local handle scope entry from IRT, ignoring
W/art ( 3102): Attempt to remove local handle scope entry from IRT, ignoring
W/art ( 3102): Long monitor contention event with owner method=java.util.List java.util.Collections.emptyList() from Collections.java:2401 waiters=4 for 170ms
E/MediaPlayer( 3102): error (1, -38)
D/EGL_emulation( 3102): eglMakeCurrent: 0xae034a60: ver 2 0
E/bf ( 3102): fd
I/chromium( 3102): [INFO:CONSOLE(8)] "The key "viewport-fit" is not recognized and ignored.", source: https://www.brainyquote.com/topics/love (8)
You should look at line where is says :
E/AndroidRuntime( 3346): FATAL EXCEPTION: main
E/AndroidRuntime( 3346): Process: com.hoogle.quoteslibrary, PID: 3346
E/AndroidRuntime( 3346): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.hoogle.quoteslibrary/com.hoogle.quoteslibrary.MainActivity}: java.lang.IllegalArgumentException: AppCompat does not support the current theme features: { windowActionBar: false, windowActionBarOverlay: false, android:windowIsFloating: false, windowActionModeOverlay: false, windowNoTitle: false }
The third line ends with:
java.lang.IllegalArgumentException: AppCompat does not support the current theme features: { windowActionBar: false, windowActionBarOverlay: false, android:windowIsFloating: false, windowActionModeOverlay: false, windowNoTitle: false }
It seems a problem of Theme to fix in styles.xml
For example look at AppCompat does not support the current theme features - nothing works
E/AndroidRuntime( 3346): Caused by: java.lang.IllegalArgumentException: AppCompat does not support the current theme features: { windowActionBar: false, windowActionBarOverlay: false, android:windowIsFloating: false, windowActionModeOverlay: false, windowNoTitle: false }
The easiest way to solve the above issue is to put:-
Theme.AppCompat.NoActionBar as your parent theme.
otherwise put this in style
<style name="Theme.AppCompat.Light.NoActionBar.FullScreen" parent="#style/Theme.AppCompat.Light">
<item name="windowActionBar">true</item>
<item name="windowNoTitle">true</item>
<item name="android:windowFullscreen">true</item>
</style>
Check this edited style

Force Close in app - IllegalArgumentException at java.util.Date.parse

I created an app using Android Studio
It work fine with lot of phones, but just with few Samsung mobiles it show force close when open App
Below is logcat log:
01-13 21:20:28.170: D/Brazil(3462): Index:162,Values:[Ljava.lang.String;#4312c1c0
01-13 21:20:28.170: D/Brazil(3462): Index:163,Values:[Ljava.lang.String;#4312c668
01-13 21:20:28.220: D/AndroidRuntime(3462): Shutting down VM
01-13 21:20:28.220: W/dalvikvm(3462): threadid=1: thread exiting with uncaught exception (group=0x41f9d2e8)
01-13 21:20:28.230: E/AndroidRuntime(3462): FATAL EXCEPTION: main
01-13 21:20:28.230: E/AndroidRuntime(3462): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.iran.sunni.time/com.iran.sunni.time.PrayerTimeActivity}: java.lang.IllegalArgumentException
01-13 21:20:28.230: E/AndroidRuntime(3462): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2118)
01-13 21:20:28.230: E/AndroidRuntime(3462): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2143)
01-13 21:20:28.230: E/AndroidRuntime(3462): at android.app.ActivityThread.access$700(ActivityThread.java:140)
01-13 21:20:28.230: E/AndroidRuntime(3462): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237)
01-13 21:20:28.230: E/AndroidRuntime(3462): at android.os.Handler.dispatchMessage(Handler.java:99)
01-13 21:20:28.230: E/AndroidRuntime(3462): at android.os.Looper.loop(Looper.java:174)
01-13 21:20:28.230: E/AndroidRuntime(3462): at android.app.ActivityThread.main(ActivityThread.java:4952)
01-13 21:20:28.230: E/AndroidRuntime(3462): at java.lang.reflect.Method.invokeNative(Native Method)
01-13 21:20:28.230: E/AndroidRuntime(3462): at java.lang.reflect.Method.invoke(Method.java:511)
01-13 21:20:28.230: E/AndroidRuntime(3462): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
01-13 21:20:28.230: E/AndroidRuntime(3462): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
01-13 21:20:28.230: E/AndroidRuntime(3462): at dalvik.system.NativeStart.main(Native Method)
01-13 21:20:28.230: E/AndroidRuntime(3462): Caused by: java.lang.IllegalArgumentException
01-13 21:20:28.230: E/AndroidRuntime(3462): at java.util.Date.parse(Date.java:409)
01-13 21:20:28.230: E/AndroidRuntime(3462): at java.util.Date.<init>(Date.java:149)
01-13 21:20:28.230: E/AndroidRuntime(3462): at com.iran.sunni.time.PrayerTimeActivity.getTimeDiff(PrayerTimeActivity.java:799)
01-13 21:20:28.230: E/AndroidRuntime(3462): at com.iran.sunni.time.PrayerTimeActivity.calculateParyerTime(PrayerTimeActivity.java:461)
01-13 21:20:28.230: E/AndroidRuntime(3462): at com.iran.sunni.time.PrayerTimeActivity.onCreate(PrayerTimeActivity.java:323)
01-13 21:20:28.230: E/AndroidRuntime(3462): at android.app.Activity.performCreate(Activity.java:5188)
01-13 21:20:28.230: E/AndroidRuntime(3462): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
01-13 21:20:28.230: E/AndroidRuntime(3462): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2082)
01-13 21:20:28.230: E/AndroidRuntime(3462): ... 11 more
01-13 21:20:28.240: I/power(406): *** release_dvfs_lock : lockType : 1
01-13 21:20:28.240: E/power(406): release_dvfs_lock : g_error_dvfs : 13
01-13 21:20:28.240: D/PowerManagerService(406): releaseDVFSLockLocked : all DVFS_MIN_LIMIT are released
01-13 21:20:28.240: W/ActivityManager(406): mDVFSLock.release()
01-13 21:20:28.240: D/WindowManager(406): mInputFocus is not null.
01-13 21:20:28.290: E/android.os.Debug(406): !#Dumpstate > dumpstate -k -t -z -d -o /data/log/dumpstate_app_error
01-13 21:20:28.310: I/dumpstate(3485): begin
01-13 21:20:28.390: D/MotionEngine(406): [### Motion Engine ###] GetMotionScenarioId -1.522712 4.606444 8.130709 0.000000 0.000000 0.000000 51 20
01-13 21:20:28.610: D/MotionEngine(406): [MotionEngine] -> PR_MOVE -> Move Recognition Lv(2)
01-13 21:20:28.610: D/MotionEngine(406): [### Motion Engine ###] Event num 71 Occured
01-13 21:20:28.610: I/MotionRecognitionService(406): send 71=FLAT ~~
01-13 21:20:29.430: D/MotionEngine(406): [### Motion Engine ###] GetMotionScenarioId -1.503559 4.721366 8.111555 0.000000 0.000000 0.000000 51 20
01-13 21:20:30.040: E/SMD(108): DrReadUsbStatus File Open failed
01-13 21:20:30.470: D/MotionEngine(406): [### Motion Engine ###] GetMotionScenarioId -1.541866 5.018247 8.303091 0.000000 0.000000 0.000000 51 20
01-13 21:20:30.600: E/(99): RIL_onMultiClientUnsolicitedResponse:
01-13 21:20:30.600: E/(99): unsupported multiclient unsolicited response code 1009
01-13 21:20:30.600: D/SPRDENG(163): eng_atauto_thread: At Auto Report
01-13 21:20:30.600: D/SPRDENG(163): eng_atauto_thread: j=-1
01-13 21:20:30.600: D/SPRDENG(163): eng_atauto_thread: CONFIGURED
01-13 21:20:30.600: D/SPRDENG(163): eng_atauto_thread: usb_status=1
01-13 21:20:30.600: D/SPRDENG(163): eng_atauto_thread: write at auto report to PC
01-13 21:20:31.500: D/BatteryService(406): update start
01-13 21:20:31.500: D/BatteryService(406): level:100 scale:100 status:5 health:2 present:true voltage: 4250 temperature: 337 technology: Li-ion AC powered:false USB powered:true icon:17303345 invalid charger:0 online:1 charge type:0 current avg:0
01-13 21:20:31.520: D/MotionEngine(406): [### Motion Engine ###] GetMotionScenarioId -1.388637 4.730943 8.188169 0.000000 0.000000 0.000000 51 20
01-13 21:20:32.040: E/SMD(108): DrReadUsbStatus File Open failed
01-13 21:20:32.560: D/MotionEngine(406): [### Motion Engine ###] GetMotionScenarioId -1.465251 4.797980 8.293514 0.000000 0.000000 0.000000 51 20
01-13 21:20:33.100: E/(99): RIL_onMultiClientUnsolicitedResponse:
01-13 21:20:33.100: E/(99): unsupported multiclient unsolicited response code 1009
01-13 21:20:33.110: D/SPRDENG(163): eng_atauto_thread: At Auto Report
01-13 21:20:33.110: D/SPRDENG(163): eng_atauto_thread: j=-1
01-13 21:20:33.110: D/SPRDENG(163): eng_atauto_thread: CONFIGURED
01-13 21:20:33.110: D/SPRDENG(163): eng_atauto_thread: usb_status=1
01-13 21:20:33.110: D/SPRDENG(163): eng_atauto_thread: write at auto report to PC
01-13 21:20:33.250: D/KeyguardViewMediator(406): setHidden false
01-13 21:20:33.250: D/KeyguardViewMediator(406): setHidden false
01-13 21:20:33.250: D/MotionEngine(406): [MotionEngine] -> PR_MOVE -> Move Recognition Lv(1)
01-13 21:20:33.250: D/WindowManager(406): mInputFocus is not null.
01-13 21:20:33.250: D/WindowManager(406): mInputFocus is not null.
01-13 21:20:33.250: V/WindowManager(406): rotationForOrientationLw(orient=-1, last=0); user=0 USER_ROTATION_LOCKED mLidState=-1 mCoverState=-1 mDockMode=0 mHdmiPlugged=false mAccelerometerDefault=false sensorRotation=-1
01-13 21:20:33.250: D/WindowManager(406): mInputFocus is not null.
01-13 21:20:33.260: D/KeyguardViewMediator(406): setHidden false
01-13 21:20:33.260: D/WindowManager(406): mInputFocus is not null.
01-13 21:20:33.280: D/KeyguardViewMediator(406): setHidden false
01-13 21:20:33.280: D/KeyguardViewMediator(406): setHidden false
01-13 21:20:33.280: D/WindowManager(406): mInputFocus is not null.
01-13 21:20:33.280: D/WindowManager(406): mInputFocus is not null.
01-13 21:20:33.650: D/MotionEngine(406): [### Motion Engine ###] GetMotionScenarioId -1.369483 4.596867 8.264784 0.000000 0.000000 0.000000 51 20
01-13 21:20:34.040: E/SMD(108): DrReadUsbStatus File Open failed
01-13 21:20:34.130: D/VoldCmdListener(81): asec list
01-13 21:20:34.750: D/MotionEngine(406): [### Motion Engine ###] GetMotionScenarioId -1.331176 4.730943 8.197746 0.000000 0.000000 0.000000 51 20
01-13 21:20:34.850: I/dumpstate(3485): done
01-13 21:20:34.880: D/KeyguardViewMediator(406): setHidden false
01-13 21:20:34.880: V/WindowManager(406): rotationForOrientationLw(orient=5, last=0); user=0 USER_ROTATION_LOCKED mLidState=-1 mCoverState=-1 mDockMode=0 mHdmiPlugged=false mAccelerometerDefault=false sensorRotation=-1
01-13 21:20:34.890: D/WindowManager(406): mInputFocus is not null.
01-13 21:20:34.890: D/WindowManager(406): mInputFocus is not null.
01-13 21:20:34.910: D/WindowManager(406): PhoneWindowManager: focusChangedLw
01-13 21:20:34.910: D/WindowManager(406): updateReadingMode
01-13 21:20:34.910: D/STATUSBAR-StatusBarManagerService(406): setSystemUiVisibility(0x0)
01-13 21:20:34.910: D/STATUSBAR-StatusBarManagerService(406): manageDisableList what=0x0 pkg=WindowManager.LayoutParams
01-13 21:20:34.920: D/Launcher(616): onRestart, Launcher: 1117400296
01-13 21:20:34.920: D/Launcher(616): onStart, Launcher: 1117400296
01-13 21:20:34.920: D/Launcher.HomeFragment(616): onStart
01-13 21:20:34.920: D/Launcher(616): onResume, Launcher: 1117400296
01-13 21:20:34.920: D/KeyguardViewMediator(406): setHidden false
01-13 21:20:34.940: E/Launcher(616): Error finding setting, default accessibility to not found: accessibility_enabled
01-13 21:20:34.940: D/Launcher.HomeFragment(616): onResume
01-13 21:20:34.940: D/MenuAppsGridFragment(616): onResume
01-13 21:20:34.950: D/PhoneStatusBar(495): hiding the MENU button
01-13 21:20:34.960: D/KeyguardViewMediator(406): setHidden false
01-13 21:20:34.970: I/[Gralloc](88): PERFORM_CREATE hnd=0x4194b1b0,fd=38,offset=0x0,size=1536000,base=0x43e4f000,phys_addr=0x8f2ce000
01-13 21:20:34.970: I/(88): ================allocat ion memory for rgba xres*yres = 480*800 fd = 38:4
01-13 21:20:34.980: I/(616): ION_IOC_IMPORT success dd3b1680,phy addr = 8f2ce000
01-13 21:20:35.000: E/Watchdog(406): !#Sync 310
01-13 21:20:35.060: D/KeyguardViewMediator(406): setHidden false
01-13 21:20:35.060: D/KeyguardViewMediator(406): setHidden false
01-13 21:20:35.070: I/[Gralloc](88): PERFORM_CREATE hnd=0x416a9c00,fd=42,offset=0x0,size=1536000,base=0x441c2000,phys_addr=0x8f445000
01-13 21:20:35.080: I/(88): ================allocat ion memory for rgba xres*yres = 480*800 fd = 42:5
01-13 21:20:35.080: I/(616): ION_IOC_IMPORT success d56a6b80,phy addr = 8f445000
01-13 21:20:35.100: D/KeyguardViewMediator(406): setHidden false
01-13 21:20:35.100: D/BatteryStatsImpl(406): ++++++xy WakeLock stop : pid=406, name=, type=0, tid=621, pid=406, pName=null
01-13 21:20:35.120: D/KeyguardViewMediator(406): setHidden false
01-13 21:20:35.120: D/KeyguardViewMediator(406): setHidden false
01-13 21:20:35.140: D/KeyguardViewMediator(406): setHidden false
01-13 21:20:35.160: D/KeyguardViewMediator(406): setHidden false
01-13 21:20:35.170: D/KeyguardUpdateMonitor(406): received broadcast android.intent.action.BATTERY_CHANGED
01-13 21:20:35.170: D/KeyguardUpdateMonitor(406): handleBatteryUpdate
01-13 21:20:35.170: D/STATUSBAR-BatteryController(495): onReceive() - ACTION_BATTERY_CHANGED
01-13 21:20:35.170: D/STATUSBAR-BatteryController(495): onReceive() - level:100
01-13 21:20:35.170: D/STATUSBAR-BatteryController(495): onReceive() - plugged:2
01-13 21:20:35.170: D/STATUSBAR-BatteryController(495): onReceive() - BATTERY_STATUS_FULL:
01-13 21:20:35.240: D/Launcher(616): onTrimMemory. Level: 5
01-13 21:20:35.250: D/KeyguardViewMediator(406): setHidden false
01-13 21:20:35.280: D/dalvikvm(2924): GC_CONCURRENT freed 341K, 13% free 9499K/10823K, paused 18ms+2ms, total 73ms
01-13 21:20:35.360: D/STATUSBAR-PhoneStatusBar(495): ACTION_BATTERY_CHANGED
01-13 21:20:35.360: D/STATUSBAR-PhoneStatusBar(495): NORMAL_BATTERY
01-13 21:20:35.370: I/MemoryTrimmer(2779): Trimming objects from memory, since app is in the background.
01-13 21:20:35.370: I/Finsky(2506): [1] com.google.android.finsky.utils.df.onTrimMemory(25): Memory trim requested to level 5
01-13 21:20:35.480: D/dalvikvm(2779): GC_CONCURRENT freed 389K, 12% free 10796K/12167K, paused 62ms+2ms, total 194ms
01-13 21:20:35.540: D/KeyguardViewMediator(406): setHidden false
01-13 21:20:35.540: D/KeyguardViewMediator(406): setHidden false
01-13 21:20:35.550: D/MotionEngine(406): [MotionEngine] -> PR_MOVE -> Move Recognition Lv(1)
01-13 21:20:35.600: E/(99): RIL_onMultiClientUnsolicitedResponse:
01-13 21:20:35.600: E/(99): unsupported multiclient unsolicited response code 1009
01-13 21:20:35.600: D/SPRDENG(163): eng_atauto_thread: At Auto Report
01-13 21:20:35.600: D/SPRDENG(163): eng_atauto_thread: j=-1
01-13 21:20:35.600: D/SPRDENG(163): eng_atauto_thread: CONFIGURED
01-13 21:20:35.600: D/SPRDENG(163): eng_atauto_thread: usb_status=1
01-13 21:20:35.600: D/SPRDENG(163): eng_atauto_thread: write at auto report to PC
01-13 21:20:35.730: D/MotionEngine(406): [### Motion Engine ###] GetMotionScenarioId -1.340753 4.673482 8.283937 0.000000 0.000000 0.000000 51 20
01-13 21:20:35.770: D/KeyguardViewMediator(406): setHidden false
01-13 21:20:36.040: E/SMD(108): DrReadUsbStatus File Open failed
: E/(): Device disconnected: 1
: E/(): Device disconnected
Below is Code of PrayerTimeActivity.java Code
http://pastebin.com/x94eGH9b
i found Solution finally
i put all code cause force close to try catch and now app work fine.
thanks.

Phonegap 3.2.0 "Unfortunately, AppName has stopped." dialog when closing app

When I close my app, I get a dialog box saying "Unfortunately, MyApp has stopped." and an OK button. By closing, I mean pressing the back button from the first screen. The app does close fine, but then this dialog appears a few seconds later.
I'm using PhoneGap 3.2.0. It didn't happen prior to updating to 3.x.x. I'm not sure exactly which version after this is the culprit.
The LogCat in Eclipse puts out this when it happens:
01-13 15:20:42.764: D/CordovaActivity(32367): onMessage(exit,null)
01-13 15:20:42.829: D/CordovaActivity(32367): Paused the application!
01-13 15:20:42.839: W/PluginManager(32367): THREAD WARNING: exec() call to App.exitApp blocked the main thread for 74ms. Plugin should use CordovaInterface.getThreadPool().
01-13 15:20:43.219: W/IInputConnectionWrapper(32367): showStatusIcon on inactive InputConnection
01-13 15:20:43.254: D/CordovaActivity(32367): CordovaActivity.onDestroy()
01-13 15:20:43.259: D/CordovaWebView(32367): >>> loadUrlNow()
01-13 15:20:43.284: D/AndroidRuntime(32367): Shutting down VM
01-13 15:20:43.284: W/dalvikvm(32367): threadid=1: thread exiting with uncaught exception (group=0x417752a0)
01-13 09:56:40.404: E/AndroidRuntime(13858): java.lang.RuntimeException: Unable to destroy activity {MyAppName}: java.lang.IllegalArgumentException: Receiver not registered: null
01-13 09:56:40.404: E/AndroidRuntime(13858): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3314)
01-13 09:56:40.404: E/AndroidRuntime(13858): at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3332)
01-13 09:56:40.404: E/AndroidRuntime(13858): at android.app.ActivityThread.access$1200(ActivityThread.java:140)
01-13 09:56:40.404: E/AndroidRuntime(13858): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1280)
01-13 09:56:40.404: E/AndroidRuntime(13858): at android.os.Handler.dispatchMessage(Handler.java:99)
01-13 09:56:40.404: E/AndroidRuntime(13858): at android.os.Looper.loop(Looper.java:137)
01-13 09:56:40.404: E/AndroidRuntime(13858): at android.app.ActivityThread.main(ActivityThread.java:4898)
01-13 09:56:40.404: E/AndroidRuntime(13858): at java.lang.reflect.Method.invokeNative(Native Method)
01-13 09:56:40.404: E/AndroidRuntime(13858): at java.lang.reflect.Method.invoke(Method.java:511)
01-13 09:56:40.404: E/AndroidRuntime(13858): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)
01-13 09:56:40.404: E/AndroidRuntime(13858): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)
01-13 09:56:40.404: E/AndroidRuntime(13858): at dalvik.system.NativeStart.main(Native Method)
01-13 09:56:40.404: E/AndroidRuntime(13858): Caused by: java.lang.IllegalArgumentException: Receiver not registered: null
01-13 09:56:40.404: E/AndroidRuntime(13858): at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:654)
01-13 09:56:40.404: E/AndroidRuntime(13858): at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1277)
01-13 09:56:40.404: E/AndroidRuntime(13858): at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:385)
01-13 09:56:40.404: E/AndroidRuntime(13858): at org.apache.cordova.device.Device.onDestroy(Device.java:98)
01-13 09:56:40.404: E/AndroidRuntime(13858): at org.apache.cordova.PluginManager.onDestroy(PluginManager.java:332)
01-13 09:56:40.404: E/AndroidRuntime(13858): at org.apache.cordova.CordovaWebView.handleDestroy(CordovaWebView.java:833)
01-13 09:56:40.404: E/AndroidRuntime(13858): at org.apache.cordova.CordovaActivity.onDestroy(CordovaActivity.java:774)
01-13 09:56:40.404: E/AndroidRuntime(13858): at android.app.Activity.performDestroy(Activity.java:5370)
01-13 09:56:40.404: E/AndroidRuntime(13858): at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1113)
01-13 09:56:40.404: E/AndroidRuntime(13858): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3301)
01-13 09:56:40.404: E/AndroidRuntime(13858): ... 11 more
Any ideas?
Until now, I've always been using the line
navigator.app.exitApp();
to close the app if I detect that I'm on the index.html page when the back button is pressed.
I tried instead to remove the backbutton listener and restore the default behaviour when the back button was pressed. It still results in the same problem.
Here's some shortened code snippets:
$(document).ready(function ()
{
document.addEventListener("deviceready", onDeviceReady, false);
}
function onDeviceReady()
{
document.addEventListener("backbutton", backButton, false);
});
function backButton()
{
var currentLocation = window.location.href.substr(window.location.href.lastIndexOf("/")+1);
switch (currentLocation) {
case 'index.html':
navigator.app.exitApp();
break;
}
Update 2014/01/13 16:00:
Not sure if it is any help, but I've noticed that it doesn't give any errors if I comment out the script src="cordova.js" from index.html.
In the file Device.java replace the content of OnDestroy with this
if( this.telephonyReceiver != null )
this.cordova.getActivity().unregisterReceiver(this.telephonyReceiver);
Warning: This is hiding the original problem where the BroadcastReceiver isn't being registered properly from what I got from the logcat. Adding the permission to the AndroidManifest.xml like suprnova said should've worked.
But if you don't need to know the phone state, ie, if you're getting a call, or something like that, and you need a quick fix.
Warning 2: When the next phonegap version comes out, this may get overridden.
Judging by your LogCat, the problem lies in the Device.java file, and looking at the source here, the class registers a BroadcastReceiver to check the phone state.
Make sure you have added:
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
to your AndroidManifest.xml.

Linphone Android: missing libraries of the processors?

i'm getting crazy with this thing...
I've installed all, compiled all, retried a lot of time, followed various guides....
At the end i cam up with the project in eclipse without error (finally).
But... hey! it crash with this logcat!
01-13 15:36:26.123: D/dalvikvm(17992): WAIT_FOR_CONCURRENT_GC blocked 0ms
01-13 15:36:26.208: D/dalvikvm(17992): GC_FOR_ALLOC freed 113K, 13% free 9552K/10951K, paused 19ms, total 20ms
01-13 15:36:26.208: I/dalvikvm-heap(17992): Grow heap (frag case) to 13.295MB for 2908176-byte allocation
01-13 15:36:26.233: D/dalvikvm(17992): GC_CONCURRENT freed <1K, 11% free 12391K/13831K, paused 2ms+2ms, total 21ms
01-13 15:36:26.303: D/dalvikvm(17992): GC_FOR_ALLOC freed 0K, 11% free 12391K/13831K, paused 16ms, total 16ms
01-13 15:36:26.308: I/dalvikvm-heap(17992): Grow heap (frag case) to 14.854MB for 1635856-byte allocation
01-13 15:36:26.333: D/dalvikvm(17992): GC_CONCURRENT freed 0K, 10% free 13988K/15431K, paused 2ms+2ms, total 24ms
01-13 15:36:26.363: I/Linphone(17992): ==== Phone information dump ====
01-13 15:36:26.363: I/Linphone(17992): DEVICE=GT-I9100
01-13 15:36:26.363: I/Linphone(17992): MODEL=GT-I9100
01-13 15:36:26.363: I/Linphone(17992): SDK=16
01-13 15:36:26.363: I/Linphone(17992): Linphone version is null (2211)
01-13 15:36:26.373: W/Unable to load optional library lib(17992): avutil-linphone-arm
01-13 15:36:26.373: W/Unable to load optional library lib(17992): swscale-linphone-arm
01-13 15:36:26.373: W/Unable to load optional library lib(17992): avcodec-linphone-arm
01-13 15:36:26.378: W/Unable to load optional library lib(17992): crypto-linphone-armeabi-v7a
01-13 15:36:26.378: W/Unable to load optional library lib(17992): ssl-linphone-armeabi-v7a
01-13 15:36:26.378: W/Unable to load optional library lib(17992): srtp-armeabi-v7a
01-13 15:36:26.378: W/Unable to load optional library lib(17992): zrtpcpp-armeabi-v7a
01-13 15:36:26.378: W/dalvikvm(17992): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lorg/linphone/core/LinphoneCoreFactoryImpl;
01-13 15:36:26.378: D/AndroidRuntime(17992): Shutting down VM
01-13 15:36:26.378: W/dalvikvm(17992): threadid=1: thread exiting with uncaught exception (group=0x410c42a0)
01-13 15:36:26.378: E/AndroidRuntime(17992): FATAL EXCEPTION: main
01-13 15:36:26.378: E/AndroidRuntime(17992): java.lang.ExceptionInInitializerError
01-13 15:36:26.378: E/AndroidRuntime(17992): at java.lang.Class.classForName(Native Method)
01-13 15:36:26.378: E/AndroidRuntime(17992): at java.lang.Class.forName(Class.java:217)
01-13 15:36:26.378: E/AndroidRuntime(17992): at java.lang.Class.forName(Class.java:172)
01-13 15:36:26.378: E/AndroidRuntime(17992): at org.linphone.core.LinphoneCoreFactory.instance(LinphoneCoreFactory.java:43)
01-13 15:36:26.378: E/AndroidRuntime(17992): at org.linphone.LinphoneManager.startLibLinphone(LinphoneManager.java:550)
01-13 15:36:26.378: E/AndroidRuntime(17992): at org.linphone.LinphoneManager.createAndStart(LinphoneManager.java:344)
01-13 15:36:26.378: E/AndroidRuntime(17992): at org.linphone.LinphoneService.onCreate(LinphoneService.java:157)
01-13 15:36:26.378: E/AndroidRuntime(17992): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2414)
01-13 15:36:26.378: E/AndroidRuntime(17992): at android.app.ActivityThread.access$1700(ActivityThread.java:140)
01-13 15:36:26.378: E/AndroidRuntime(17992): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1319)
01-13 15:36:26.378: E/AndroidRuntime(17992): at android.os.Handler.dispatchMessage(Handler.java:99)
01-13 15:36:26.378: E/AndroidRuntime(17992): at android.os.Looper.loop(Looper.java:137)
01-13 15:36:26.378: E/AndroidRuntime(17992): at android.app.ActivityThread.main(ActivityThread.java:4921)
01-13 15:36:26.378: E/AndroidRuntime(17992): at java.lang.reflect.Method.invokeNative(Native Method)
01-13 15:36:26.378: E/AndroidRuntime(17992): at java.lang.reflect.Method.invoke(Method.java:511)
01-13 15:36:26.378: E/AndroidRuntime(17992): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
01-13 15:36:26.378: E/AndroidRuntime(17992): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
01-13 15:36:26.378: E/AndroidRuntime(17992): at dalvik.system.NativeStart.main(Native Method)
01-13 15:36:26.378: E/AndroidRuntime(17992): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load linphone-armeabi-v7a: findLibrary returned null
01-13 15:36:26.378: E/AndroidRuntime(17992): at java.lang.Runtime.loadLibrary(Runtime.java:365)
01-13 15:36:26.378: E/AndroidRuntime(17992): at java.lang.System.loadLibrary(System.java:535)
01-13 15:36:26.378: E/AndroidRuntime(17992): at org.linphone.core.LinphoneCoreFactoryImpl.<clinit>(LinphoneCoreFactoryImpl.java:69)
01-13 15:36:26.378: E/AndroidRuntime(17992): ... 18 more
I think the problem is this: Caused by: java.lang.UnsatisfiedLinkError: Couldn't load linphone-armeabi-v7a: findLibrary returned null
But (because i've done all) i don't know why something is missing and where i can take this.
Can someone help me? I really don't know how to do, i have no more idea.
Thanks
I had a problem like this. After many searches and many tries I finally fixed it.
I changed prepare.py in this line:
Preparator.__init__(self,targets,default_targets=['armv7','arm64','x86','x86_64'], virtual_targets=android_virtual_targets)
I resolved it and ran ./prepare.py again and I found x86 and x86-x64 dirs and *.so files in the lib directory. I can run linphone android app on all android devices.
I hope I helped you to solve your problem.

Errors when using GLSurfaceView.onPause()

I'm developing an Android game with AndEngine, and i'm getting the following error within the logCat:
01-13 20:44:46.726: D/AndEngine(16843): StartActivity.onPause #(Thread: 'main')
01-13 20:44:46.726: I/GLThread(16843): onPause tid=17
01-13 20:44:46.726: I/Main thread(16843): onPause waiting for mPaused.
01-13 20:44:46.734: I/GLThread(16843): mPaused is now true tid=17
01-13 20:44:46.734: I/GLThread(16843): releasing EGL surface because paused tid=17
01-13 20:44:46.734: W/EglHelper(16843): destroySurface() tid=17
01-13 20:44:46.734: D/BRCM_EGL(16843): eglMakeCurrent(NULL) Thread: 16858
01-13 20:44:46.734: D/BRCM_EGL(16843): eglDestroySurface() surface: 0x219018, android window 0x2187f8, Thread: 16858
01-13 20:44:46.734: W/EglHelper(16843): finish() tid=17
01-13 20:44:46.734: D/BRCM_EGL(16843): eglDestroyContext() context: 0x266ec8, VC context: 1, Thread 16858
01-13 20:44:46.734: E/EGL_SERVER(16843): pid mem_get_free_space before = 5ffb80
01-13 20:44:46.734: E/EGL_SERVER(16843): pid mem_get_free_space = 5ffb80
01-13 20:44:46.750: I/GLThread(16843): releasing EGL context because paused tid=17
01-13 20:44:46.750: D/AndEngine(16843): StartActivity.onPauseGame #(Thread: 'main')
01-13 20:44:46.859: I/GLThread(16843): noticed surfaceView surface lost tid=17
01-13 20:44:48.843: D/AndEngine(16843): StartActivity.onResume #(Thread: 'main')
01-13 20:44:48.843: I/GLThread(16843): onResume tid=17
01-13 20:44:48.843: I/Main thread(16843): onResume waiting for !mPaused.
01-13 20:44:48.843: I/GLThread(16843): mPaused is now false tid=17
01-13 20:44:48.851: I/GLThread(16843): noticed surfaceView surface acquired tid=17
01-13 20:44:48.851: W/EglHelper(16843): start() tid=17
01-13 20:44:48.859: D/BRCM_EGL(16843): eglCreateContext() context: 0x266ec8, VC context 1, Thread 16858
01-13 20:44:48.859: W/EglHelper(16843): createContext com.google.android.gles_jni.EGLContextImpl#40521008 tid=17
01-13 20:44:48.859: W/GLThread(16843): egl createSurface
01-13 20:44:48.859: W/EglHelper(16843): createSurface() tid=17
01-13 20:44:48.859: D/BRCM_EGL(16843): eglCreateWindowSurface() surface: 0x219018, VC surface: 1, Thread: 16858
01-13 20:44:48.859: D/BRCM_EGL(16843): eglMakeCurrent(0x266ec8, 0x219018, 0x219018) Thread: 16858
01-13 20:44:48.859: I/Main thread(16843): onWindowResize waiting for render complete from tid=17
01-13 20:44:48.867: W/GLThread(16843): onSurfaceCreated
01-13 20:44:48.867: D/AndEngine(16843): VERSION: OpenGL ES 2.0
01-13 20:44:48.867: D/AndEngine(16843): RENDERER: VideoCore IV HW
01-13 20:44:48.867: D/AndEngine(16843): EGLCONFIG: EGLConfig(Red=5, Green=6, Blue=5, Alpha=0, Depth=0, Stencil=0)
01-13 20:44:48.867: D/AndEngine(16843): EXTENSIONS: GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_texture_npot GL_OES_depth24 GL_OES_vertex_half_float GL_OES_EGL_image GL_EXT_discard_framebuffer GL_OES_rgb8_rgba8 GL_OES_depth32
01-13 20:44:48.867: D/AndEngine(16843): MAX_VERTEX_ATTRIBS: 8
01-13 20:44:48.867: D/AndEngine(16843): MAX_VERTEX_UNIFORM_VECTORS: 128
01-13 20:44:48.867: D/AndEngine(16843): MAX_FRAGMENT_UNIFORM_VECTORS: 128
01-13 20:44:48.867: D/AndEngine(16843): MAX_TEXTURE_IMAGE_UNITS: 8
01-13 20:44:48.867: D/AndEngine(16843): MAX_TEXTURE_SIZE: 2048
01-13 20:44:48.867: D/AndEngine(16843): StartActivity.onSurfaceCreated #(Thread: 'GLThread 17')
01-13 20:44:48.867: D/AndEngine(16843): StartActivity.onReloadResources #(Thread: 'GLThread 17')
01-13 20:44:48.867: D/AndEngine(16843): StartActivity.onResumeGame #(Thread: 'GLThread 17')
01-13 20:44:48.867: W/GLThread(16843): onSurfaceChanged(480, 320)
01-13 20:44:48.867: D/AndEngine(16843): StartActivity.onSurfaceChanged(Width=480, Height=320) #(Thread: 'GLThread 17')
01-13 20:44:49.085: E/(16843): RTOS COMMON MEM zero linear buffer allocated 1949696 0 205
01-13 20:44:49.085: E/(16843): BIG MEM OUT OF HANDLES
01-13 20:44:49.132: D/dalvikvm(16843): GC_EXTERNAL_ALLOC freed 42K, 51% free 3021K/6087K, external 696K/1208K, paused 47ms
01-13 20:44:49.289: E/(16843): Unable to Find Phys Addr for 225a98
01-13 20:44:49.289: E/(16843): RTOS COMMON MEM zero linear buffer allocated 4771840 0 205
01-13 20:44:49.289: E/(16843): BIG MEM OUT OF HANDLES
01-13 20:44:49.539: E/(16843): Unable to Find Phys Addr for 225a98
01-13 20:44:49.593: E/(16843): RTOS COMMON MEM zero linear buffer allocated 360448 0 205
01-13 20:44:49.593: E/(16843): BIG MEM OUT OF HANDLES
01-13 20:44:49.640: E/(16843): Unable to Find Phys Addr for 225a98
01-13 20:44:49.679: D/dalvikvm(16843): GC_EXPLICIT freed 260K, 51% free 3020K/6087K, external 696K/1208K, paused 42ms
01-13 20:44:49.710: E/(16843): Unable to Find Phys Addr for 225a98
01-13 20:44:49.710: E/(16843): Unable to Find Phys Addr for 225a98
01-13 20:44:49.710: E/(16843): Unable to Find Phys Addr for 225a98
01-13 20:44:49.710: E/(16843): Unable to Find Phys Addr for 225a98
01-13 20:44:49.710: E/(16843): Unable to Find Phys Addr for 225a98
01-13 20:44:49.718: E/BRCM_EGL(16843): eglSwapBuffers Error 0x505
01-13 20:44:49.726: W/EglHelper(16843): destroySurface() tid=17
01-13 20:44:49.726: D/BRCM_EGL(16843): eglMakeCurrent(NULL) Thread: 16858
01-13 20:44:49.726: D/BRCM_EGL(16843): eglDestroySurface() surface: 0x219018, android window 0x2187f8, Thread: 16858
01-13 20:44:49.726: W/EglHelper(16843): finish() tid=17
01-13 20:44:49.726: D/BRCM_EGL(16843): eglDestroyContext() context: 0x266ec8, VC context: 1, Thread 16858
01-13 20:44:49.734: E/EGL_SERVER(16843): pid mem_get_free_space before = 5ffb80
01-13 20:44:49.734: E/EGL_SERVER(16843): pid mem_get_free_space = 5ffb80
01-13 20:44:49.750: W/dalvikvm(16843): threadid=12: thread exiting with uncaught exception (group=0x4001c578)
01-13 20:44:49.804: E/AndroidRuntime(16843): FATAL EXCEPTION: GLThread 17
01-13 20:44:49.804: E/AndroidRuntime(16843): java.lang.RuntimeException: eglSwapBuffers failed: EGL_SUCCESS
01-13 20:44:49.804: E/AndroidRuntime(16843): at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1085)
01-13 20:44:49.804: E/AndroidRuntime(16843): at android.opengl.GLSurfaceView$EglHelper.swap(GLSurfaceView.java:1043)
01-13 20:44:49.804: E/AndroidRuntime(16843): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1369)
01-13 20:44:49.804: E/AndroidRuntime(16843): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1123)
01-13 20:44:49.835: D/AndEngine(16843): StartActivity.onPause #(Thread: 'main')
01-13 20:44:49.835: I/GLThread(16843): onPause tid=17
01-13 20:44:49.835: D/AndEngine(16843): StartActivity.onPauseGame #(Thread: 'main')
01-13 20:44:57.968: D/AndEngine(16843): StartActivity.onDestroy #(Thread: 'main')
01-13 20:44:57.968: D/AndEngine(16843): UpdateThread interrupted. Don't worry - this EngineDestroyedException is most likely expected!
01-13 20:44:57.968: D/AndEngine(16843): org.andengine.engine.Engine$EngineDestroyedException
01-13 20:44:57.968: D/AndEngine(16843): at org.andengine.engine.Engine.throwOnDestroyed(Engine.java:574)
01-13 20:44:57.968: D/AndEngine(16843): at org.andengine.engine.Engine.onTickUpdate(Engine.java:560)
01-13 20:44:57.968: D/AndEngine(16843): at org.andengine.engine.Engine$UpdateThread.run(Engine.java:820)
01-13 20:44:57.968: D/AndEngine(16843): StartActivity.onDestroyResources #(Thread: 'main')
01-13 20:44:57.968: D/AndEngine(16843): StartActivity.onGameDestroyed #(Thread: 'main')
The game works fine on a lot of devices, but crashes with this error on Samsung Galaxy Ace (GT-S5830C). It happens after i close/reopen the game a few times, or switch through game activities a few times.
Actually, this problem does not happens on load/reload of the game if i kill the process on game exit. It also does not happens when switching activities if i don't call GLSurfaceView.onPause() when the activity is paused. Both are not good practices, but gives us some clues about the problem, since both seems to avoid asset reloading which might be the root cause. Am i missing something?
Could it be a device-related problem? What are the side effects of this workarounds?

Categories

Resources