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
I'm doing bluemix tutorial Sample Android App Link (android app) and got this exception. What can be wrong? I did everything step by step, generated signiture for my android app, linked facebook app with my bluemix app, compiled all libraries needed in gradle. Application works (adds and edits items) but I cannot delete items and authorize through facebook - and it is my aim.
An error stack is below:
03-14 21:29:49.579 14165-14165/? D/dalvikvm: Late-enabling CheckJNI
03-14 21:29:49.659 14165-14165/com.ibm.hellotodoadvanced D/HyLog: I : /data/font/config/sfconfig.dat, No such file or directory (2)
03-14 21:29:49.659 14165-14165/com.ibm.hellotodoadvanced D/HyLog: I : /data/font/config/dfactpre.dat, No such file or directory (2)
03-14 21:29:49.659 14165-14165/com.ibm.hellotodoadvanced D/HyLog: I : /data/font/config/sfconfig.dat, No such file or directory (2)
03-14 21:29:50.079 14165-14165/com.ibm.hellotodoadvanced I/dalvikvm: Could not find method android.app.Notification$Builder.setLocalOnly, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zza
03-14 21:29:50.079 14165-14165/com.ibm.hellotodoadvanced W/dalvikvm: VFY: unable to resolve virtual method 265: Landroid/app/Notification$Builder;.setLocalOnly (Z)Landroid/app/Notification$Builder;
03-14 21:29:50.079 14165-14165/com.ibm.hellotodoadvanced D/dalvikvm: VFY: replacing opcode 0x6e at 0x00c2
03-14 21:29:50.079 14165-14165/com.ibm.hellotodoadvanced I/dalvikvm: Could not find method android.content.pm.PackageManager.getPackageInstaller, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zzh
03-14 21:29:50.079 14165-14165/com.ibm.hellotodoadvanced W/dalvikvm: VFY: unable to resolve virtual method 572: Landroid/content/pm/PackageManager;.getPackageInstaller ()Landroid/content/pm/PackageInstaller;
03-14 21:29:50.079 14165-14165/com.ibm.hellotodoadvanced D/dalvikvm: VFY: replacing opcode 0x6e at 0x000b
03-14 21:29:50.329 14165-14165/com.ibm.hellotodoadvanced I/Adreno-EGL: <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: ()
OpenGL ES Shader Compiler Version: E031.24.00.08
Build Date: 03/21/14 Fri
Local Branch: AU200-20140313-all-patches-KK8x26-664328
Remote Branch:
Local Patches:
Reconstruct Branch:
03-14 21:29:50.369 14165-14165/com.ibm.hellotodoadvanced D/OpenGLRenderer: Enabling debug mode 0
03-14 21:29:50.459 14165-14165/com.ibm.hellotodoadvanced I/ActivityManager: Timeline: Activity_idle id: android.os.BinderProxy#42106d40 time:95089030
03-14 21:29:50.589 14165-14237/com.ibm.hellotodoadvanced W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/nio/file/Path;)
03-14 21:29:50.589 14165-14237/com.ibm.hellotodoadvanced W/dalvikvm: VFY: unable to find class referenced in signature ([Ljava/nio/file/OpenOption;)
03-14 21:29:50.589 14165-14237/com.ibm.hellotodoadvanced I/dalvikvm: Could not find method java.nio.file.Files.newOutputStream, referenced from method okio.Okio.sink
03-14 21:29:50.589 14165-14237/com.ibm.hellotodoadvanced W/dalvikvm: VFY: unable to resolve static method 60675: Ljava/nio/file/Files;.newOutputStream (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream;
03-14 21:29:50.589 14165-14237/com.ibm.hellotodoadvanced D/dalvikvm: VFY: replacing opcode 0x71 at 0x000a
03-14 21:29:50.589 14165-14237/com.ibm.hellotodoadvanced W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/nio/file/Path;)
03-14 21:29:50.599 14165-14237/com.ibm.hellotodoadvanced W/dalvikvm: VFY: unable to find class referenced in signature ([Ljava/nio/file/OpenOption;)
03-14 21:29:50.599 14165-14237/com.ibm.hellotodoadvanced I/dalvikvm: Could not find method java.nio.file.Files.newInputStream, referenced from method okio.Okio.source
03-14 21:29:50.599 14165-14237/com.ibm.hellotodoadvanced W/dalvikvm: VFY: unable to resolve static method 60674: Ljava/nio/file/Files;.newInputStream (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
03-14 21:29:50.599 14165-14237/com.ibm.hellotodoadvanced D/dalvikvm: VFY: replacing opcode 0x71 at 0x000a
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: java.lang.RuntimeException: Failed to save certificate from response
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.ibm.mobilefirstplatform.clientsdk.android.security.internal.AuthorizationProcessManager.saveCertificateFromResponse(AuthorizationProcessManager.java:222)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.ibm.mobilefirstplatform.clientsdk.android.security.internal.AuthorizationProcessManager.access$100(AuthorizationProcessManager.java:51)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.ibm.mobilefirstplatform.clientsdk.android.security.internal.AuthorizationProcessManager$1.handleAuthorizationSuccessResponse(AuthorizationProcessManager.java:133)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.ibm.mobilefirstplatform.clientsdk.android.security.internal.AuthorizationProcessManager$InnerAuthorizationResponseListener.onSuccess(AuthorizationProcessManager.java:469)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.ibm.mobilefirstplatform.clientsdk.android.security.internal.AuthorizationRequestAgent.processResponse(AuthorizationRequestAgent.java:388)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.ibm.mobilefirstplatform.clientsdk.android.security.internal.AuthorizationRequestAgent.processResponseWrapper(AuthorizationRequestAgent.java:542)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.ibm.mobilefirstplatform.clientsdk.android.security.internal.AuthorizationRequestAgent.onSuccess(AuthorizationRequestAgent.java:513)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.ibm.mobilefirstplatform.clientsdk.android.core.api.internal.BaseRequest$1.onResponse(BaseRequest.java:419)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.squareup.okhttp.Call$AsyncCall.execute(Call.java:170)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.squareup.okhttp.internal.NamedRunnable.run(NamedRunnable.java:33)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at java.lang.Thread.run(Thread.java:841)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: Caused by: java.security.cert.CertificateNotYetValidException
03-14 21:29:52.999 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.android.org.conscrypt.OpenSSLX509Certificate.checkValidity(OpenSSLX509Certificate.java:216)
03-14 21:29:52.999 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.ibm.mobilefirstplatform.clientsdk.android.security.internal.certificate.CertificatesUtility.checkValidityWithPublicKey(CertificatesUtility.java:59)
03-14 21:29:52.999 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.ibm.mobilefirstplatform.clientsdk.android.security.internal.AuthorizationProcessManager.saveCertificateFromResponse(AuthorizationProcessManager.java:214)
03-14 21:29:52.999 14165-14237/com.ibm.hellotodoadvanced W/System.err: ... 12 more
03-14 21:29:52.999 14165-14237/com.ibm.hellotodoadvanced E/MainActivity: Failed to authenticate against MCA: Throwable: Failed to save certificate from response
03-14 21:29:52.999 14165-14237/com.ibm.hellotodoadvanced E/MainActivity: Failed to authenticate against MCA, unknown reason
A few things could be going wrong here:
Your test device may be displaying an incorrect date or time. Ensure the date and time are accurate.
You may be using an unsupported Android OS. This sample supports API level 14 and up, (Android 4.0 and up).
Based on the other warnings in the logs, your test device may not contain the most up to date libraries needed. Ensure your device is up to date and/or emulator is properly configured.
Lastly, the further you continue down the error stack the more accurate a solution I can provide. I have never seen this error before so I will need the entire error stack plus your appId and route if the above solutions do not resolve your problem.
I'm having an unknown logcat warning and error message shown while I tried to run my code in API 16 of android. It's working in Android L.
I'm trying to fetch notifications using the code.
Could anyone know this. Please help.
07-09 20:52:45.850 26369-26369/? D/dalvikvm﹕ Late-enabling CheckJNI
07-09 20:52:46.681 26369-26369/com.example.tony.acctest E/Trace﹕ error opening trace file: No such file or directory (2)
07-09 20:52:47.362 26369-26369/com.example.tony.acctest I/dalvikvm﹕ Could not find method android.view.ViewGroup.onRtlPropertiesChanged, referenced from method android.support.v7.widget.Toolbar.onRtlPropertiesChanged
07-09 20:52:47.362 26369-26369/com.example.tony.acctest W/dalvikvm﹕ VFY: unable to resolve virtual method 13334: Landroid/view/ViewGroup;.onRtlPropertiesChanged (I)V
07-09 20:52:47.362 26369-26369/com.example.tony.acctest D/dalvikvm﹕ VFY: replacing opcode 0x6f at 0x0007
07-09 20:52:47.372 26369-26369/com.example.tony.acctest I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.internal.widget.TintTypedArray.getChangingConfigurations
07-09 20:52:47.372 26369-26369/com.example.tony.acctest W/dalvikvm﹕ VFY: unable to resolve virtual method 412: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
07-09 20:52:47.372 26369-26369/com.example.tony.acctest D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
07-09 20:52:47.372 26369-26369/com.example.tony.acctest I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.internal.widget.TintTypedArray.getType
07-09 20:52:47.372 26369-26369/com.example.tony.acctest W/dalvikvm﹕ VFY: unable to resolve virtual method 434: Landroid/content/res/TypedArray;.getType (I)I
07-09 20:52:47.372 26369-26369/com.example.tony.acctest D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
I'm not able to run the service, it's not working. As per my knowledge the code should work from API level 14.
To refer code, please take a look at my answer at Cannot access notification through Android AccessibilityService
The logcat error is still shwoing, but I found it. The code worked when I compiled it with API version 14.
I have several problems running the native android example (Hello World) from IBM MobileFirst Studio (Eclipse Kepler) with an integration with Android Studio.
I followed all the steps in the documentation including all prerequisites here. When I run the application via the context menu: Right click on the application Run As > Android Studio Project. MobileFirst launches Android Studio, but the application remains with the following errors and warnings in AndroidStudio configuration:
Warning: AndroidStudio asks me to migrate to Gradle. I ignore this migration, because I have found that the compilation and deployment Gradle is quite delayed.
I select my project and pressed F4, in the Project > Project SDK option, the SDK is invalid, I select one valid.
In the Modules > Modules SDK option, the SDK is invalid, I select one favorite, same as above.
In the Libraries option, there are 3 libraries not found, so I remove the references.
In SDK option I select only the API 10.
At this point the application compiles and deploys the emulator correctly. When running, the IBM splash screen appears and closes immediately without entering the application.
The following appears on the logcat:
02-20 09:43:00.135 582-582/com.HelloWorld I/CordovaLog﹕ Changing log level to DEBUG(3)
02-20 09:43:00.165 582-582/com.HelloWorld I/dalvikvm﹕ Failed resolving Lcom/worklight/wlclient/api/WLClient$ActivityListener; interface 16 'Landroid/app/Application$ActivityLifecycleCallbacks;'
02-20 09:43:00.165 582-582/com.HelloWorld W/dalvikvm﹕ Link of class 'Lcom/worklight/wlclient/api/WLClient$ActivityListener;' failed
02-20 09:43:00.176 582-582/com.HelloWorld I/dalvikvm﹕ Failed resolving Lcom/worklight/wlclient/api/WLClient$ActivityListener; interface 16 'Landroid/app/Application$ActivityLifecycleCallbacks;'
02-20 09:43:00.176 582-582/com.HelloWorld W/dalvikvm﹕ Link of class 'Lcom/worklight/wlclient/api/WLClient$ActivityListener;' failed
02-20 09:43:00.176 582-582/com.HelloWorld E/dalvikvm﹕ Could not find class 'com.worklight.wlclient.api.WLClient$ActivityListener', referenced from method com.worklight.wlclient.api.WLClient.<init>
02-20 09:43:00.176 582-582/com.HelloWorld W/dalvikvm﹕ VFY: unable to resolve new-instance 1728 (Lcom/worklight/wlclient/api/WLClient$ActivityListener;) in Lcom/worklight/wlclient/api/WLClient;
02-20 09:43:00.176 582-582/com.HelloWorld D/dalvikvm﹕ VFY: replacing opcode 0x22 at 0x003d
02-20 09:43:00.195 582-582/com.HelloWorld D/dalvikvm﹕ VFY: dead code 0x003f-0048 in Lcom/worklight/wlclient/api/WLClient;.<init> (Landroid/content/Context;)V
02-20 09:43:00.205 582-582/com.HelloWorld I/dalvikvm﹕ Failed resolving Lcom/worklight/wlclient/api/WLClient$ActivityListener; interface 16 'Landroid/app/Application$ActivityLifecycleCallbacks;'
02-20 09:43:00.205 582-582/com.HelloWorld W/dalvikvm﹕ Link of class 'Lcom/worklight/wlclient/api/WLClient$ActivityListener;' failed
02-20 09:43:00.205 582-582/com.HelloWorld I/dalvikvm﹕ Failed resolving Lcom/worklight/wlclient/api/WLClient$ActivityListener; interface 16 'Landroid/app/Application$ActivityLifecycleCallbacks;'
02-20 09:43:00.205 582-582/com.HelloWorld W/dalvikvm﹕ Link of class 'Lcom/worklight/wlclient/api/WLClient$ActivityListener;' failed
02-20 09:43:00.215 582-582/com.HelloWorld I/dalvikvm﹕ Could not find method com.worklight.wlclient.api.WLClient$ActivityListener.isAppInBackground, referenced from method com.worklight.wlclient.api.WLClient.isApplicationSentToBackground
02-20 09:43:00.215 582-582/com.HelloWorld W/dalvikvm﹕ VFY: unable to resolve virtual method 12490: Lcom/worklight/wlclient/api/WLClient$ActivityListener;.isAppInBackground ()Z
02-20 09:43:00.215 582-582/com.HelloWorld D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x000c
02-20 09:43:00.215 582-582/com.HelloWorld D/dalvikvm﹕ VFY: dead code 0x000f-000f in Lcom/worklight/wlclient/api/WLClient;.isApplicationSentToBackground (Landroid/content/Context;)Z
02-20 09:43:00.365 582-592/com.HelloWorld W/WLClient﹕ WLClient.createInstance in WLClient.java:208 :: You should pass a context that is assignable from the Activity class. WLClient instance may be used to start an activity.
02-20 09:43:00.955 582-582/com.HelloWorld I/dalvikvm﹕ Failed resolving Lcom/worklight/androidgap/WLSplashScreen$ActivityListener; interface 16 'Landroid/app/Application$ActivityLifecycleCallbacks;'
02-20 09:43:00.955 582-582/com.HelloWorld W/dalvikvm﹕ Link of class 'Lcom/worklight/androidgap/WLSplashScreen$ActivityListener;' failed
02-20 09:43:00.955 582-582/com.HelloWorld E/dalvikvm﹕ Could not find class 'com.worklight.androidgap.WLSplashScreen$ActivityListener', referenced from method com.worklight.androidgap.WLSplashScreen.displaySplashDialog
02-20 09:43:00.955 582-582/com.HelloWorld W/dalvikvm﹕ VFY: unable to resolve new-instance 1261 (Lcom/worklight/androidgap/WLSplashScreen$ActivityListener;) in Lcom/worklight/androidgap/WLSplashScreen;
02-20 09:43:00.955 582-582/com.HelloWorld D/dalvikvm﹕ VFY: replacing opcode 0x22 at 0x0064
02-20 09:43:00.955 582-582/com.HelloWorld D/dalvikvm﹕ VFY: dead code 0x0066-006f in Lcom/worklight/androidgap/WLSplashScreen;.displaySplashDialog (Landroid/app/Activity;I)V
02-20 09:43:00.975 582-592/com.HelloWorld D/wl.splashscreen﹕ WLSplashScreen.show in WLSplashScreen.java:64 :: Showing Splash Screen
02-20 09:43:01.035 582-582/com.HelloWorld D/dalvikvm﹕ GC_EXTERNAL_ALLOC freed 735K, 55% free 2796K/6151K, external 2002K/2137K, paused 60ms
02-20 09:43:01.105 582-582/com.HelloWorld D/CordovaActivity﹕ Resuming the App
02-20 09:43:01.855 582-592/com.HelloWorld D/prepackagedAssetManager﹕ PrepackagedAssetsManager.copyPrepackagedAssetsToLocalStorage in PrepackagedAssetsManager.java:68 :: New installation/upgrade detected, copying resources and saving new checksum
02-20 09:43:02.195 582-592/com.HelloWorld D/wl﹕ WL.doPrepareAssetsWork in WL.java:287 :: no need to check web resource integrity
02-20 09:43:02.205 582-582/com.HelloWorld D/CordovaActivity﹕ CordovaActivity.init()
02-20 09:43:02.215 582-582/com.HelloWorld I/dalvikvm﹕ Could not find method android.webkit.WebView.<init>, referenced from method org.apache.cordova.CordovaWebView.<init>
02-20 09:43:02.215 582-582/com.HelloWorld W/dalvikvm﹕ VFY: unable to resolve direct method 551: Landroid/webkit/WebView;.<init> (Landroid/content/Context;Landroid/util/AttributeSet;IZ)V
02-20 09:43:02.215 582-582/com.HelloWorld D/dalvikvm﹕ VFY: replacing opcode 0x70 at 0x0000
02-20 09:43:02.215 582-582/com.HelloWorld D/dalvikvm﹕ VFY: dead code 0x0003-0011 in Lorg/apache/cordova/CordovaWebView;.<init> (Landroid/content/Context;Landroid/util/AttributeSet;IZ)V
02-20 09:43:02.215 582-582/com.HelloWorld I/dalvikvm﹕ Could not find method android.webkit.WebView.setWebContentsDebuggingEnabled, referenced from method org.apache.cordova.CordovaWebView.enableRemoteDebugging
02-20 09:43:02.215 582-582/com.HelloWorld W/dalvikvm﹕ VFY: unable to resolve static method 569: Landroid/webkit/WebView;.setWebContentsDebuggingEnabled (Z)V
02-20 09:43:02.215 582-582/com.HelloWorld D/dalvikvm﹕ VFY: replacing opcode 0x71 at 0x0001
02-20 09:43:02.295 582-582/com.HelloWorld I/dalvikvm﹕ Could not find method android.content.Intent.setSelector, referenced from method org.apache.cordova.CordovaUriHelper.shouldOverrideUrlLoading
02-20 09:43:02.295 582-582/com.HelloWorld W/dalvikvm﹕ VFY: unable to resolve virtual method 186: Landroid/content/Intent;.setSelector (Landroid/content/Intent;)V
02-20 09:43:02.305 582-582/com.HelloWorld D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x005a
02-20 09:43:02.345 582-582/com.HelloWorld D/CordovaWebView﹕ CordovaWebView is running on device made by: unknown
02-20 09:43:02.375 582-582/com.HelloWorld I/CordovaWebView﹕ Disabled addJavascriptInterface() bridge since Android version is old.
02-20 09:43:02.375 582-582/com.HelloWorld D/CordovaActivity﹕ CordovaActivity.createViews()
02-20 09:43:02.385 582-582/com.HelloWorld D/CordovaWebView﹕ >>> loadUrl(file:///android_asset/www/skinLoader.html)
02-20 09:43:02.385 582-582/com.HelloWorld D/PluginManager﹕ init()
02-20 09:43:02.385 582-582/com.HelloWorld I/dalvikvm﹕ Could not find method android.webkit.CookieManager.setAcceptThirdPartyCookies, referenced from method com.worklight.androidgap.plugin.WLInitializationPlugin.initialize
02-20 09:43:02.385 582-582/com.HelloWorld W/dalvikvm﹕ VFY: unable to resolve virtual method 505: Landroid/webkit/CookieManager;.setAcceptThirdPartyCookies (Landroid/webkit/WebView;Z)V
02-20 09:43:02.385 582-582/com.HelloWorld D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x001a
02-20 09:43:02.405 582-582/com.HelloWorld D/CordovaWebView﹕ >>> loadUrlNow()
02-20 09:43:02.415 582-582/com.HelloWorld D/SoftKeyboardDetect﹕ Ignore this event
02-20 09:43:02.575 582-582/com.HelloWorld D/CordovaWebViewClient﹕ onPageStarted(file:///android_asset/www/skinLoader.html)
02-20 09:43:02.609 582-582/com.HelloWorld D/CordovaActivity﹕ onMessage(onPageStarted,file:///android_asset/www/skinLoader.html)
02-20 09:43:03.065 582-582/com.HelloWorld D/JsMessageQueue﹕ Set native->JS mode to OnlineEventsBridgeMode
02-20 09:43:03.105 582-582/com.HelloWorld D/CordovaWebViewClient﹕ onPageFinished(file:///android_asset/www/skinLoader.html)
02-20 09:43:03.105 582-582/com.HelloWorld D/CordovaActivity﹕ onMessage(onPageFinished,file:///android_asset/www/skinLoader.html)
02-20 09:43:03.465 582-584/com.HelloWorld D/dalvikvm﹕ GC_CONCURRENT freed 762K, 51% free 3311K/6727K, external 2660K/2812K, paused 3ms+4ms
02-20 09:43:03.485 582-583/com.HelloWorld D/webviewglue﹕ nativeDestroy view: 0x2b5580
02-20 09:43:03.495 582-594/com.HelloWorld D/dalvikvm﹕ GREF has increased to 201
02-20 09:43:04.295 582-582/com.HelloWorld V/StatusBar﹕ StatusBar: initialization
02-20 09:43:04.295 582-582/com.HelloWorld V/StatusBar﹕ Executing action: _ready
02-20 09:43:04.295 582-582/com.HelloWorld W/CordovaPlugin﹕ Attempted to send a second callback for ID: StatusBar792861772
Result was: "Invalid action"
02-20 09:43:04.325 582-582/com.HelloWorld D/CordovaActivity﹕ onMessage(spinner,stop)
02-20 09:43:04.715 582-582/com.HelloWorld D/CordovaNetworkManager﹕ Connection Type: 3g
02-20 09:43:04.715 582-582/com.HelloWorld D/CordovaNetworkManager﹕ Connection Extra Info: internet
02-20 09:43:04.745 582-582/com.HelloWorld D/CordovaNetworkManager﹕ Connection Type: 3g
02-20 09:43:04.745 582-582/com.HelloWorld D/CordovaNetworkManager﹕ Connection Extra Info: internet
02-20 09:43:04.745 582-582/com.HelloWorld D/CordovaActivity﹕ onMessage(networkconnection,3g)
02-20 09:43:04.805 582-582/com.HelloWorld D/CordovaWebViewClient﹕ onPageStarted(file:///android_asset/www/default/index.html)
02-20 09:43:04.805 582-582/com.HelloWorld D/JsMessageQueue﹕ Set native->JS mode to null
02-20 09:43:04.805 582-582/com.HelloWorld D/CordovaActivity﹕ onMessage(onPageStarted,file:///android_asset/www/default/index.html)
02-20 09:43:04.835 582-600/com.HelloWorld D/szipinf﹕ Initializing inflate state
02-20 09:43:04.845 582-600/com.HelloWorld D/szipinf﹕ Initializing zlib to inflate
02-20 09:43:04.885 582-600/com.HelloWorld D/szipinf﹕ Initializing inflate state
02-20 09:43:04.885 582-600/com.HelloWorld D/szipinf﹕ Initializing zlib to inflate
02-20 09:43:05.065 582-584/com.HelloWorld D/dalvikvm﹕ GC_CONCURRENT freed 609K, 46% free 3905K/7175K, external 2283K/2812K, paused 3ms+17ms
02-20 09:43:05.125 582-582/com.HelloWorld D/CordovaActivity﹕ onMessage(spinner,stop)
02-20 09:43:05.215 582-582/com.HelloWorld D/JsMessageQueue﹕ Set native->JS mode to OnlineEventsBridgeMode
02-20 09:43:09.196 582-582/com.HelloWorld D/CordovaWebViewClient﹕ onPageFinished(file:///android_asset/www/default/index.html)
02-20 09:43:09.196 582-582/com.HelloWorld D/CordovaActivity﹕ onMessage(onPageFinished,file:///android_asset/www/default/index.html)
02-20 09:43:09.826 582-582/com.HelloWorld V/StatusBar﹕ Executing action: _ready
02-20 09:43:09.826 582-582/com.HelloWorld W/CordovaPlugin﹕ Attempted to send a second callback for ID: StatusBar12635921
Result was: "Invalid action"
02-20 09:43:09.836 582-582/com.HelloWorld D/CordovaActivity﹕ onMessage(spinner,stop)
02-20 09:43:09.866 582-582/com.HelloWorld D/CordovaNetworkManager﹕ Connection Type: 3g
02-20 09:43:09.866 582-582/com.HelloWorld D/CordovaNetworkManager﹕ Connection Extra Info: internet
02-20 09:43:10.206 582-592/com.HelloWorld D/NONE﹕ ondeviceready event dispatched
02-20 09:43:10.316 582-582/com.HelloWorld W/PluginManager﹕ THREAD WARNING: exec() call to Globalization.getLocaleName blocked the main thread for 80ms. Plugin should use CordovaInterface.getThreadPool().
02-20 09:43:10.366 582-582/com.HelloWorld W/PluginManager﹕ THREAD WARNING: exec() call to Globalization.getNumberPattern blocked the main thread for 46ms. Plugin should use CordovaInterface.getThreadPool().
02-20 09:43:10.416 582-592/com.HelloWorld D/NONE﹕ wlclient init started
02-20 09:43:10.515 582-582/com.HelloWorld W/PluginManager﹕ THREAD WARNING: exec() call to LoggerPlugin.log blocked the main thread for 22ms. Plugin should use CordovaInterface.getThreadPool().
02-20 09:43:10.526 582-592/com.HelloWorld D/NONE﹕ Read cookies: null
02-20 09:43:10.546 582-592/com.HelloWorld D/NONE﹕ CookieMgr read cookies: {}
02-20 09:43:10.606 582-594/com.HelloWorld W/dalvikvm﹕ JNI WARNING: jarray 0x406abb20 points to non-array object (Ljava/lang/String;)
02-20 09:43:10.606 582-594/com.HelloWorld I/dalvikvm﹕ "WebViewCoreThread" prio=5 tid=11 NATIVE
02-20 09:43:10.616 582-594/com.HelloWorld I/dalvikvm﹕ | group="main" sCount=0 dsCount=0 obj=0x40589878 self=0x2c5620
02-20 09:43:10.616 582-594/com.HelloWorld I/dalvikvm﹕ | sysTid=594 nice=0 sched=0/0 cgrp=default handle=2917456
02-20 09:43:10.616 582-594/com.HelloWorld I/dalvikvm﹕ | schedstat=( 6162204949 1843580323 915 )
02-20 09:43:10.616 582-594/com.HelloWorld I/dalvikvm﹕ at android.webkit.JWebCoreJavaBridge.setNetworkOnLine(Native Method)
02-20 09:43:10.616 582-594/com.HelloWorld I/dalvikvm﹕ at android.webkit.JWebCoreJavaBridge.setNetworkOnLine(Native Method)
02-20 09:43:10.616 582-594/com.HelloWorld I/dalvikvm﹕ at android.webkit.WebViewCore$EventHub$1.handleMessage(WebViewCore.java:1099)
02-20 09:43:10.616 582-594/com.HelloWorld I/dalvikvm﹕ at android.os.Handler.dispatchMessage(Handler.java:99)
02-20 09:43:10.616 582-594/com.HelloWorld I/dalvikvm﹕ at android.os.Looper.loop(Looper.java:123)
02-20 09:43:10.616 582-594/com.HelloWorld I/dalvikvm﹕ at android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:629)
02-20 09:43:10.616 582-594/com.HelloWorld I/dalvikvm﹕ at java.lang.Thread.run(Thread.java:1019)
02-20 09:43:10.616 582-594/com.HelloWorld I/dalvikvm﹕ [ 02-20 09:43:10.616 582:0x252 E/dalvikvm ]
VM aborting
Another problem is that when I return to launch the application from MobileFirst, AndroidStudio opens and asks me reload modified files (from MobileFirst) externally, apparently not synchronized and changes to the settings disappear.
Anyone know how to solve these problems?
I should clarify that for AndroidStudio be executed, I had to install a Fix Pack MobileFirst.
Sorry for my English.
Thanks for your opinions and help.
Gradle is not supported by Worklight projects for Android at this time.
For the rest of the issues, I got it to work by:
Specifying an SDK
In app-name.iml, remove the scope from the following line:
<orderEntry type="library" name="libs" level="project" />
Looks like something has changed recently in Android Studio because projects used to work out of the box with it (except for Gradle, which is not supported at this time).
Try the above.
I am using Google Places Autocomplete API in my android application. But the app doesn't work . The logcat is filled with these warnings. There is this warning regarding TypedArray which I think is creating the problem.Can anyone explain what may be the issue.The logcat content is given below.
02-02 20:47:42.638 19323-19323/com.devastrix.user.sharearide I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.internal.widget.TintTypedArray.getChangingConfigurations
02-02 20:47:42.638 19323-19323/com.devastrix.user.sharearide W/dalvikvm﹕ VFY: unable to resolve virtual method 369: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
02-02 20:47:42.639 19323-19323/com.devastrix.user.sharearide D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
02-02 20:47:42.640 19323-19323/com.devastrix.user.sharearide I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.internal.widget.TintTypedArray.getType
02-02 20:47:42.640 19323-19323/com.devastrix.user.sharearide W/dalvikvm﹕ VFY: unable to resolve virtual method 391: Landroid/content/res/TypedArray;.getType (I)I
02-02 20:47:42.641 19323-19323/com.devastrix.user.sharearide D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
02-02 20:47:42.852 19323-19323/com.devastrix.user.sharearide D/dalvikvm﹕ GC_FOR_ALLOC freed 248K, 5% free 10618K/11120K, paused 12ms, total 13ms
02-02 20:47:42.873 19323-19323/com.devastrix.user.sharearide I/dalvikvm-heap﹕ Grow heap (frag case) to 21.279MB for 9216016-byte allocation
02-02 20:47:43.066 19323-19323/com.devastrix.user.sharearide I/Adreno-EGL﹕ <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1.04.04.02.048.018_msm8610_LNX.LA.3.5.1_RB1__release_AU ()
OpenGL ES Shader Compiler Version: E031.24.00.08
Build Date: 03/07/14 Fri
Local Branch:
Remote Branch: quic/LNX.LA.3.5.1_RB1.1
Local Patches: NONE
Reconstruct Branch: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1.04.04.02.048.018 + f2fd134 + NOTHING
02-02 20:47:43.119 19323-19323/com.devastrix.user.sharearide D/OpenGLRenderer﹕ Enabling debug mode 0
02-02 20:47:58.486 19323-19323/com.devastrix.user.sharearide W/IInputConnectionWrapper﹕ showStatusIcon on inactive InputConnection