Android Studio integration with MobileFirst - android

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.

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

How to debug an error when I create a string in login method? [duplicate]

This question already has answers here:
Can not find a View with findViewById()
(4 answers)
What is a NullPointerException, and how do I fix it?
(12 answers)
What is a stack trace, and how can I use it to debug my application errors?
(7 answers)
Closed 5 years ago.
03-30 23:49:56.536 15105-15105/? D/dalvikvm: Late-enabling CheckJNI
03-30 23:49:56.560 15105-15111/? E/jdwp: Failed writing handshake
bytes: Broken pipe (-1 of 14) 03-30 23:49:56.560 15105-15111/?
D/dalvikvm: Debugger has detached; object registry had 0 entries 03-30
23:49:56.600 15105-15105/? I/dalvikvm: Could not find method
android.view.Window$Callback.onProvideKeyboardShortcuts, referenced
from method
android.support.v7.view.WindowCallbackWrapper.onProvideKeyboardShortcuts
03-30 23:49:56.600 15105-15105/? W/dalvikvm: VFY: unable to resolve
interface method 21845:
Landroid/view/Window$Callback;.onProvideKeyboardShortcuts
(Ljava/util/List;Landroid/view/Menu;I)V 03-30 23:49:56.600
15105-15105/? D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002 03-30
23:49:56.604 15105-15105/? W/dalvikvm: VFY: unable to find class
referenced in signature (Landroid/view/SearchEvent;) 03-30
23:49:56.604 15105-15105/? I/dalvikvm: Could not find method
android.view.Window$Callback.onSearchRequested, referenced from method
android.support.v7.view.WindowCallbackWrapper.onSearchRequested 03-30
23:49:56.604 15105-15105/? W/dalvikvm: VFY: unable to resolve
interface method 21847:
Landroid/view/Window$Callback;.onSearchRequested
(Landroid/view/SearchEvent;)Z 03-30 23:49:56.604 15105-15105/?
D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002 03-30 23:49:56.604
15105-15105/? I/dalvikvm: Could not find method
android.view.Window$Callback.onWindowStartingActionMode, referenced
from method
android.support.v7.view.WindowCallbackWrapper.onWindowStartingActionMode
03-30 23:49:56.604 15105-15105/? W/dalvikvm: VFY: unable to resolve
interface method 21851:
Landroid/view/Window$Callback;.onWindowStartingActionMode
(Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode; 03-30
23:49:56.604 15105-15105/? D/dalvikvm: VFY: replacing opcode 0x72 at
0x0002 03-30 23:49:56.604 15105-15105/? I/dalvikvm: Could not find
method android.content.res.TypedArray.getChangingConfigurations,
referenced from method
android.support.v7.widget.TintTypedArray.getChangingConfigurations
03-30 23:49:56.604 15105-15105/? W/dalvikvm: VFY: unable to resolve
virtual method 502:
Landroid/content/res/TypedArray;.getChangingConfigurations ()I 03-30
23:49:56.604 15105-15105/? D/dalvikvm: VFY: replacing opcode 0x6e at
0x0002 03-30 23:49:56.604 15105-15105/? I/dalvikvm: Could not find
method android.content.res.TypedArray.getType, referenced from method
android.support.v7.widget.TintTypedArray.getType 03-30 23:49:56.604
15105-15105/? W/dalvikvm: VFY: unable to resolve virtual method 524:
Landroid/content/res/TypedArray;.getType (I)I 03-30 23:49:56.604
15105-15105/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0008 03-30
23:49:56.636 15105-15105/? I/dalvikvm: Could not find method
android.widget.FrameLayout.startActionModeForChild, referenced from
method
android.support.v7.widget.ActionBarContainer.startActionModeForChild
03-30 23:49:56.636 15105-15105/? W/dalvikvm: VFY: unable to resolve
virtual method 22329:
Landroid/widget/FrameLayout;.startActionModeForChild
(Landroid/view/View;Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
03-30 23:49:56.640 15105-15105/? D/dalvikvm: VFY: replacing opcode
0x6f at 0x0002 03-30 23:49:56.640 15105-15105/? I/dalvikvm: Could not
find method android.content.Context.getColorStateList, referenced from
method
android.support.v7.content.res.AppCompatResources.getColorStateList
03-30 23:49:56.640 15105-15105/? W/dalvikvm: VFY: unable to resolve
virtual method 315: Landroid/content/Context;.getColorStateList
(I)Landroid/content/res/ColorStateList; 03-30 23:49:56.640
15105-15105/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006 03-30
23:49:56.652 15105-15105/? I/dalvikvm: Could not find method
android.content.res.Resources.getDrawable, referenced from method
android.support.v7.widget.ResourcesWrapper.getDrawable 03-30
23:49:56.652 15105-15105/? W/dalvikvm: VFY: unable to resolve virtual
method 465: Landroid/content/res/Resources;.getDrawable
(ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
03-30 23:49:56.652 15105-15105/? D/dalvikvm: VFY: replacing opcode
0x6e at 0x0002 03-30 23:49:56.652 15105-15105/? I/dalvikvm: Could not
find method android.content.res.Resources.getDrawableForDensity,
referenced from method
android.support.v7.widget.ResourcesWrapper.getDrawableForDensity 03-30
23:49:56.652 15105-15105/? W/dalvikvm: VFY: unable to resolve virtual
method 467: Landroid/content/res/Resources;.getDrawableForDensity
(IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
03-30 23:49:56.652 15105-15105/? D/dalvikvm: VFY: replacing opcode
0x6e at 0x0002 03-30 23:49:56.660 15105-15105/? E/dalvikvm: Could not
find class 'android.graphics.drawable.RippleDrawable', referenced from
method
android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering
03-30 23:49:56.660 15105-15105/? W/dalvikvm: VFY: unable to resolve
instanceof 150 (Landroid/graphics/drawable/RippleDrawable;) in
Landroid/support/v7/widget/AppCompatImageHelper; 03-30 23:49:56.660
15105-15105/? D/dalvikvm: VFY: replacing opcode 0x20 at 0x000c 03-30
23:49:56.680 15105-15108/? D/dalvikvm: GC_CONCURRENT freed 234K, 22%
free 2639K/3364K, paused 1ms+2ms, total 9ms 03-30 23:49:56.692
15105-15105/? D/dalvikvm: GC_FOR_ALLOC freed 31K, 21% free
2676K/3364K, paused 3ms, total 3ms 03-30 23:49:56.692 15105-15105/?
I/dalvikvm-heap: Grow heap (frag case) to 3.506MB for 435468-byte
allocation 03-30 23:49:56.692 15105-15114/? D/dalvikvm: GC_FOR_ALLOC
freed 1K, 19% free 3100K/3792K, paused 3ms, total 3ms 03-30
23:49:56.700 15105-15108/? D/dalvikvm: GC_CONCURRENT freed 3K, 19%
free 3097K/3792K, paused 0ms+0ms, total 6ms 03-30 23:49:56.700
15105-15105/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 5ms 03-30
23:49:56.700 15105-15105/? I/dalvikvm-heap: Grow heap (frag case) to
3.821MB for 333408-byte allocation 03-30 23:49:56.704 15105-15114/? D/dalvikvm: GC_FOR_ALLOC freed <1K, 17% free 3422K/4120K, paused 4ms,
total 4ms 03-30 23:49:56.748 15105-15105/? D/libEGL: loaded
/system/lib/egl/libEGL_genymotion.so
[ 03-30 23:49:56.748 15105:15105 D/ ]
HostConnection::get() New Host Connection established 0xb85b25b0, tid 15105
[ 03-30 23:49:56.752 62: 62 D/ ]
Socket deconnection 03-30 23:49:56.756 15105-15105/? D/libEGL: loaded
/system/lib/egl/libGLESv1_CM_genymotion.so 03-30 23:49:56.756
15105-15105/? D/libEGL: loaded /system/lib/egl/libGLESv2_genymotion.so
03-30 23:49:56.804 15105-15105/? W/EGL_genymotion: eglSurfaceAttrib
not implemented 03-30 23:49:56.804 15105-15105/? E/OpenGLRenderer:
Getting MAX_TEXTURE_SIZE from GradienCache 03-30 23:49:56.812
15105-15105/? E/OpenGLRenderer: Getting MAX_TEXTURE_SIZE from
Caches::initConstraints() 03-30 23:49:56.812 15105-15105/?
D/OpenGLRenderer: Enabling debug mode 0 03-30 23:50:19.456
15105-15105/com.example.samsungvy277.myapp E/InputEventSender:
Exception dispatching finished signal. 03-30 23:50:19.456
15105-15105/com.example.samsungvy277.myapp E/MessageQueue-JNI:
Exception in MessageQueue callback: handleReceiveCallback 03-30
23:50:19.468 15105-15105/com.example.samsungvy277.myapp D/dalvikvm:
GC_FOR_ALLOC freed 806K, 30% free 3127K/4428K, paused 5ms, total 5ms
03-30 23:50:19.468 15105-15105/com.example.samsungvy277.myapp
E/MessageQueue-JNI: java.lang.IllegalStateException: Could not execute
method for android:onClick
at
android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:293)
at android.view.View.performClick(View.java:4240)
at android.view.View.onKeyUp(View.java:7928)
at android.widget.TextView.onKeyUp(TextView.java:5606)
at android.view.KeyEvent.dispatch(KeyEvent.java:2647)
at android.view.View.dispatchKeyEvent(View.java:7343)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at
com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchKeyEvent(PhoneWindow.java:1933)
at
com.android.internal.policy.impl.PhoneWindow.superDispatchKeyEvent(PhoneWindow.java:1408)
at android.app.Activity.dispatchKeyEvent(Activity.java:2384)
at
android.support.v7.app.AppCompatActivity.dispatchKeyEvent(AppCompatActivity.java:541)
at
android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:59)
at
android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent(AppCompatDelegateImplBase.java:319)
at
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1860)
at
android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:3791)
at
android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3774)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at
android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3483)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3406)
at
android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3540)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3406)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at
android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3516)
at
android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:3666)
at
android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:1982)
at
android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1698)
at
android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1689)
at
android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:1959)
at
android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:132)
at android.os.Looper.loop(Looper.java:124)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at an 03-30 23:50:19.468 15105-15105/com.example.samsungvy277.myapp
D/AndroidRuntime: Shutting down VM 03-30 23:50:19.472
15105-15105/com.example.samsungvy277.myapp W/dalvikvm: threadid=1:
thread exiting with uncaught exception (group=0xa4c2e648) 03-30
23:50:19.480 15105-15105/com.example.samsungvy277.myapp
E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.IllegalStateException: Could not execute method for
android:onClick
at
android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:293)
at android.view.View.performClick(View.java:4240)
at android.view.View.onKeyUp(View.java:7928)
at android.widget.TextView.onKeyUp(TextView.java:5606)
at android.view.KeyEvent.dispatch(KeyEvent.java:2647)
at android.view.View.dispatchKeyEvent(View.java:7343)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at
com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchKeyEvent(PhoneWindow.java:1933)
at
com.android.internal.policy.impl.PhoneWindow.superDispatchKeyEvent(PhoneWindow.java:1408)
at android.app.Activity.dispatchKeyEvent(Activity.java:2384)
at
android.support.v7.app.AppCompatActivity.dispatchKeyEvent(AppCompatActivity.java:541)
at
android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:59)
at
android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent(AppCompatDelegateImplBase.java:319)
at
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1860)
at
android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:3791)
at
android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3774)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at
android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3483)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3406)
at
android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3540)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3406)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at
android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3516)
at
android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:3666)
at
android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:1982)
at
android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1698)
at
android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1689)
at
android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:1959)
at
android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:132)
at android.os.Looper.loop(Looper.java:124)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Met 03-30 23:50:22.504
15105-15105/? I/Process: Sending signal. PID: 15105 SIG: 9
Use findViewById after setting your setContentView(R.layout.activity_main)

