Fixed
Status Update
Comments
fr...@gmail.com <fr...@gmail.com> #2
I am also facing the same issue, every time I run my app! This is kinda annoying!
iz...@gmail.com <iz...@gmail.com> #3
Is this site being monitored by Google? Does anyone know if there has been a fix for this issue. I see the same issue with my app and I am using 'com.android.support:appcompat-v7:21.0.3'.
In my case, sometimes, my app spend too much time starting causing the OS to ask me if I want to continue loading.
In my case, sometimes, my app spend too much time starting causing the OS to ask me if I want to continue loading.
rd...@gmail.com <rd...@gmail.com> #4
Same here... did you guys find any solution??
My app kinds "freeze" in a black screen and stop working... maybe downgrade to a previous version could work.
My app kinds "freeze" in a black screen and stop working... maybe downgrade to a previous version could work.
[Deleted User] <[Deleted User]> #5
This might be completely wrong, but is it possible that Android devices ship with a builtin copy of the support libraries? That would make the runtime methods potentially different from the compile-time ones, which explains why the methods that the runtime couldn't find in the stacktrace are all new as of API 21.
If I'm right, then there's a workaround. Bundle a shadowed copy of the support libraries with your app. I haven't tried doing that yet so it might cause other problems to appear.
If I'm right, then there's a workaround. Bundle a shadowed copy of the support libraries with your app. I haven't tried doing that yet so it might cause other problems to appear.
tu...@gmail.com <tu...@gmail.com> #6
How solve it??
I have the same problem of izzyf...
Sometimes my app start and only show black screen
I have the same problem of izzyf...
Sometimes my app start and only show black screen
en...@gmail.com <en...@gmail.com> #7
I am working on eclipse Luna, ADT 23.0.4.1468518, with Google play Services 22, and android support library 21.0.3
I spent all day to figure out these errors before finally trying to run samples by google, ... it is obvious there is a bug.
the samples in extras\google\google_play_services\samples not working.
for example here is logcat for admob "GoogleAdsSampleActivity" sample:
02-27 23:41:13.459: D/AbsListView(22810): Get MotionRecognitionManager
02-27 23:41:13.469: D/AbsListView(22810): onVisibilityChanged() is called, visibility : 4
02-27 23:41:13.469: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:13.479: D/AbsListView(22810): onVisibilityChanged() is called, visibility : 0
02-27 23:41:13.479: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:13.549: D/(22810): gHwMemAllocator client 1
02-27 23:41:13.549: D/(22810): gHwMemAllocator client 2
02-27 23:41:13.549: D/libEGL(22810): loaded /system/lib/egl/libGLES_hawaii.so
02-27 23:41:13.549: D/(22810): mem_init ++
02-27 23:41:13.549: D/(22810): gHwMemAllocator client 3
02-27 23:41:13.549: D/(22810): **** Using ION allocator ****
02-27 23:41:13.549: D/(22810): registered SIGUSR1[10] for pid[22810]
02-27 23:41:13.549: D/(22810): HwMemAllocatorImpl Static Counters 0 0
02-27 23:41:13.549: D/(22810): HwMemAllocatorImpl[4ff1fdcc] totalDeviceAllocSize[0] totalFree[0] maxFree[0] in numSlabs[0]
02-27 23:41:13.549: D/(22810): mem_init 4ff1fdcc--
02-27 23:41:13.559: D/ION(22810): config: version(0x10000) secure(0xf000) 256M(0x22d) fast(0x608) hwwr(0x608)
02-27 23:41:13.559: D/MM_DEVICE(22810): Waiting for mm thread to come up
02-27 23:41:13.559: D/MM_DEVICE(22810): mm_device_thread starting
02-27 23:41:13.559: D/HAWAII_EGL(22810): eglCreateContext() config: 18 context: 0x51fa8358, VC context 1, Thread 22810
02-27 23:41:13.559: D/HAWAII_EGL(22810): Set SWAP INTERVAL 0
02-27 23:41:13.569: D/HAWAII_EGL(22810): eglCreateWindowSurface() surface: 0x52aed3b0, VC surface: 1, Thread: 22810
02-27 23:41:13.569: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x52aed3b0, 0x52aed3b0) Thread: 22810
02-27 23:41:13.569: D/OpenGLRenderer(22810): Enabling debug mode 0
02-27 23:41:13.579: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:23.018: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:23.108: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:23.108: D/WritingBuddyImpl(22810): getCurrentWritingBuddyView()
02-27 23:41:25.090: W/dalvikvm(22810): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;)
02-27 23:41:25.090: W/dalvikvm(22810): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;)
02-27 23:41:25.090: W/dalvikvm(22810): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;)
02-27 23:41:25.100: W/dalvikvm(22810): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;)
02-27 23:41:25.100: W/dalvikvm(22810): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;)
02-27 23:41:25.100: W/dalvikvm(22810): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;)
02-27 23:41:25.100: W/dalvikvm(22810): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;)
02-27 23:41:25.100: E/dalvikvm(22810): Could not find class 'android.support.v4.app.FragmentActivity', referenced from method com.google.android.gms.common.GooglePlayServicesUtil.showErrorDialogFragment
02-27 23:41:25.100: W/dalvikvm(22810): VFY: unable to resolve instanceof 144 (Landroid/support/v4/app/FragmentActivity;) in Lcom/google/android/gms/common/GooglePlayServicesUtil;
02-27 23:41:25.100: D/dalvikvm(22810): VFY: replacing opcode 0x20 at 0x0008
02-27 23:41:25.100: E/dalvikvm(22810): Could not find class 'android.support.v4.app.FragmentActivity', referenced from method com.google.android.gms.common.GooglePlayServicesUtil.showErrorDialogFragment
02-27 23:41:25.100: W/dalvikvm(22810): VFY: unable to resolve check-cast 144 (Landroid/support/v4/app/FragmentActivity;) in Lcom/google/android/gms/common/GooglePlayServicesUtil;
02-27 23:41:25.100: D/dalvikvm(22810): VFY: replacing opcode 0x1f at 0x000c
02-27 23:41:25.150: I/dalvikvm(22810): Could not find method android.content.pm.PackageManager.getPackageInstaller, referenced from method com.google.android.gms.common.ew.c
02-27 23:41:25.150: W/dalvikvm(22810): VFY: unable to resolve virtual method 441: Landroid/content/pm/PackageManager;.getPackageInstaller ()Landroid/content/pm/PackageInstaller;
02-27 23:41:25.150: D/dalvikvm(22810): VFY: replacing opcode 0x6e at 0x000f
02-27 23:41:25.180: I/Ads(22810): Starting ad request.
02-27 23:41:25.190: I/Ads(22810): Use AdRequest.Builder.addTestDevice("FCC26BCC61F7339C5443A5FB0DB5DE11") to get test ads on this device.
02-27 23:41:25.190: D/dalvikvm(22810): DexOpt: --- BEGIN 'ads-1707368266.jar' (bootstrap=0) ---
02-27 23:41:25.220: I/Ads(22810): Please set theme of AdActivity to @android:style/Theme.Translucent to enable transparent background interstitial ad.
02-27 23:41:25.230: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:25.270: D/dalvikvm(22810): DexOpt: --- END 'ads-1707368266.jar' (success) ---
02-27 23:41:25.270: D/dalvikvm(22810): DEX prep '/data/data/com.google.android.gms.samples.ads/cache/ads-1707368266.jar': unzip in 0ms, rewrite 81ms
02-27 23:41:25.310: D/dalvikvm(22810): GC_CONCURRENT freed 375K, 13% free 8626K/9896K, paused 7ms+6ms, total 35ms
02-27 23:41:25.330: I/dalvikvm(22810): Total arena pages for JIT: 11
02-27 23:41:25.330: I/dalvikvm(22810): Total arena pages for JIT: 12
02-27 23:41:25.330: I/dalvikvm(22810): Total arena pages for JIT: 13
02-27 23:41:25.330: I/dalvikvm(22810): Total arena pages for JIT: 14
02-27 23:41:25.330: I/dalvikvm(22810): Total arena pages for JIT: 15
02-27 23:41:25.330: I/dalvikvm(22810): Total arena pages for JIT: 16
02-27 23:41:25.330: I/dalvikvm(22810): Total arena pages for JIT: 17
02-27 23:41:25.360: D/HAWAII_EGL(22810): Set SWAP INTERVAL 0
02-27 23:41:25.360: D/HAWAII_EGL(22810): eglCreateWindowSurface() surface: 0x5029e0c0, VC surface: 2, Thread: 22810
02-27 23:41:25.360: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x5029e0c0, 0x5029e0c0) Thread: 22810
02-27 23:41:25.400: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x52aed3b0, 0x52aed3b0) Thread: 22810
02-27 23:41:25.400: D/HAWAII_EGL(22810): eglMakeCurrent(NULL) Thread: 22810
02-27 23:41:25.400: D/HAWAII_EGL(22810): eglDestroySurface() surface: 0x52aed3b0, android window 0x511397d8, Thread: 22810
02-27 23:41:25.410: I/dalvikvm(22810): Total arena pages for JIT: 18
02-27 23:41:25.751: D/AbsListView(22810): onVisibilityChanged() is called, visibility : 4
02-27 23:41:25.751: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:28.013: W/Ads(22810): There was a problem getting an ad response. ErrorCode: 1
02-27 23:41:28.013: I/dalvikvm(22810): Could not find method android.webkit.WebSettings.setMixedContentMode, referenced from method com.google.android.gms.ads.internal.p.a.<init>
02-27 23:41:28.013: W/dalvikvm(22810): VFY: unable to resolve virtual method 3111: Landroid/webkit/WebSettings;.setMixedContentMode (I)V
02-27 23:41:28.013: D/dalvikvm(22810): VFY: replacing opcode 0x6e at 0x003f
02-27 23:41:28.023: I/dalvikvm(22810): Could not find method android.webkit.WebView.evaluateJavascript, referenced from method com.google.android.gms.ads.internal.p.a.evaluateJavascript
02-27 23:41:28.023: W/dalvikvm(22810): VFY: unable to resolve virtual method 3121: Landroid/webkit/WebView;.evaluateJavascript (Ljava/lang/String;Landroid/webkit/ValueCallback;)V
02-27 23:41:28.023: D/dalvikvm(22810): VFY: replacing opcode 0x6f at 0x0016
02-27 23:41:28.023: I/dalvikvm(22810): Could not find method com.google.android.gms.ads.internal.p.a.isAttachedToWindow, referenced from method com.google.android.gms.ads.internal.p.a.onDraw
02-27 23:41:28.023: W/dalvikvm(22810): VFY: unable to resolve virtual method 4882: Lcom/google/android/gms/ads/internal/p/a;.isAttachedToWindow ()Z
02-27 23:41:28.023: D/dalvikvm(22810): VFY: replacing opcode 0x6e at 0x000c
02-27 23:41:28.073: I/webclipboard(22810): clipservice: android.sec.clipboard.ClipboardExManager@429008a0
02-27 23:41:28.093: D/WebViewDatabaseClassic(22810): initDatabase Database Version=12
02-27 23:41:28.093: E/SQLiteLog(22810): (1) duplicate column name: lastmodified
02-27 23:41:28.093: D/WebViewDatabaseClassic(22810): Table already updated
02-27 23:41:28.093: D/WebViewDatabaseClassic(22810): DB Already Upgraded
02-27 23:41:28.113: W/Ads(22810): Failed to load ad: 1
02-27 23:41:28.143: D/WebView(22810): onSizeChanged - w:480 h:75
02-27 23:41:28.143: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x5029e0c0, 0x5029e0c0) Thread: 22810
02-27 23:41:28.143: D/dalvikvm(22810): GC_CONCURRENT freed 263K, 12% free 8788K/9944K, paused 4ms+11ms, total 40ms
02-27 23:41:28.153: V/webkit(22810): BrowserFrame constructor: this=Handler (android.webkit.BrowserFrame) {428c3dd8}
02-27 23:41:32.127: D/AbsListView(22810): onVisibilityChanged() is called, visibility : 0
02-27 23:41:32.127: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:32.127: D/HAWAII_EGL(22810): Set SWAP INTERVAL 0
02-27 23:41:32.127: D/HAWAII_EGL(22810): eglCreateWindowSurface() surface: 0x4fede120, VC surface: 3, Thread: 22810
02-27 23:41:32.127: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x4fede120, 0x4fede120) Thread: 22810
02-27 23:41:32.127: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:32.127: D/WritingBuddyImpl(22810): getCurrentWritingBuddyView()
02-27 23:41:32.157: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x5029e0c0, 0x5029e0c0) Thread: 22810
02-27 23:41:32.157: D/HAWAII_EGL(22810): eglMakeCurrent(NULL) Thread: 22810
02-27 23:41:32.157: D/HAWAII_EGL(22810): eglDestroySurface() surface: 0x5029e0c0, android window 0x514d7060, Thread: 22810
02-27 23:41:32.487: E/webview(22810): Error: WebView.destroy() called while still attached!
02-27 23:41:32.487: D/webviewglue(22810): nativeDestroy view: 0x4fed7ab0
02-27 23:41:32.487: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x52a57d98, 0x52a57d98) Thread: 22810
02-27 23:41:32.497: D/HAWAII_EGL(22810): eglMakeCurrent(NULL) Thread: 22810
02-27 23:41:33.328: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x4fede120, 0x4fede120) Thread: 22810
02-27 23:41:33.578: I/Ads(22810): Starting ad request.
02-27 23:41:33.578: I/Ads(22810): Use AdRequest.Builder.addTestDevice("FCC26BCC61F7339C5443A5FB0DB5DE11") to get test ads on this device.
02-27 23:41:33.578: I/Ads(22810): Please set theme of AdActivity to @android:style/Theme.Translucent to enable transparent background interstitial ad.
02-27 23:41:33.588: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:33.618: D/HAWAII_EGL(22810): Set SWAP INTERVAL 0
02-27 23:41:33.618: D/HAWAII_EGL(22810): eglCreateWindowSurface() surface: 0x5112cf00, VC surface: 5, Thread: 22810
02-27 23:41:33.618: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x5112cf00, 0x5112cf00) Thread: 22810
02-27 23:41:33.628: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x4fede120, 0x4fede120) Thread: 22810
02-27 23:41:33.628: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x5112cf00, 0x5112cf00) Thread: 22810
02-27 23:41:33.678: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x4fede120, 0x4fede120) Thread: 22810
02-27 23:41:33.678: D/HAWAII_EGL(22810): eglMakeCurrent(NULL) Thread: 22810
02-27 23:41:33.678: D/HAWAII_EGL(22810): eglDestroySurface() surface: 0x4fede120, android window 0x51207cd0, Thread: 22810
02-27 23:41:33.859: W/Ads(22810): There was a problem getting an ad response. ErrorCode: 1
02-27 23:41:33.869: I/webclipboard(22810): clipservice: android.sec.clipboard.ClipboardExManager@42953400
02-27 23:41:33.869: V/webkit(22810): BrowserFrame constructor: this=Handler (android.webkit.BrowserFrame) {4294fde8}
02-27 23:41:33.879: W/Ads(22810): Failed to load ad: 1
02-27 23:41:33.909: D/WebView(22810): onSizeChanged - w:480 h:75
02-27 23:41:34.009: D/AbsListView(22810): onVisibilityChanged() is called, visibility : 4
02-27 23:41:34.009: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:34.019: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x5112cf00, 0x5112cf00) Thread: 22810
02-27 23:41:37.302: D/AbsListView(22810): onVisibilityChanged() is called, visibility : 0
02-27 23:41:37.302: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:37.322: D/HAWAII_EGL(22810): Set SWAP INTERVAL 0
02-27 23:41:37.322: D/HAWAII_EGL(22810): eglCreateWindowSurface() surface: 0x511b8a40, VC surface: 6, Thread: 22810
02-27 23:41:37.322: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x511b8a40, 0x511b8a40) Thread: 22810
02-27 23:41:37.322: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:37.322: D/WritingBuddyImpl(22810): getCurrentWritingBuddyView()
02-27 23:41:37.362: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x5112cf00, 0x5112cf00) Thread: 22810
02-27 23:41:37.362: D/HAWAII_EGL(22810): eglMakeCurrent(NULL) Thread: 22810
02-27 23:41:37.362: D/HAWAII_EGL(22810): eglDestroySurface() surface: 0x5112cf00, android window 0x514d7060, Thread: 22810
02-27 23:41:37.682: E/webview(22810): Error: WebView.destroy() called while still attached!
02-27 23:41:37.682: D/webviewglue(22810): nativeDestroy view: 0x5119fd80
02-27 23:41:37.692: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x52a57d98, 0x52a57d98) Thread: 22810
02-27 23:41:37.692: D/HAWAII_EGL(22810): eglMakeCurrent(NULL) Thread: 22810
02-27 23:41:38.273: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x511b8a40, 0x511b8a40) Thread: 22810
02-27 23:41:38.463: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:38.483: D/HAWAII_EGL(22810): Set SWAP INTERVAL 0
02-27 23:41:38.493: D/HAWAII_EGL(22810): eglCreateWindowSurface() surface: 0x51205978, VC surface: 7, Thread: 22810
02-27 23:41:38.493: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x51205978, 0x51205978) Thread: 22810
02-27 23:41:38.533: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x511b8a40, 0x511b8a40) Thread: 22810
02-27 23:41:38.533: D/HAWAII_EGL(22810): eglMakeCurrent(NULL) Thread: 22810
02-27 23:41:38.533: D/HAWAII_EGL(22810): eglDestroySurface() surface: 0x511b8a40, android window 0x50fa2160, Thread: 22810
02-27 23:41:38.844: D/AbsListView(22810): onVisibilityChanged() is called, visibility : 4
02-27 23:41:38.844: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:44.889: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x51205978, 0x51205978) Thread: 22810
02-27 23:41:45.130: I/Ads(22810): Starting ad request.
02-27 23:41:45.130: I/Ads(22810): Use AdRequest.Builder.addTestDevice("FCC26BCC61F7339C5443A5FB0DB5DE11") to get test ads on this device.
02-27 23:41:45.140: I/Ads(22810): Please set theme of AdActivity to @android:style/Theme.Translucent to enable transparent background interstitial ad.
02-27 23:41:45.160: D/dalvikvm(22810): GC_CONCURRENT freed 280K, 12% free 8912K/10084K, paused 2ms+4ms, total 33ms
02-27 23:41:45.300: W/Ads(22810): There was a problem getting an ad response. ErrorCode: 1
02-27 23:41:45.310: I/webclipboard(22810): clipservice: android.sec.clipboard.ClipboardExManager@4294e778
02-27 23:41:45.310: V/webkit(22810): BrowserFrame constructor: this=Handler (android.webkit.BrowserFrame) {429b3d88}
02-27 23:41:45.320: W/Ads(22810): Failed to load ad: 1
02-27 23:41:45.320: E/SQLiteLog(22810): (10) Failed to open database file with errno : 30!
02-27 23:41:45.320: E/SQLiteLog(22810): (14) cannot open file at line 32459 of [00bb9c9ce4]
02-27 23:41:45.320: E/SQLiteLog(22810): (14) os_unix.c:32459: (2) open(/NotificationPermissions.db) -
02-27 23:41:45.320: D/WebKit(22810): ERROR:
02-27 23:41:45.320: D/WebKit(22810): SQLite database failed to load from /NotificationPermissions.db
02-27 23:41:45.320: D/WebKit(22810): Cause - unable to open database file
02-27 23:41:45.320: D/WebKit(22810): external/webkit/Source/WebCore/platform/sql/SQLiteDatabase.cpp(71) : bool WebCore::SQLiteDatabase::open(const WTF::String&, bool)
so what to do to solve this?
I spent all day to figure out these errors before finally trying to run samples by google, ... it is obvious there is a bug.
the samples in extras\google\google_play_services\samples not working.
for example here is logcat for admob "GoogleAdsSampleActivity" sample:
02-27 23:41:13.459: D/AbsListView(22810): Get MotionRecognitionManager
02-27 23:41:13.469: D/AbsListView(22810): onVisibilityChanged() is called, visibility : 4
02-27 23:41:13.469: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:13.479: D/AbsListView(22810): onVisibilityChanged() is called, visibility : 0
02-27 23:41:13.479: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:13.549: D/(22810): gHwMemAllocator client 1
02-27 23:41:13.549: D/(22810): gHwMemAllocator client 2
02-27 23:41:13.549: D/libEGL(22810): loaded /system/lib/egl/libGLES_hawaii.so
02-27 23:41:13.549: D/(22810): mem_init ++
02-27 23:41:13.549: D/(22810): gHwMemAllocator client 3
02-27 23:41:13.549: D/(22810): **** Using ION allocator ****
02-27 23:41:13.549: D/(22810): registered SIGUSR1[10] for pid[22810]
02-27 23:41:13.549: D/(22810): HwMemAllocatorImpl Static Counters 0 0
02-27 23:41:13.549: D/(22810): HwMemAllocatorImpl[4ff1fdcc] totalDeviceAllocSize[0] totalFree[0] maxFree[0] in numSlabs[0]
02-27 23:41:13.549: D/(22810): mem_init 4ff1fdcc--
02-27 23:41:13.559: D/ION(22810): config: version(0x10000) secure(0xf000) 256M(0x22d) fast(0x608) hwwr(0x608)
02-27 23:41:13.559: D/MM_DEVICE(22810): Waiting for mm thread to come up
02-27 23:41:13.559: D/MM_DEVICE(22810): mm_device_thread starting
02-27 23:41:13.559: D/HAWAII_EGL(22810): eglCreateContext() config: 18 context: 0x51fa8358, VC context 1, Thread 22810
02-27 23:41:13.559: D/HAWAII_EGL(22810): Set SWAP INTERVAL 0
02-27 23:41:13.569: D/HAWAII_EGL(22810): eglCreateWindowSurface() surface: 0x52aed3b0, VC surface: 1, Thread: 22810
02-27 23:41:13.569: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x52aed3b0, 0x52aed3b0) Thread: 22810
02-27 23:41:13.569: D/OpenGLRenderer(22810): Enabling debug mode 0
02-27 23:41:13.579: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:23.018: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:23.108: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:23.108: D/WritingBuddyImpl(22810): getCurrentWritingBuddyView()
02-27 23:41:25.090: W/dalvikvm(22810): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;)
02-27 23:41:25.090: W/dalvikvm(22810): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;)
02-27 23:41:25.090: W/dalvikvm(22810): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;)
02-27 23:41:25.100: W/dalvikvm(22810): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;)
02-27 23:41:25.100: W/dalvikvm(22810): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;)
02-27 23:41:25.100: W/dalvikvm(22810): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;)
02-27 23:41:25.100: W/dalvikvm(22810): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;)
02-27 23:41:25.100: E/dalvikvm(22810): Could not find class 'android.support.v4.app.FragmentActivity', referenced from method com.google.android.gms.common.GooglePlayServicesUtil.showErrorDialogFragment
02-27 23:41:25.100: W/dalvikvm(22810): VFY: unable to resolve instanceof 144 (Landroid/support/v4/app/FragmentActivity;) in Lcom/google/android/gms/common/GooglePlayServicesUtil;
02-27 23:41:25.100: D/dalvikvm(22810): VFY: replacing opcode 0x20 at 0x0008
02-27 23:41:25.100: E/dalvikvm(22810): Could not find class 'android.support.v4.app.FragmentActivity', referenced from method com.google.android.gms.common.GooglePlayServicesUtil.showErrorDialogFragment
02-27 23:41:25.100: W/dalvikvm(22810): VFY: unable to resolve check-cast 144 (Landroid/support/v4/app/FragmentActivity;) in Lcom/google/android/gms/common/GooglePlayServicesUtil;
02-27 23:41:25.100: D/dalvikvm(22810): VFY: replacing opcode 0x1f at 0x000c
02-27 23:41:25.150: I/dalvikvm(22810): Could not find method android.content.pm.PackageManager.getPackageInstaller, referenced from method com.google.android.gms.common.ew.c
02-27 23:41:25.150: W/dalvikvm(22810): VFY: unable to resolve virtual method 441: Landroid/content/pm/PackageManager;.getPackageInstaller ()Landroid/content/pm/PackageInstaller;
02-27 23:41:25.150: D/dalvikvm(22810): VFY: replacing opcode 0x6e at 0x000f
02-27 23:41:25.180: I/Ads(22810): Starting ad request.
02-27 23:41:25.190: I/Ads(22810): Use AdRequest.Builder.addTestDevice("FCC26BCC61F7339C5443A5FB0DB5DE11") to get test ads on this device.
02-27 23:41:25.190: D/dalvikvm(22810): DexOpt: --- BEGIN 'ads-1707368266.jar' (bootstrap=0) ---
02-27 23:41:25.220: I/Ads(22810): Please set theme of AdActivity to @android:style/Theme.Translucent to enable transparent background interstitial ad.
02-27 23:41:25.230: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:25.270: D/dalvikvm(22810): DexOpt: --- END 'ads-1707368266.jar' (success) ---
02-27 23:41:25.270: D/dalvikvm(22810): DEX prep '/data/data/com.google.android.gms.samples.ads/cache/ads-1707368266.jar': unzip in 0ms, rewrite 81ms
02-27 23:41:25.310: D/dalvikvm(22810): GC_CONCURRENT freed 375K, 13% free 8626K/9896K, paused 7ms+6ms, total 35ms
02-27 23:41:25.330: I/dalvikvm(22810): Total arena pages for JIT: 11
02-27 23:41:25.330: I/dalvikvm(22810): Total arena pages for JIT: 12
02-27 23:41:25.330: I/dalvikvm(22810): Total arena pages for JIT: 13
02-27 23:41:25.330: I/dalvikvm(22810): Total arena pages for JIT: 14
02-27 23:41:25.330: I/dalvikvm(22810): Total arena pages for JIT: 15
02-27 23:41:25.330: I/dalvikvm(22810): Total arena pages for JIT: 16
02-27 23:41:25.330: I/dalvikvm(22810): Total arena pages for JIT: 17
02-27 23:41:25.360: D/HAWAII_EGL(22810): Set SWAP INTERVAL 0
02-27 23:41:25.360: D/HAWAII_EGL(22810): eglCreateWindowSurface() surface: 0x5029e0c0, VC surface: 2, Thread: 22810
02-27 23:41:25.360: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x5029e0c0, 0x5029e0c0) Thread: 22810
02-27 23:41:25.400: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x52aed3b0, 0x52aed3b0) Thread: 22810
02-27 23:41:25.400: D/HAWAII_EGL(22810): eglMakeCurrent(NULL) Thread: 22810
02-27 23:41:25.400: D/HAWAII_EGL(22810): eglDestroySurface() surface: 0x52aed3b0, android window 0x511397d8, Thread: 22810
02-27 23:41:25.410: I/dalvikvm(22810): Total arena pages for JIT: 18
02-27 23:41:25.751: D/AbsListView(22810): onVisibilityChanged() is called, visibility : 4
02-27 23:41:25.751: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:28.013: W/Ads(22810): There was a problem getting an ad response. ErrorCode: 1
02-27 23:41:28.013: I/dalvikvm(22810): Could not find method android.webkit.WebSettings.setMixedContentMode, referenced from method com.google.android.gms.ads.internal.p.a.<init>
02-27 23:41:28.013: W/dalvikvm(22810): VFY: unable to resolve virtual method 3111: Landroid/webkit/WebSettings;.setMixedContentMode (I)V
02-27 23:41:28.013: D/dalvikvm(22810): VFY: replacing opcode 0x6e at 0x003f
02-27 23:41:28.023: I/dalvikvm(22810): Could not find method android.webkit.WebView.evaluateJavascript, referenced from method com.google.android.gms.ads.internal.p.a.evaluateJavascript
02-27 23:41:28.023: W/dalvikvm(22810): VFY: unable to resolve virtual method 3121: Landroid/webkit/WebView;.evaluateJavascript (Ljava/lang/String;Landroid/webkit/ValueCallback;)V
02-27 23:41:28.023: D/dalvikvm(22810): VFY: replacing opcode 0x6f at 0x0016
02-27 23:41:28.023: I/dalvikvm(22810): Could not find method com.google.android.gms.ads.internal.p.a.isAttachedToWindow, referenced from method com.google.android.gms.ads.internal.p.a.onDraw
02-27 23:41:28.023: W/dalvikvm(22810): VFY: unable to resolve virtual method 4882: Lcom/google/android/gms/ads/internal/p/a;.isAttachedToWindow ()Z
02-27 23:41:28.023: D/dalvikvm(22810): VFY: replacing opcode 0x6e at 0x000c
02-27 23:41:28.073: I/webclipboard(22810): clipservice: android.sec.clipboard.ClipboardExManager@429008a0
02-27 23:41:28.093: D/WebViewDatabaseClassic(22810): initDatabase Database Version=12
02-27 23:41:28.093: E/SQLiteLog(22810): (1) duplicate column name: lastmodified
02-27 23:41:28.093: D/WebViewDatabaseClassic(22810): Table already updated
02-27 23:41:28.093: D/WebViewDatabaseClassic(22810): DB Already Upgraded
02-27 23:41:28.113: W/Ads(22810): Failed to load ad: 1
02-27 23:41:28.143: D/WebView(22810): onSizeChanged - w:480 h:75
02-27 23:41:28.143: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x5029e0c0, 0x5029e0c0) Thread: 22810
02-27 23:41:28.143: D/dalvikvm(22810): GC_CONCURRENT freed 263K, 12% free 8788K/9944K, paused 4ms+11ms, total 40ms
02-27 23:41:28.153: V/webkit(22810): BrowserFrame constructor: this=Handler (android.webkit.BrowserFrame) {428c3dd8}
02-27 23:41:32.127: D/AbsListView(22810): onVisibilityChanged() is called, visibility : 0
02-27 23:41:32.127: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:32.127: D/HAWAII_EGL(22810): Set SWAP INTERVAL 0
02-27 23:41:32.127: D/HAWAII_EGL(22810): eglCreateWindowSurface() surface: 0x4fede120, VC surface: 3, Thread: 22810
02-27 23:41:32.127: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x4fede120, 0x4fede120) Thread: 22810
02-27 23:41:32.127: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:32.127: D/WritingBuddyImpl(22810): getCurrentWritingBuddyView()
02-27 23:41:32.157: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x5029e0c0, 0x5029e0c0) Thread: 22810
02-27 23:41:32.157: D/HAWAII_EGL(22810): eglMakeCurrent(NULL) Thread: 22810
02-27 23:41:32.157: D/HAWAII_EGL(22810): eglDestroySurface() surface: 0x5029e0c0, android window 0x514d7060, Thread: 22810
02-27 23:41:32.487: E/webview(22810): Error: WebView.destroy() called while still attached!
02-27 23:41:32.487: D/webviewglue(22810): nativeDestroy view: 0x4fed7ab0
02-27 23:41:32.487: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x52a57d98, 0x52a57d98) Thread: 22810
02-27 23:41:32.497: D/HAWAII_EGL(22810): eglMakeCurrent(NULL) Thread: 22810
02-27 23:41:33.328: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x4fede120, 0x4fede120) Thread: 22810
02-27 23:41:33.578: I/Ads(22810): Starting ad request.
02-27 23:41:33.578: I/Ads(22810): Use AdRequest.Builder.addTestDevice("FCC26BCC61F7339C5443A5FB0DB5DE11") to get test ads on this device.
02-27 23:41:33.578: I/Ads(22810): Please set theme of AdActivity to @android:style/Theme.Translucent to enable transparent background interstitial ad.
02-27 23:41:33.588: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:33.618: D/HAWAII_EGL(22810): Set SWAP INTERVAL 0
02-27 23:41:33.618: D/HAWAII_EGL(22810): eglCreateWindowSurface() surface: 0x5112cf00, VC surface: 5, Thread: 22810
02-27 23:41:33.618: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x5112cf00, 0x5112cf00) Thread: 22810
02-27 23:41:33.628: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x4fede120, 0x4fede120) Thread: 22810
02-27 23:41:33.628: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x5112cf00, 0x5112cf00) Thread: 22810
02-27 23:41:33.678: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x4fede120, 0x4fede120) Thread: 22810
02-27 23:41:33.678: D/HAWAII_EGL(22810): eglMakeCurrent(NULL) Thread: 22810
02-27 23:41:33.678: D/HAWAII_EGL(22810): eglDestroySurface() surface: 0x4fede120, android window 0x51207cd0, Thread: 22810
02-27 23:41:33.859: W/Ads(22810): There was a problem getting an ad response. ErrorCode: 1
02-27 23:41:33.869: I/webclipboard(22810): clipservice: android.sec.clipboard.ClipboardExManager@42953400
02-27 23:41:33.869: V/webkit(22810): BrowserFrame constructor: this=Handler (android.webkit.BrowserFrame) {4294fde8}
02-27 23:41:33.879: W/Ads(22810): Failed to load ad: 1
02-27 23:41:33.909: D/WebView(22810): onSizeChanged - w:480 h:75
02-27 23:41:34.009: D/AbsListView(22810): onVisibilityChanged() is called, visibility : 4
02-27 23:41:34.009: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:34.019: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x5112cf00, 0x5112cf00) Thread: 22810
02-27 23:41:37.302: D/AbsListView(22810): onVisibilityChanged() is called, visibility : 0
02-27 23:41:37.302: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:37.322: D/HAWAII_EGL(22810): Set SWAP INTERVAL 0
02-27 23:41:37.322: D/HAWAII_EGL(22810): eglCreateWindowSurface() surface: 0x511b8a40, VC surface: 6, Thread: 22810
02-27 23:41:37.322: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x511b8a40, 0x511b8a40) Thread: 22810
02-27 23:41:37.322: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:37.322: D/WritingBuddyImpl(22810): getCurrentWritingBuddyView()
02-27 23:41:37.362: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x5112cf00, 0x5112cf00) Thread: 22810
02-27 23:41:37.362: D/HAWAII_EGL(22810): eglMakeCurrent(NULL) Thread: 22810
02-27 23:41:37.362: D/HAWAII_EGL(22810): eglDestroySurface() surface: 0x5112cf00, android window 0x514d7060, Thread: 22810
02-27 23:41:37.682: E/webview(22810): Error: WebView.destroy() called while still attached!
02-27 23:41:37.682: D/webviewglue(22810): nativeDestroy view: 0x5119fd80
02-27 23:41:37.692: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x52a57d98, 0x52a57d98) Thread: 22810
02-27 23:41:37.692: D/HAWAII_EGL(22810): eglMakeCurrent(NULL) Thread: 22810
02-27 23:41:38.273: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x511b8a40, 0x511b8a40) Thread: 22810
02-27 23:41:38.463: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:38.483: D/HAWAII_EGL(22810): Set SWAP INTERVAL 0
02-27 23:41:38.493: D/HAWAII_EGL(22810): eglCreateWindowSurface() surface: 0x51205978, VC surface: 7, Thread: 22810
02-27 23:41:38.493: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x51205978, 0x51205978) Thread: 22810
02-27 23:41:38.533: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x511b8a40, 0x511b8a40) Thread: 22810
02-27 23:41:38.533: D/HAWAII_EGL(22810): eglMakeCurrent(NULL) Thread: 22810
02-27 23:41:38.533: D/HAWAII_EGL(22810): eglDestroySurface() surface: 0x511b8a40, android window 0x50fa2160, Thread: 22810
02-27 23:41:38.844: D/AbsListView(22810): onVisibilityChanged() is called, visibility : 4
02-27 23:41:38.844: D/AbsListView(22810): unregisterIRListener() is called
02-27 23:41:44.889: D/HAWAII_EGL(22810): eglMakeCurrent(0x51fa8358, 0x51205978, 0x51205978) Thread: 22810
02-27 23:41:45.130: I/Ads(22810): Starting ad request.
02-27 23:41:45.130: I/Ads(22810): Use AdRequest.Builder.addTestDevice("FCC26BCC61F7339C5443A5FB0DB5DE11") to get test ads on this device.
02-27 23:41:45.140: I/Ads(22810): Please set theme of AdActivity to @android:style/Theme.Translucent to enable transparent background interstitial ad.
02-27 23:41:45.160: D/dalvikvm(22810): GC_CONCURRENT freed 280K, 12% free 8912K/10084K, paused 2ms+4ms, total 33ms
02-27 23:41:45.300: W/Ads(22810): There was a problem getting an ad response. ErrorCode: 1
02-27 23:41:45.310: I/webclipboard(22810): clipservice: android.sec.clipboard.ClipboardExManager@4294e778
02-27 23:41:45.310: V/webkit(22810): BrowserFrame constructor: this=Handler (android.webkit.BrowserFrame) {429b3d88}
02-27 23:41:45.320: W/Ads(22810): Failed to load ad: 1
02-27 23:41:45.320: E/SQLiteLog(22810): (10) Failed to open database file with errno : 30!
02-27 23:41:45.320: E/SQLiteLog(22810): (14) cannot open file at line 32459 of [00bb9c9ce4]
02-27 23:41:45.320: E/SQLiteLog(22810): (14) os_unix.c:32459: (2) open(/NotificationPermissions.db) -
02-27 23:41:45.320: D/WebKit(22810): ERROR:
02-27 23:41:45.320: D/WebKit(22810): SQLite database failed to load from /NotificationPermissions.db
02-27 23:41:45.320: D/WebKit(22810): Cause - unable to open database file
02-27 23:41:45.320: D/WebKit(22810): external/webkit/Source/WebCore/platform/sql/SQLiteDatabase.cpp(71) : bool WebCore::SQLiteDatabase::open(const WTF::String&, bool)
so what to do to solve this?
tu...@gmail.com <tu...@gmail.com> #8
Maybe your erros is because ProGuard. "Could not find class 'android.support.v4.app.FragmentActivity', referenced from method com.google.android.gms.common.GooglePlayServicesUtil.showErrorDialogFragment".
I get a black screen very often , but not always. This is only using this version of app support. I do not get any error in my logcat!! Only the ANR... Android not responding...
I cant use the 20 lib version, because I already update my app in Google Store (!!!) using the new material designe, and tab.
Please, someone, help MEEEE
I get a black screen very often , but not always. This is only using this version of app support. I do not get any error in my logcat!! Only the ANR... Android not responding...
I cant use the 20 lib version, because I already update my app in Google Store (!!!) using the new material designe, and tab.
Please, someone, help MEEEE
en...@gmail.com <en...@gmail.com> #10
#7 tupiniki...@gmail.com thank you for your comment, however this is not related to ProGuard, I tried to run the sample which run correctly before updating google play services on device, and after updating google play services on my device the errors appears.
we...@gmail.com <we...@gmail.com> #11
This is caused by appcompat-v7:21.0.3 requiring methods that are not present in SDK versions earlier than version 21 (Android 5.0). Basically running support classes on a device with an earlier version of android results in the errors in the original post and android using fallbacks rather than the code specified in your program. This is most visible in the ActionBar since custom colors, icons etc will not be visible.
Workaround for apps with min SDK >= 11:
Instead of having your activities extend ActionBarActivity, use Activity as the base class.
Use a Holo theme as your app's base theme and the ActionBar is included by default.
Customize as normal in an XML file.
To show menu items as Actions on the ActionBar, change app:showAsAction="ifRoom" to android:showAsAction="ifRoom" in your menu XML files.
Hope this helps someone!
Workaround for apps with min SDK >= 11:
Instead of having your activities extend ActionBarActivity, use Activity as the base class.
Use a Holo theme as your app's base theme and the ActionBar is included by default.
Customize as normal in an XML file.
To show menu items as Actions on the ActionBar, change app:showAsAction="ifRoom" to android:showAsAction="ifRoom" in your menu XML files.
Hope this helps someone!
bo...@gmail.com <bo...@gmail.com> #12
2websterw: I think, that main problem is we need that appcompat solution.
--Dev. information:
Platform - Windows Vista 64bit
Environment - Android Studio 1.1.0
Debug. device - Samsung SM-T700 (Tab S)
--code:
java:
MyActivity.javahttp://pastebin.com/R5nReX4r
Manifest:
AndroidManifest.xmlhttp://pastebin.com/RqzXZCG2
Gradle Scripts:
build.gradlehttp://pastebin.com/DhLBSa9M
res/menu:
main_activity_actions.xmlhttp://pastebin.com/KZ4evEN3
res/layout:
activity_my.xmlhttp://pastebin.com/SVKknfdw
--Story:
I have same or similar problem to others. I was going throughhttps://developer.android.com/training/basics/actionbar/adding-buttons.html . Result is logcat is full of W/E.
User action:
1) click on overflow (three vert. dots)
2) click on shown settings
3) repeat 1) and 2)
I was trying different settings in gradle (compileSdkVersion, buildToolsVersion, minSdkVersion, targetSdkVersion, compile). How it affected logcat output can be seen in linked logcat output.
--Logcat output:http://pastebin.com/cx94NZwQ
--I would like to point out these rows:
--------
Could not find method android.view.ViewGroup.onNestedScrollAccepted, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onNestedScrollAccepted
W/dalvikvm﹕ VFY: unable to resolve virtual method 12209: Landroid/view/ViewGroup;.onNestedScrollAccepted (Landroid/view/View;Landroid/view/View;I)V
Could not find method android.view.ViewGroup.onStopNestedScroll, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onStopNestedScroll
unable to resolve virtual method 12215: Landroid/view/ViewGroup;.onStopNestedScroll (Landroid/view/View;)V
Could not find method android.support.v7.internal.widget.ActionBarOverlayLayout.stopNestedScroll, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.setHideOnContentScrollEnabled
Could not find method android.content.res.Resources.getDrawableForDensity, referenced from method
VFY: unable to resolve virtual method 357: Landroid/content/res/Resources;.getDrawableForDensity (IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
sendUserActionEvent() mView == null
and others... - see linked logcat output
--------
There were some topics on some warnings/errors I have shown on StackOverflow
http://stackoverflow.com/questions/18761109/actionbar-support-v7-android
http://stackoverflow.com/questions/23063214/error-landroid-support-v7-widget-searchview5-when-using-action-bar-compat-libra
http://stackoverflow.com/questions/28144235/android-studio-emulation-error
http://stackoverflow.com/questions/18028666/senduseractionevent-is-null
http://stackoverflow.com/questions/20160737/senduseractionevent-mview-null-after-clicking-on-button
http://stackoverflow.com/questions/27065249/what-do-these-android-logcat-warnings-mean
and others...
But I do not see any usable solution. In my opinion this behavior is bug. Any suggestion?
--Dev. information:
Platform - Windows Vista 64bit
Environment - Android Studio 1.1.0
Debug. device - Samsung SM-T700 (Tab S)
--code:
java:
MyActivity.java
Manifest:
AndroidManifest.xml
Gradle Scripts:
build.gradle
res/menu:
main_activity_actions.xml
res/layout:
activity_my.xml
--Story:
I have same or similar problem to others. I was going through
User action:
1) click on overflow (three vert. dots)
2) click on shown settings
3) repeat 1) and 2)
I was trying different settings in gradle (compileSdkVersion, buildToolsVersion, minSdkVersion, targetSdkVersion, compile). How it affected logcat output can be seen in linked logcat output.
--Logcat output:
--I would like to point out these rows:
--------
Could not find method android.view.ViewGroup.onNestedScrollAccepted, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onNestedScrollAccepted
W/dalvikvm﹕ VFY: unable to resolve virtual method 12209: Landroid/view/ViewGroup;.onNestedScrollAccepted (Landroid/view/View;Landroid/view/View;I)V
Could not find method android.view.ViewGroup.onStopNestedScroll, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onStopNestedScroll
unable to resolve virtual method 12215: Landroid/view/ViewGroup;.onStopNestedScroll (Landroid/view/View;)V
Could not find method android.support.v7.internal.widget.ActionBarOverlayLayout.stopNestedScroll, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.setHideOnContentScrollEnabled
Could not find method android.content.res.Resources.getDrawableForDensity, referenced from method
VFY: unable to resolve virtual method 357: Landroid/content/res/Resources;.getDrawableForDensity (IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
sendUserActionEvent() mView == null
and others... - see linked logcat output
--------
There were some topics on some warnings/errors I have shown on StackOverflow
and others...
But I do not see any usable solution. In my opinion this behavior is bug. Any suggestion?
we...@gmail.com <we...@gmail.com> #13
Bolova:
I agree completely that this is a bug. The issue is that your device SDK is lower than 21 (which is where the methods like onNestedScrollAccepted were added see link below for reference). So far as I can tell, your options right now for getting rid of these errors are:
1. Use baked in android alternatives to the appcompat classes (SDK 11+ only)
2. Use an older version of appcompat-v7 and adjust your target SKD accordingly. A quick test showed that appcompat-v7 19.0.0 and SDK target 19 did not produce that string of errors. (I don't see this as a good solution for production, but to go through the tutorials, it should be fine)
3. Wait for an update from google
Link to ViewGroup documentation:
http://developer.android.com/reference/android/view/ViewGroup.html#onNestedScrollAccepted(android.view.View , android.view.View, int)
I agree completely that this is a bug. The issue is that your device SDK is lower than 21 (which is where the methods like onNestedScrollAccepted were added see link below for reference). So far as I can tell, your options right now for getting rid of these errors are:
1. Use baked in android alternatives to the appcompat classes (SDK 11+ only)
2. Use an older version of appcompat-v7 and adjust your target SKD accordingly. A quick test showed that appcompat-v7 19.0.0 and SDK target 19 did not produce that string of errors. (I don't see this as a good solution for production, but to go through the tutorials, it should be fine)
3. Wait for an update from google
Link to ViewGroup documentation:
xa...@android.com <xa...@android.com>
ch...@google.com <ch...@google.com> #14
These are warnings and completely harmless. Regardless, most of them are fixed in the next release.
kr...@gmail.com <kr...@gmail.com> #15
This issue is not solved. I got following exception:
java.lang.IndexOutOfBoundsException: Invalid index 2, size is 2
at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
at java.util.ArrayList.get(ArrayList.java:308)
at android.widget.ArrayAdapter.getItem(ArrayAdapter.java:337)
at android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:390)
at android.widget.ArrayAdapter.getView(ArrayAdapter.java:362)
at android.widget.Spinner.makeView(Spinner.java:592)
at android.widget.Spinner.layout(Spinner.java:540)
at android.widget.Spinner.onLayout(Spinner.java:502)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.widget.ScrollView.onLayout(ScrollView.java:1468)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1055)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:907)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.support.v7.internal.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:502)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1983)
at android.view.ViewRootImpl.performTra
java.lang.IndexOutOfBoundsException: Invalid index 2, size is 2
at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
at java.util.ArrayList.get(ArrayList.java:308)
at android.widget.ArrayAdapter.getItem(ArrayAdapter.java:337)
at android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:390)
at android.widget.ArrayAdapter.getView(ArrayAdapter.java:362)
at android.widget.Spinner.makeView(Spinner.java:592)
at android.widget.Spinner.layout(Spinner.java:540)
at android.widget.Spinner.onLayout(Spinner.java:502)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.widget.ScrollView.onLayout(ScrollView.java:1468)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1055)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:907)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.support.v7.internal.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:502)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1983)
at android.view.ViewRootImpl.performTra
ch...@google.com <ch...@google.com> #16
#15: that exception is neither related to this bug, or even in AppCompat.
ch...@google.com <ch...@google.com> #17
Released in the 22.1.0 support library.
Description
Hi, when I updated my build.gradle file to 'com.android.support:appcompat-v7:21.0.3' I got some warnings and my ActionBar doesn't work as expected (It get's the default appearance and the custom color and logo are gone), I don't know if this is intentionally or if some code got deprecated and doesn't work anymore and I have to change it, the warnings I get are these:
12-29 11:21:34.207 29421-29421/
12-29 11:21:34.207 29421-29421/
12-29 11:21:34.207 29421-29421/
12-29 11:21:34.207 29421-29421/
12-29 11:21:34.207 29421-29421/
12-29 11:21:34.208 29421-29421/
12-29 11:21:34.209 29421-29421/
12-29 11:21:34.210 29421-29421/
12-29 11:21:34.210 29421-29421/
12-29 11:21:34.215 29421-29421/
12-29 11:21:34.215 29421-29421/
12-29 11:21:34.215 29421-29421/
12-29 11:21:34.217 29421-29421/
12-29 11:21:34.217 29421-29421/
12-29 11:21:34.217 29421-29421/
If I get back to 'com.android.support:appcompat-v7:20.0.0' this warnings disappear and I can see my custom action bar again.