Android app hanging (not crashing) on real device with illegal method access of RecyclerView

I'm using RecyclerView in my app and my app just hangs (doesn't quit, just animations stop and app becomes completely unresponsive) with the following logs in console:
05-01 09:23:39.075 21296-21296/com.ulouder.ulouder D/dalvikvm: Trying to load lib /data/app-lib/com.ulouder.ulouder-1/libuLouderNative.so 0x41db4c90
05-01 09:23:39.075 21296-21296/com.ulouder.ulouder D/dalvikvm: Added shared lib /data/app-lib/com.ulouder.ulouder-1/libuLouderNative.so 0x41db4c90
05-01 09:23:39.075 21296-21296/com.ulouder.ulouder D/dalvikvm: No JNI_OnLoad found in /data/app-lib/com.ulouder.ulouder-1/libuLouderNative.so 0x41db4c90, skipping init
05-01 09:23:39.345 21296-21296/com.ulouder.ulouder I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy#41dab7c8 time:89397538
05-01 09:23:39.350 2281-2319/system_process I/Timeline: Timeline: Activity_windows_visible id: ActivityRecord{430106a0 u0 com.ulouder.ulouder/com.ulouder.activities.MainActivity t19} time:89397539
05-01 09:23:42.540 21296-21741/com.ulouder.ulouder D/uLouder: [01 23 2016 09:23:42] Fired event with data: feed loaded nearby
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: DexOpt: illegal method access (call Landroid/support/v7/widget/RecyclerView$ViewHolder;.isUpdated ()Z from Lcom/ulouder/viewholders/PostViewHolder;)
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: Could not find method android.support.v7.widget.RecyclerView$ViewHolder.isUpdated, referenced from method com.ulouder.viewholders.PostViewHolder.access$super
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder W/dalvikvm: VFY: unable to resolve virtual method 17616: Landroid/support/v7/widget/RecyclerView$ViewHolder;.isUpdated ()Z
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder D/dalvikvm: VFY: replacing opcode 0x6f at 0x0031
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: DexOpt: illegal method access (call Landroid/support/v7/widget/RecyclerView$ViewHolder;.flagRemovedAndOffsetPosition (IIZ)V from Lcom/ulouder/viewholders/PostViewHolder;)
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: Could not find method android.support.v7.widget.RecyclerView$ViewHolder.flagRemovedAndOffsetPosition, referenced from method com.ulouder.viewholders.PostViewHolder.access$super
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder W/dalvikvm: VFY: unable to resolve virtual method 17600: Landroid/support/v7/widget/RecyclerView$ViewHolder;.flagRemovedAndOffsetPosition (IIZ)V
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder D/dalvikvm: VFY: replacing opcode 0x6f at 0x0053
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: DexOpt: illegal method access (call Landroid/support/v7/widget/RecyclerView$ViewHolder;.isRemoved ()Z from Lcom/ulouder/viewholders/PostViewHolder;)
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: Could not find method android.support.v7.widget.RecyclerView$ViewHolder.isRemoved, referenced from method com.ulouder.viewholders.PostViewHolder.access$super
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder W/dalvikvm: VFY: unable to resolve virtual method 17613: Landroid/support/v7/widget/RecyclerView$ViewHolder;.isRemoved ()Z
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder D/dalvikvm: VFY: replacing opcode 0x6f at 0x0058
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: DexOpt: illegal method access (call Landroid/support/v7/widget/RecyclerView$ViewHolder;.clearPayload ()V from Lcom/ulouder/viewholders/PostViewHolder;)
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: Could not find method android.support.v7.widget.RecyclerView$ViewHolder.clearPayload, referenced from method com.ulouder.viewholders.PostViewHolder.access$super
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder W/dalvikvm: VFY: unable to resolve virtual method 17595: Landroid/support/v7/widget/RecyclerView$ViewHolder;.clearPayload ()V
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder D/dalvikvm: VFY: replacing opcode 0x6f at 0x007c
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: DexOpt: illegal method access (call Landroid/support/v7/widget/RecyclerView$ViewHolder;.isAdapterPositionUnknown ()Z from Lcom/ulouder/viewholders/PostViewHolder;)
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: Could not find method android.support.v7.widget.RecyclerView$ViewHolder.isAdapterPositionUnknown, referenced from method com.ulouder.viewholders.PostViewHolder.access$super
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder W/dalvikvm: VFY: unable to resolve virtual method 17609: Landroid/support/v7/widget/RecyclerView$ViewHolder;.isAdapterPositionUnknown ()Z
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder D/dalvikvm: VFY: replacing opcode 0x6f at 0x0086
...
It just goes on for many methods of RecyclerView, crashing the whole app (or thread) with this at the end of the log:
05-01 09:23:42.730 21296-21296/com.ulouder.ulouder W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x41873ce0)
Why am I getting this? This happens on real device (Samsung Galaxy S3) with Android 4.4.4 (API 19) while there's no problem with my emulator with Marshmallow.
Once again, Android was misleading. There was nothing to do with those error messages. There was an actual null pointer exception on view binding which crashed the whole thread, but somehow it wasn't reported correctly to logcat.

Webrtc project: Could not find class 'org.webrtc.RendererCommon$YuvUploader'

I'm trying build native webrtc app in Android. It works fine until I add either Volley, loopj or facebook-android-sdk to the project via Gradle. I'm unable to figure out what is causing the conflict.
Any suggestion on how this can be resolved ? Thank you!
Here is the full log:
01-25 00:48:42.577 25791-25791/? D/dalvikvm: Late-enabling CheckJNI
01-25 00:48:42.677 25791-25791/com.testapp I/dalvikvm: Could not find method android.app.Notification$Builder.setLocalOnly, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zza
01-25 00:48:42.677 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve virtual method 274: Landroid/app/Notification$Builder;.setLocalOnly (Z)Landroid/app/Notification$Builder;
01-25 00:48:42.677 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x00c8
01-25 00:48:42.697 25791-25791/com.testapp I/dalvikvm: Could not find method android.content.pm.PackageManager.getPackageInstaller, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zzh
01-25 00:48:42.697 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve virtual method 591: Landroid/content/pm/PackageManager;.getPackageInstaller ()Landroid/content/pm/PackageInstaller;
01-25 00:48:42.697 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x000b
01-25 00:48:42.747 25791-25831/com.testapp I/GMPM: App measurement is starting up
01-25 00:48:42.947 25791-25791/com.testapp I/Adreno200-EGL: <qeglDrvAPI_eglInitialize:265>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_JB_2.5.5.04.02.02.092.059_msm8960_JB_2.5.5_CL3896081_release_AU (CL3896081)
Build Date: 06/25/13 Tue
Local Branch:
Remote Branch: quic/jb_2.5.5
Local Patches: NONE
Reconstruct Branch: AU_LINUX_ANDROID_JB_2.5.5.04.02.02.092.059 + NOTHING
01-25 00:48:42.967 25791-25791/com.testapp D/OpenGLRenderer: Enabling debug mode 0
01-25 00:48:43.127 25791-25791/com.testapp W/IInputConnectionWrapper: showStatusIcon on inactive InputConnection
01-25 00:48:43.137 25791-25791/com.testapp I/ActivityManager: Timeline: Activity_idle id: android.os.BinderProxy#41bac990 time:90636840
01-25 00:48:51.076 25791-25791/com.testapp I/ActivityManager: Timeline: Activity_idle id: android.os.BinderProxy#41bac990 time:90644774
01-25 00:49:00.656 25791-25791/com.testapp D/ConnectActivity: Connecting to room 123456789 at URL https://apprtc.appspot.com
01-25 00:49:00.666 25791-25791/com.testapp I/ActivityManager: Timeline: Activity_launch_request id:com.testapp time:90654362
01-25 00:49:00.756 25791-25791/com.testapp E/dalvikvm: Could not find class 'org.webrtc.RendererCommon$YuvUploader', referenced from method org.webrtc.SurfaceViewRenderer.<init>
01-25 00:49:00.756 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve new-instance 9794 (Lorg/webrtc/RendererCommon$YuvUploader;) in Lorg/webrtc/SurfaceViewRenderer;
01-25 00:49:00.756 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x22 at 0x000a
01-25 00:49:00.756 25791-25791/com.testapp E/dalvikvm: Could not find class 'org.webrtc.RendererCommon$YuvUploader', referenced from method org.webrtc.SurfaceViewRenderer.<init>
01-25 00:49:00.756 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve new-instance 9794 (Lorg/webrtc/RendererCommon$YuvUploader;) in Lorg/webrtc/SurfaceViewRenderer;
01-25 00:49:00.756 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x22 at 0x000a
01-25 00:49:00.796 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve instance field 36315
01-25 00:49:00.796 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x54 at 0x0098
01-25 00:49:00.796 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve instance field 36317
01-25 00:49:00.796 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x52 at 0x0005
01-25 00:49:00.796 25791-25791/com.testapp I/dalvikvm: Failed resolving Lorg/webrtc/GlRectDrawer; interface 9791 'Lorg/webrtc/RendererCommon$GlDrawer;'
01-25 00:49:00.806 25791-25791/com.testapp W/dalvikvm: Link of class 'Lorg/webrtc/GlRectDrawer;' failed
01-25 00:49:00.806 25791-25791/com.testapp E/dalvikvm: Could not find class 'org.webrtc.GlRectDrawer', referenced from method org.webrtc.SurfaceViewRenderer.init
01-25 00:49:00.806 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve new-instance 9753 (Lorg/webrtc/GlRectDrawer;) in Lorg/webrtc/SurfaceViewRenderer;
01-25 00:49:00.806 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x22 at 0x0002
01-25 00:49:00.806 25791-25791/com.testapp E/dalvikvm: Could not find class 'org.webrtc.SurfaceViewRenderer$4', referenced from method org.webrtc.SurfaceViewRenderer.release
01-25 00:49:00.806 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve new-instance 9809 (Lorg/webrtc/SurfaceViewRenderer$4;) in Lorg/webrtc/SurfaceViewRenderer;
01-25 00:49:00.806 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x22 at 0x002e
01-25 00:49:00.826 25791-25791/com.testapp E/dalvikvm: Could not find class 'org.webrtc.SurfaceViewRenderer$5', referenced from method org.webrtc.SurfaceViewRenderer.surfaceDestroyed
01-25 00:49:00.826 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve new-instance 9810 (Lorg/webrtc/SurfaceViewRenderer$5;) in Lorg/webrtc/SurfaceViewRenderer;
01-25 00:49:00.826 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x22 at 0x002d
01-25 00:49:00.826 25791-25791/com.testapp E/dalvikvm: Could not find class 'org.webrtc.SurfaceViewRenderer$3', referenced from method org.webrtc.SurfaceViewRenderer.tryCreateEglSurface
01-25 00:49:00.826 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve new-instance 9808 (Lorg/webrtc/SurfaceViewRenderer$3;) in Lorg/webrtc/SurfaceViewRenderer;
01-25 00:49:00.826 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x22 at 0x0000
01-25 00:49:00.826 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc4f at 0x0c in Lorg/webrtc/SurfaceViewRenderer;.<init>
01-25 00:49:00.826 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc76 at 0x44 in Lorg/webrtc/SurfaceViewRenderer;.<init>
01-25 00:49:00.826 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc77 at 0x4b in Lorg/webrtc/SurfaceViewRenderer;.<init>
01-25 00:49:00.836 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc4f at 0x0c in Lorg/webrtc/SurfaceViewRenderer;.<init>
01-25 00:49:00.836 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc76 at 0x44 in Lorg/webrtc/SurfaceViewRenderer;.<init>
01-25 00:49:00.836 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc77 at 0x4b in Lorg/webrtc/SurfaceViewRenderer;.<init>
01-25 00:49:00.836 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dda at 0x9a in Lorg/webrtc/SurfaceViewRenderer;.renderFrameOnRenderThread
01-25 00:49:00.836 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dde at 0xc0 in Lorg/webrtc/SurfaceViewRenderer;.renderFrameOnRenderThread
01-25 00:49:00.836 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8ddd at 0xe6 in Lorg/webrtc/SurfaceViewRenderer;.renderFrameOnRenderThread
01-25 00:49:00.836 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dd9 at 0xe8 in Lorg/webrtc/SurfaceViewRenderer;.renderFrameOnRenderThread
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8de0 at 0xea in Lorg/webrtc/SurfaceViewRenderer;.renderFrameOnRenderThread
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8ddf at 0xec in Lorg/webrtc/SurfaceViewRenderer;.renderFrameOnRenderThread
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8ddc at 0x15e in Lorg/webrtc/SurfaceViewRenderer;.renderFrameOnRenderThread
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dd9 at 0x0b in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dda at 0x11 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8ddd at 0x2a in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dd9 at 0x36 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dda at 0x42 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8ddd at 0x55 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dd9 at 0x57 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dda at 0x59 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.856 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8ddd at 0x5e in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.856 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dd9 at 0x62 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.856 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dda at 0x66 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.856 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc7b at 0x6c in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.856 25791-25791/com.testapp I/dalvikvm: Failed resolving Lorg/webrtc/GlRectDrawer; interface 9791 'Lorg/webrtc/RendererCommon$GlDrawer;'
01-25 00:49:00.856 25791-25791/com.testapp W/dalvikvm: Link of class 'Lorg/webrtc/GlRectDrawer;' failed
01-25 00:49:00.856 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfb52 at 0x04 in Lorg/webrtc/SurfaceViewRenderer;.init
01-25 00:49:00.856 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc79 at 0x30 in Lorg/webrtc/SurfaceViewRenderer;.release
01-25 00:49:00.856 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc7a at 0x2f in Lorg/webrtc/SurfaceViewRenderer;.surfaceDestroyed
01-25 00:49:00.856 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc78 at 0x02 in Lorg/webrtc/SurfaceViewRenderer;.tryCreateEglSurface
01-25 00:49:00.866 25791-25791/com.testapp E/ActivityThread: Failed to inflate
android.view.InflateException: Binary XML file line #13: Error inflating class org.webrtc.SurfaceViewRenderer
at android.view.LayoutInflater.createView(LayoutInflater.java:620)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:343)
at android.app.Activity.setContentView(Activity.java:1929)
at org.appspot.apprtc.CallActivity.onCreate(CallActivity.java:160)
at android.app.Activity.performCreate(Activity.java:5231)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2169)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2265)
at android.app.ActivityThread.access$800(ActivityThread.java:145)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1206)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5081)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at android.view.LayoutInflater.createView(LayoutInflater.java:594)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:492) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:397) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:353) 
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:343) 
at android.app.Activity.setContentView(Activity.java:1929) 
at org.appspot.apprtc.CallActivity.onCreate(CallActivity.java:160) 
at android.app.Activity.performCreate(Activity.java:5231) 
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) 
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2169) 
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2265) 
at android.app.ActivityThread.access$800(ActivityThread.java:145) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1206) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:136) 
at android.app.ActivityThread.main(ActivityThread.java:5081) 
at java.lang.reflect.Method.invokeNative(Native Method) 
at java.lang.reflect.Method.invoke(Method.java:515) 
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 
at dalvik.system.NativeStart.main(Native Method) 
Caused by: java.lang.NoClassDefFoundError: org.webrtc.RendererCommon$YuvUploader
at org.webrtc.SurfaceViewRenderer.<init>(SurfaceViewRenderer.java:69)
at java.lang.reflect.Constructor.constructNative(Native Method) 
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) 
at android.view.LayoutInflater.createView(LayoutInflater.java:594) 
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:492) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:397) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:353) 
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:343) 
at android.app.Activity.setContentView(Activity.java:1929) 
at org.appspot.apprtc.CallActivity.onCreate(CallActivity.java:160) 
at android.app.Activity.performCreate(Activity.java:5231) 
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) 
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2169) 
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2265) 
at android.app.ActivityThread.access$800(ActivityThread.java:145) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1206) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:136) 
at android.app.ActivityThread.main(ActivityThread.java:5081) 
at java.lang.reflect.Method.invokeNative(Native Method) 
at java.lang.reflect.Method.invoke(Method.java:515) 
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 
at dalvik.system.NativeStart.main(Native Method) 
01-25 00:49:00.866 25791-25791/com.testapp D/AndroidRuntime: Shutting down VM
01-25 00:49:00.866 25791-25791/com.testapp W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x41913c80)
01-25 00:49:00.886 25791-25791/com.testapp E/AppRTCDemoActivity: Fatal error: org.webrtc.RendererCommon$YuvUploader

Android Maps v2 Stopped Working

I've had Google Maps v2 up and running for months, no code has changed, and now every fragment with a MapFragment crashes when attached. (Building without proguard and signing with debug key)
I am guessing that it has to do with Play Services, because it appeared to work after re-installing the Play Services updates. But now it crashes again, even with re-installing. This occurs on two Samsung Note 8s, a Note 3, a Note 1, and a Nexus 5.
I have tried clean builds and regenerating the Maps API with a different Google APIs account.
I've included the necessary bits in my AndroidManifest:
<uses-feature
android:glEsVersion="0x00020000"
android:required="true"/>
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="#string/app_id_maps"/>
I include the following xml in the my fragment layouts:
<?xml version="1.0" encoding="utf-8"?>
<fragment xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:map="http://schemas.android.com/apk/res-auto"
android:id="#+id/map"
android:name="com.google.android.gms.maps.MapFragment"
map:mapType="normal"
map:uiCompass="true"
map:uiRotateGestures="true"
map:uiScrollGestures="true"
map:uiTiltGestures="true"
map:uiZoomControls="false"
map:uiZoomGestures="true"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
Logcat:
07-31 08:23:57.721 31926-31926/com.packagename I/u﹕ Making Creator dynamically
07-31 08:23:57.731 31926-31926/com.packagename I/Google Maps Android API﹕ Google Play services client version: 5077000
07-31 08:23:57.731 31926-31926/com.packagename I/dalvikvm﹕ Could not find method guj.a, referenced from method gqi.a
07-31 08:23:57.731 31926-31926/com.packagename W/dalvikvm﹕ VFY: unable to resolve static method 24936: Lguj;.a (Landroid/content/Context;)Lgri;
07-31 08:23:57.731 31926-31926/com.packagename D/dalvikvm﹕ VFY: replacing opcode 0x71 at 0x0003
07-31 08:23:57.731 31926-31926/com.packagename E/dalvikvm﹕ Could not find class 'gpr', referenced from method gps.a
07-31 08:23:57.731 31926-31926/com.packagename W/dalvikvm﹕ VFY: unable to resolve new-instance 4090 (Lgpr;) in Lgps;
07-31 08:23:57.731 31926-31926/com.packagename D/dalvikvm﹕ VFY: replacing opcode 0x22 at 0x0000
07-31 08:23:57.736 31926-31926/com.packagename E/dalvikvm﹕ Could not find class 'gpr', referenced from method gps.a
07-31 08:23:57.736 31926-31926/com.packagename W/dalvikvm﹕ VFY: unable to resolve new-instance 4090 (Lgpr;) in Lgps;
07-31 08:23:57.736 31926-31926/com.packagename D/dalvikvm﹕ VFY: replacing opcode 0x22 at 0x0000
07-31 08:23:57.736 31926-31926/com.packagename E/dalvikvm﹕ Could not find class 'gpr', referenced from method gps.a
07-31 08:23:57.736 31926-31926/com.packagename W/dalvikvm﹕ VFY: unable to resolve new-instance 4090 (Lgpr;) in Lgps;
07-31 08:23:57.736 31926-31926/com.packagename D/dalvikvm﹕ VFY: replacing opcode 0x22 at 0x0000
07-31 08:23:57.736 31926-31926/com.packagename D/dalvikvm﹕ DexOpt: unable to opt direct call 0x5ea3 at 0x0a in Lgps;.a
07-31 08:23:57.736 31926-31926/com.packagename D/dalvikvm﹕ DexOpt: unable to opt direct call 0x5ea3 at 0x0c in Lgps;.a
07-31 08:23:57.736 31926-31926/com.packagename D/dalvikvm﹕ DexOpt: unable to opt direct call 0x5ea3 at 0x0a in Lgps;.a
07-31 08:23:57.741 31926-31926/com.packagename I/Google Maps Android API﹕ Google Play services package version: 5084030
07-31 08:23:57.746 31926-31926/com.packagename W/dalvikvm﹕ VFY: unable to resolve static field 20873 (t) in Lyp;
07-31 08:23:57.746 31926-31926/com.packagename D/dalvikvm﹕ VFY: replacing opcode 0x62 at 0x000e
07-31 08:23:57.746 31926-31926/com.packagename W/dalvikvm﹕ VFY: unable to resolve static field 20873 (t) in Lyp;
07-31 08:23:57.746 31926-31926/com.packagename D/dalvikvm﹕ VFY: replacing opcode 0x62 at 0x000d
07-31 08:23:57.846 31926-31926/com.packagename I/dalvikvm﹕ Failed resolving Lcom/google/android/gms/location/internal/ParcelableGeofence; interface 4023 'Lgln;'
07-31 08:23:57.846 31926-31926/com.packagename W/dalvikvm﹕ Link of class 'Lcom/google/android/gms/location/internal/ParcelableGeofence;' failed
07-31 08:23:57.846 31926-31926/com.packagename E/dalvikvm﹕ Could not find class 'com.google.android.gms.location.internal.ParcelableGeofence', referenced from method glt.a
07-31 08:23:57.846 31926-31926/com.packagename W/dalvikvm﹕ VFY: unable to resolve check-cast 2086 (Lcom/google/android/gms/location/internal/ParcelableGeofence;) in Lglt;
07-31 08:23:57.846 31926-31926/com.packagename D/dalvikvm﹕ VFY: replacing opcode 0x1f at 0x0019
07-31 08:23:57.886 31926-31926/com.packagename D/dalvikvm﹕ GC_FOR_ALLOC freed 3142K, 31% free 10122K/14616K, paused 19ms, total 19ms
07-31 08:23:57.901 31926-31926/com.packagename D/AbsListView﹕ Get MotionRecognitionManager
07-31 08:23:57.916 31926-32063/com.packagename A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 32063 (DataRequestDisp)
07-31 08:23:57.921 31926-31926/com.packagename D/ProgressBar﹕ setProgressDrawable drawableHeight = 0
07-31 08:23:57.921 31926-31926/com.packagename D/AbsSeekBar﹕ AbsSeekBar Constructor: misSeebarAnimationAvailable = false
07-31 08:23:57.956 31926-31926/com.packagename W/GmsClientEvents﹕ registerConnectionCallbacks(): listener com.google.android.gms.internal.hc$c#429b29d0 is already registered
07-31 08:23:58.011 31926-31926/com.packagename D/ProgressBar﹕ updateDrawableBounds: left = 0
07-31 08:23:58.011 31926-31926/com.packagename D/ProgressBar﹕ updateDrawableBounds: top = 0
07-31 08:23:58.011 31926-31926/com.packagename D/ProgressBar﹕ updateDrawableBounds: right = 64
07-31 08:23:58.011 31926-31926/com.packagename D/ProgressBar﹕ updateDrawableBounds: bottom = 64
On Samsung devices I also get this stacktrace:
07-31 08:23:57.656 31926-31926/com.packagename W/dalvikvm﹕ No implementation found for native Ldalvik/system/VMRuntime;.pauseGc:(Ljava/lang/String;)I
07-31 08:23:57.661 31926-31926/com.packagename E/ActivityThread﹕ Pause GC
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at android.app.ActivityThread.pauseGC(ActivityThread.java:5410)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2277)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2392)
at android.app.ActivityThread.access$900(ActivityThread.java:169)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1280)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5487)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.UnsatisfiedLinkError: Native method not found: dalvik.system.VMRuntime.pauseGc:(Ljava/lang/String;)I
at dalvik.system.VMRuntime.pauseGc(Native Method)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at android.app.ActivityThread.pauseGC(ActivityThread.java:5410)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2277)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2392)
at android.app.ActivityThread.access$900(ActivityThread.java:169)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1280)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5487)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)

Categories

Resources