I'm having trouble with ADB Logcat.
What I did:
(in my android device, I'm using LG G6):
turned USB debugging on
connected the device to the computer
(in my computer)
used windows powershell
cd AppData\Local\Android\android-sdk\platform-tools
I did .\adb devices and the output is
List of devices attached
LGH870DSe2cfa712 device
I did .\adb logcat -s Unity ActivityManager PackageManager dalvikvm DEBUG and it showed nothing. It worked normally a few days ago.
when I disconnected the device, the adb automatically stopped the logcat.
I tried doing adb when no devices are connected and it showed
-waiting for devices-, then I connected the device and nohthing happened.
I then tried another device (Asus Zenfone 3 max) and the powershell showed this:
PS C:\Users\user\AppData\Local\Android\android-sdk\platform-tools> .\adb logcat -s Unity ActivityManager PackageManager
dalvikvm DEBUG
--------- beginning of crash
--------- beginning of system
11-21 18:55:19.463 1025 3687 E ActivityManager: getContentProviderImpl: Update provider ProcessRecord{a16dbf1 1025:sys
tem/1000} conProviers's adj. conProviders.provider.proc=ProcessRecord{5a0c559 32615:com.android.providers.calendar/u0a20
} stableCount=1
11-21 19:53:41.976 1025 1123 E ActivityManager: getContentProviderImpl: Update provider ProcessRecord{ea76cc2 2487:com
.asus.contacts/u0a7} conProviers's adj. conProviders.provider.proc=ProcessRecord{deae782 4065:android.process.acore/u0a2
1} stableCount=1
11-21 19:53:42.181 1025 1862 E ActivityManager: getContentProviderImpl: Update provider ProcessRecord{ea76cc2 2487:com
.asus.contacts/u0a7} conProviers's adj. conProviders.provider.proc=ProcessRecord{deae782 4065:android.process.acore/u0a2
1} stableCount=1
11-21 19:53:42.182 1025 1862 E ActivityManager: getContentProviderImpl: Update provider ProcessRecord{ea76cc2 2487:com
.asus.contacts/u0a7} conProviers's adj. conProviders.provider.proc=ProcessRecord{deae782 4065:android.process.acore/u0a2
1} stableCount=1
11-21 19:53:42.438 1025 1036 E ActivityManager: getContentProviderImpl: Update provider ProcessRecord{ea76cc2 2487:com
.asus.contacts/u0a7} conProviers's adj. conProviders.provider.proc=ProcessRecord{deae782 4065:android.process.acore/u0a2
1} stableCount=1
11-21 19:53:42.441 1025 4847 E ActivityManager: getContentProviderImpl: Update provider ProcessRecord{ea76cc2 2487:com
.asus.contacts/u0a7} conProviers's adj. conProviders.provider.proc=ProcessRecord{deae782 4065:android.process.acore/u0a2
1} stableCount=1
11-21 19:53:59.530 1025 4846 E ActivityManager: getContentProviderImpl: Update provider ProcessRecord{ea76cc2 2487:com
.asus.contacts/u0a7} conProviers's adj. conProviders.provider.proc=ProcessRecord{deae782 4065:android.process.acore/u0a2
1} stableCount=1
11-21 19:53:59.714 1025 1036 E ActivityManager: getContentProviderImpl: Update provider ProcessRecord{ea76cc2 2487:com
.asus.contacts/u0a7} conProviers's adj. conProviders.provider.proc=ProcessRecord{deae782 4065:android.process.acore/u0a2
1} stableCount=1
11-21 19:53:59.717 1025 1854 E ActivityManager: getContentProviderImpl: Update provider ProcessRecord{ea76cc2 2487:com
.asus.contacts/u0a7} conProviers's adj. conProviders.provider.proc=ProcessRecord{deae782 4065:android.process.acore/u0a2
1} stableCount=1
11-22 05:51:02.514 1025 1880 E ActivityManager: getContentProviderImpl: Update provider ProcessRecord{676c3b4 17393:co
m.google.android.music:main/u0a93} conProviers's adj. conProviders.provider.proc=ProcessRecord{454972e 12856:android.pro
cess.media/u0a25} stableCount=1
11-22 08:59:19.897 1025 4918 E ActivityManager: getContentProviderImpl: Update provider ProcessRecord{2803ff2 23335:co
m.asus.appinstallationservice/u0a3} conProviers's adj. conProviders.provider.proc=ProcessRecord{4b76a2e 23347:com.asus.a
ppmanager/u0a48} stableCount=1
11-22 10:21:45.378 1025 4846 E ActivityManager: getContentProviderImpl: Update provider ProcessRecord{1c417d4 27927:co
m.google.android.music:main/u0a93} conProviers's adj. conProviders.provider.proc=ProcessRecord{92edd91 23964:android.pro
cess.media/u0a25} stableCount=1
11-22 14:08:13.447 1025 1860 E ActivityManager: Exception thrown starting services in ProcessRecord{9f1e55c 0:com.andr
oid.chrome:sandboxed_process0/u0a67i371}
11-22 14:08:13.447 1025 1860 E ActivityManager: at android.os.BinderProxy.transactNative(Native Method)
11-22 14:08:13.447 1025 1860 E ActivityManager: android.os.DeadObjectException
11-22 14:08:13.447 1025 1860 E ActivityManager: at android.os.BinderProxy.transact(Binder.java:511)
11-22 14:08:13.447 1025 1860 E ActivityManager: at android.app.ApplicationThreadProxy.scheduleCreateService(Appl
icationThreadNative.java:980)
11-22 14:08:13.447 1025 1860 E ActivityManager: at com.android.server.am.ActiveServices.realStartServiceLocked(A
ctiveServices.java:1675)
11-22 14:08:13.447 1025 1860 E ActivityManager: at com.android.server.am.ActiveServices.attachApplicationLocked(
ActiveServices.java:2229)
11-22 14:08:13.447 1025 1860 E ActivityManager: at com.android.server.am.ActivityManagerService.attachApplicatio
nLocked(ActivityManagerService.java:6977)
11-22 14:08:13.447 1025 1860 E ActivityManager: at com.android.server.am.ActivityManagerService.attachApplicatio
n(ActivityManagerService.java:7033)
11-22 14:08:13.447 1025 1860 E ActivityManager: at android.app.ActivityManagerNative.onTransact(ActivityManagerN
ative.java:513)
11-22 14:08:13.447 1025 1860 E ActivityManager: at com.android.server.am.ActivityManagerService.onTransact(Activ
ityManagerService.java:2729)
11-22 14:08:13.447 1025 1860 E ActivityManager: at android.os.Binder.execTransact(Binder.java:458)
11-22 14:31:43.717 1025 1860 E ActivityManager: getContentProviderImpl: Update provider ProcessRecord{8d82dfe 5479:com
.google.android.music:main/u0a93} conProviers's adj. conProviders.provider.proc=ProcessRecord{630085 3520:android.proces
s.media/u0a25} stableCount=1
11-22 17:43:54.387 1025 4918 D ActivityManager: publishContentProviders: from caller=android.app.ApplicationThreadProx
y#a9b5ab0 (pid=12170)
I tried searching this and got no solution.
Please help.
Here is something I noticed.
I have a couple of devices that shows nothing when I run adb logcat, but logcat works if I see the log in Android Studio. When that happens, I run adb shell -t logcat, which seems to work.
What is you adb version and LG G6 version?
adb 1.0.39 work well with LG G6 (android7) if you need adb logcat .
adb 1.0.40 and 1.0.41 unable work with LG G6 (android7) .
Related
Using a Zebra MC3300 Device with Datawedge 8.0 +
I've been working on a scanning app that requires me to scan an RFID in step one and immediately scan a barcode in step two. The process is repeated to link the RFID and barcode in the DB. I've developed the app using the data wedge API but the scan is failed after a couple of scans the RFID scan doesn't scan anymore even though it is enabled and whether enable/disable the profile, restarting the app doesn't help either. When this happens I have to restart the device completely to get it to work again.
From the logs, I observed some sort of crashes and messages that I think might be helpful in understanding the issue. Any help is appreciated.
Thanks in advance.
02-07 19:19:06.021 724 724 I ScannerFramework: [Scanner::ScannerOpen] 'ScannerOpen' called, Calling process pid '1551', package name 'com.symbol.datawedge'
02-07 19:19:06.021 724 724 E ScannerFramework: [StackAdapter::ScannerOpen] User exists but Scanner not initialized
02-07 19:19:06.023 724 724 I ScannerFramework: [Scanner::ScannerOpen] - '0'
02-07 19:19:06.028 528 528 E HWComposer: getLayerReleaseFence: Invalid display
02-07 19:19:06.252 528 528 I chatty : uid=1000(system) /system/bin/surfaceflinger identical 87 lines
02-07 19:19:06.252 528 528 E HWComposer: getLayerReleaseFence: Invalid display
02-07 19:19:06.262 1168 1183 D ActivityTrigger: ActivityTrigger activityStopTrigger
02-07 19:19:06.266 724 1016 I ScannerFramework: [Scanner::IsScannerConnected] 'IsScannerConnected' called, Calling process pid '1551'
02-07 19:19:06.266 724 1016 I ScannerFramework: [Scanner::IsScannerConnected] - '1'
02-07 19:19:06.266 724 1169 I ScannerFramework: [564:280][Scanner::ScannerEnable] 'ScannerEnable' called, Calling process pid '1551'
02-07 19:19:06.275 528 528 E HWComposer: getLayerReleaseFence: Invalid display
02-07 19:19:06.415 528 528 I chatty : uid=1000(system) /system/bin/surfaceflinger identical 23 lines
02-07 19:19:06.415 528 528 E HWComposer: getLayerReleaseFence: Invalid display
02-07 19:19:06.478 724 1169 I imgdec : OCRVersionString 1.6.5.11
02-07 19:19:06.478 724 1169 I imgdec : DecOpen ImgKit IMGKIT_8.03T01.26
02-07 19:19:06.490 724 1169 I ScannerFramework: [StateMachine::MoveState] Transition from 1 to 0 for pid -1
02-07 19:19:06.490 724 1169 I ScannerFramework: [StateMachine::MoveState] Transition from 1 to 0 for pid 1551
02-07 19:19:06.490 724 1169 I ScannerFramework: [Scanner::ScannerEnable] - '0'
02-07 19:19:06.493 1551 1551 D ImagingProxy: Inside ImagingProxy(mServiceName)com.symbol.imagingcapture
02-07 19:19:06.502 724 1169 I ScannerFramework: [StateMachine::MoveState] Transition from 0 to 5 for pid -1
02-07 19:19:06.502 724 1169 I ScannerFramework: [StateMachine::MoveState] Transition from 0 to 5 for pid 1551
02-07 19:19:06.502 724 1169 I ScannerFramework: [DigimarkCWrapper::Decinit] g_mScannerEngine : se4750_cam_builtin g_bInitDone = 1
02-07 19:19:06.513 1168 2203 E ActivityManager: Sending non-protected broadcast com.symbol.datawedge.api.RESULT_ACTION from system 1551:com.symbol.datawedge/u0a10 pkg com.symbol.datawedge
02-07 19:19:06.513 1168 2203 E ActivityManager: java.lang.Throwable
02-07 19:19:06.513 1168 2203 E ActivityManager: at com.android.server.am.ActivityManagerService.checkBroadcastFromSystem(ActivityManagerService.java:19400)
02-07 19:19:06.513 1168 2203 E ActivityManager: at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:19916)
02-07 19:19:06.513 1168 2203 E ActivityManager: at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:20151)
02-07 19:19:06.513 1168 2203 E ActivityManager: at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:240)
02-07 19:19:06.513 1168 2203 E ActivityManager: at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3045)
02-07 19:19:06.513 1168 2203 E ActivityManager: at android.os.Binder.execTransact(Binder.java:697)
02-07 19:19:06.522 1168 2203 E ActivityManager: Sending non-protected broadcast com.symbol.datawedge.api.RESULT_ACTION from system 1551:com.symbol.datawedge/u0a10 pkg com.symbol.datawedge
02-07 19:19:06.522 1168 2203 E ActivityManager: java.lang.Throwable
02-07 19:19:06.522 1168 2203 E ActivityManager: at com.android.server.am.ActivityManagerService.checkBroadcastFromSystem(ActivityManagerService.java:19400)
02-07 19:19:06.522 1168 2203 E ActivityManager: at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:20009)
02-07 19:19:06.522 1168 2203 E ActivityManager: at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:20151)
02-07 19:19:06.522 1168 2203 E ActivityManager: at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:240)
02-07 19:19:06.522 1168 2203 E ActivityManager: at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3045)
02-07 19:19:06.522 1168 2203 E ActivityManager: at android.os.Binder.execTransact(Binder.java:697)
02-07 19:19:06.526 1551 1551 D com.symbol.datawedge.api.IntentAPIManager: onReceive(..):com.symbol.datawedge.ScanningService#18323e5,Intent { act=com.symbol.datawedge.api.ACTION flg=0x10 (has extras) }
02-07 19:19:06.541 1168 1543 D CompatibilityInfo: mCompatibilityFlags - 4
02-07 19:19:06.542 1168 1543 D CompatibilityInfo: applicationDensity - 240
02-07 19:19:06.542 1168 1543 D CompatibilityInfo: applicationScale - 1.0
02-07 19:19:06.700 1168 1543 E ActivityManager: Sending non-protected broadcast com.symbol.datawedge.api.RESULT_ACTION from system 1551:com.symbol.datawedge/u0a10 pkg com.symbol.datawedge
02-07 19:19:06.700 1168 1543 E ActivityManager: java.lang.Throwable
02-07 19:19:06.700 1168 1543 E ActivityManager: at com.android.server.am.ActivityManagerService.checkBroadcastFromSystem(ActivityManagerService.java:19400)
02-07 19:19:06.700 1168 1543 E ActivityManager: at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:19916)
02-07 19:19:06.700 1168 1543 E ActivityManager: at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:20151)
02-07 19:19:06.700 1168 1543 E ActivityManager: at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:240)
02-07 19:19:06.700 1168 1543 E ActivityManager: at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3045)
02-07 19:19:06.700 1168 1543 E ActivityManager: at android.os.Binder.execTransact(Binder.java:697)
02-07 19:19:06.703 1168 1543 E ActivityManager: Sending non-protected broadcast com.symbol.datawedge.api.RESULT_ACTION from system 1551:com.symbol.datawedge/u0a10 pkg com.symbol.datawedge
02-07 19:19:06.703 1168 1543 E ActivityManager: java.lang.Throwable
02-07 19:19:06.703 1168 1543 E ActivityManager: at com.android.server.am.ActivityManagerService.checkBroadcastFromSystem(ActivityManagerService.java:19400)
02-07 19:19:06.703 1168 1543 E ActivityManager: at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:20009)
02-07 19:19:06.703 1168 1543 E ActivityManager: at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:20151)
02-07 19:19:06.703 1168 1543 E ActivityManager: at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:240)
02-07 19:19:06.703 1168 1543 E ActivityManager: at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3045)
02-07 19:19:06.703 1168 1543 E ActivityManager: at android.os.Binder.execTransact(Binder.java:697)
02-07 19:19:06.706 1551 1551 D com.symbol.datawedge.api.IntentAPIManager: onReceive(..):com.symbol.datawedge.ScanningService#18323e5,Intent { act=com.symbol.datawedge.api.ACTION flg=0x10 (has extras) }
02-07 19:19:06.943 1425 1425 D KeyguardUpdateMonitor: received broadcast android.intent.action.BATTERY_CHANGED
02-07 19:19:06.947 1425 1425 D KeyguardUpdateMonitor: handleBatteryUpdate
02-07 19:19:06.947 1397 1785 D HeadsetStateMachine: Disconnected process message: 10, size: 0
02-07 19:19:06.947 1397 1785 D HeadsetStateMachine: Enter processIntentBatteryChanged()
02-07 19:19:06.947 1397 1785 D HeadsetStateMachine: Exit processIntentBatteryChanged()
02-07 19:19:06.948 1397 1785 D HeadsetStateMachine: Exit Disconnected processMessage()
02-07 19:19:06.948 5492 5492 D com.symbol.dataanalytics.a.a.d.b: Received battery event
02-07 19:19:06.948 5492 5492 D com.symbol.dataanalytics.a.a.d.b: BatteryFactory event action = android.intent.action.BATTERY_CHANGED
02-07 19:19:06.972 528 528 E HWComposer: getLayerReleaseFence: Invalid display
02-07 19:19:06.989 528 528 I chatty : uid=1000(system) /system/bin/surfaceflinger identical 8 lines
02-07 19:19:06.989 528 528 E HWComposer: getLayerReleaseFence: Invalid display
02-07 19:19:07.040 724 1017 I ScannerFramework: [Scanner::ClearReadSubmit] 'ClearReadSubmit' called, Calling process pid '1551'
02-07 19:19:07.040 724 1017 I ScannerFramework: [StateMachine::MoveState] Transition from 5 to 0 for pid -1
02-07 19:19:07.041 724 1017 I ScannerFramework: [StateMachine::MoveState] Transition from 5 to 0 for pid 1551
02-07 19:19:07.041 724 1017 I ScannerFramework: [Scanner::ClearReadSubmit] - '0'
02-07 19:19:07.041 724 1016 I ScannerFramework: [Scanner::ScannerDisable] 'ScannerDisable' called, Calling process pid '1551'
02-07 19:19:07.079 528 528 E HWComposer: getLayerReleaseFence: Invalid display
02-07 19:19:07.079 528 528 I chatty : uid=1000(system) /system/bin/surfaceflinger identical 3 lines
02-07 19:19:07.079 528 528 E HWComposer: getLayerReleaseFence: Invalid display
02-07 19:19:07.111 724 1016 I ScannerFramework: [StateMachine::MoveState] Transition from 0 to 1 for pid -1
02-07 19:19:07.111 724 1016 I ScannerFramework: [StateMachine::MoveState] Transition from 0 to 1 for pid 1551
02-07 19:19:07.111 724 1016 W ScannerFramework: [StateMachine::MoveState] Transition from 1 to 1 is invalid
02-07 19:19:07.111 724 1016 I ScannerFramework: [Scanner::ScannerDisable] - '0'
02-07 19:19:07.111 1551 1551 D ScanningProxy: Inside ScannerRelease(). ReferenceCounter value=1
02-07 19:19:07.112 724 1169 I ScannerFramework: [Scanner::ScannerRelease] 'ScannerRelease' called, Calling process pid '1551'
02-07 19:19:07.112 724 1169 I ScannerFramework: [Scanner::ScannerRelease] - '0'
02-07 19:19:07.167 1551 1551 D ScanningProxy: Inside ScannerOpen().... mReferenceCounter=0
02-07 19:19:07.167 724 724 I ScannerFramework: [Scanner::ScannerOpen] 'ScannerOpen' called, Calling process pid '1551', package name 'com.symbol.datawedge'
02-07 19:19:07.167 724 724 E ScannerFramework: [StackAdapter::ScannerOpen] User exists but Scanner not initialized
02-07 19:19:07.168 724 724 I ScannerFramework: [Scanner::ScannerOpen] - '0'
02-07 19:19:07.472 724 1016 I ScannerFramework: [Scanner::IsScannerConnected] 'IsScannerConnected' called, Calling process pid '1551'
02-07 19:19:07.472 724 1016 I ScannerFramework: [Scanner::IsScannerConnected] - '1'
02-07 19:19:07.473 724 1169 I ScannerFramework: [565:487][Scanner::ScannerEnable] 'ScannerEnable' called, Calling process pid '1551'
02-07 19:19:07.676 724 1169 I imgdec : OCRVersionString 1.6.5.11
02-07 19:19:08.042 1551 1551 I RfidServiceManager: Constructor of RfidServiceManager
02-07 19:19:08.048 1551 1551 D RFIDAPI3: bindtoService
02-07 19:19:08.050 1551 1551 D RFIDAPI3: bindtoService registerReceiver
02-07 19:19:08.050 1168 1569 I rfid_service: GetAvailableReader
02-07 19:19:08.050 1168 1569 I RFIDSERVICE-RFIDService: GetAvailableReaders: [1551] <MC3300R20161523020090>
02-07 19:19:08.066 1551 1551 D RFIDAPI3: Connect
02-07 19:19:08.066 1551 1551 D RFIDAPI3: bindtoService
02-07 19:19:08.066 1551 1551 D RFIDAPI3: bindtoService registerReceiver
02-07 19:19:08.067 1168 1595 I rfid_service: Connect
02-07 19:19:08.067 1168 1595 I RFIDSERVICE-RFIDService: Connect: Attempting to connect, Client Name: MC3300R20161523020090, Client PID: 1551
02-07 19:19:08.109 1168 1387 W Binder : Outgoing transactions from this process must be FLAG_ONEWAY
02-07 19:19:08.109 1168 1387 W Binder : java.lang.Throwable
02-07 19:19:08.109 1168 1387 W Binder : at android.os.BinderProxy.transact(Binder.java:754)
02-07 19:19:08.109 1168 1387 W Binder : at com.zebra.rfid.api3.IRFIDDeviceDataCallBack$Stub$Proxy.onData(IRFIDDeviceDataCallBack.java:95)
02-07 19:19:08.109 1168 1387 W Binder : at com.zebra.rfid.RFIDClientConnection.sendData(RFIDClientConnection.java:205)
02-07 19:19:08.109 1168 1387 W Binder : at com.zebra.rfid.RFIDCommMgr$DataWriteThread.run(RFIDCommMgr.java:393)
02-07 19:19:08.136 1551 1551 D API3Android: API3Android Connect status = 0
02-07 19:19:08.231 502 502 D WifiHAL : In DebugCommand::handleResponse
02-07 19:19:08.231 502 502 D WifiHAL : len = 4, expected len = 4
02-07 19:19:08.233 502 502 D WifiHAL : In DebugCommand::handleResponse
02-07 19:19:08.233 502 502 D WifiHAL : len = 4, expected len = 4
02-07 19:19:08.262 1168 1255 D WifiStateMachine: fetchRssiLinkSpeedAndFrequencyNative rssi=-61 linkspeed=144 freq=2462
02-07 19:19:08.422 1168 2170 E ActivityManager: Sending non-protected broadcast com.symbol.datawedge.api.RESULT_ACTION from system 1551:com.symbol.datawedge/u0a10 pkg com.symbol.datawedge
02-07 19:19:08.422 1168 2170 E ActivityManager: java.lang.Throwable
02-07 19:19:08.422 1168 2170 E ActivityManager: at com.android.server.am.ActivityManagerService.checkBroadcastFromSystem(ActivityManagerService.java:19400)
02-07 19:19:08.422 1168 2170 E ActivityManager: at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:19916)
02-07 19:19:08.422 1168 2170 E ActivityManager: at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:20151)
02-07 19:19:08.422 1168 2170 E ActivityManager: at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:240)
02-07 19:19:08.422 1168 2170 E ActivityManager: at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3045)
02-07 19:19:08.422 1168 2170 E ActivityManager: at android.os.Binder.execTransact(Binder.java:697)
02-07 19:19:08.423 1168 2170 E ActivityManager: Sending non-protected broadcast com.symbol.datawedge.api.RESULT_ACTION from system 1551:com.symbol.datawedge/u0a10 pkg com.symbol.datawedge
02-07 19:19:08.423 1168 2170 E ActivityManager: java.lang.Throwable
02-07 19:19:08.423 1168 2170 E ActivityManager: at com.android.server.am.ActivityManagerService.checkBroadcastFromSystem(ActivityManagerService.java:19400)
02-07 19:19:08.423 1168 2170 E ActivityManager: at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:20009)
02-07 19:19:08.423 1168 2170 E ActivityManager: at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:20151)
02-07 19:19:08.423 1168 2170 E ActivityManager: at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:240)
02-07 19:19:08.423 1168 2170 E ActivityManager: at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3045)
02-07 19:19:08.423 1168 2170 E ActivityManager: at android.os.Binder.execTransact(Binder.java:697)
02-07 19:19:08.425 1551 1551 D com.symbol.datawedge.api.IntentAPIManager: onReceive(..):com.symbol.datawedge.ScanningService#18323e5,Intent { act=com.symbol.datawedge.api.ACTION flg=0x10 (has extras) }
02-07 19:19:08.459 1551 1551 D ScanningProxy: Inside ScannerOpen().... mReferenceCounter=0
02-07 19:19:08.460 724 1169 I ScannerFramework: [Scanner::ScannerOpen] 'ScannerOpen' called, Calling process pid '1551', package name 'com.symbol.datawedge'
02-07 19:19:08.460 724 1169 E ScannerFramework: [StackAdapter::ScannerOpen] User exists but Scanner not initialized
02-07 19:19:08.461 724 1169 I ScannerFramework: [Scanner::ScannerOpen] - '0'
I'm trying to run an espresso black box test on a 3rd party apk file using a test apk file. I've set the testApplicationId in the build.gradle, and the targetPackage in AndroidManifest.xml.
Here's the commands I run:
adb install app-debug.apk
Success
adb install app-debug-androidTest.apk
Success
adb shell am instrument -w com.example.android.testing.espresso.WikipediaTester/android.support.test.runner.AndroidJUnitRunner
INSTRUMENTATION_RESULT: shortMsg=Process crashed.
INSTRUMENTATION_CODE: 0
Here's the tomcat log:
09-11 22:22:17.065 8576 8576 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
09-11 22:22:17.098 8576 8576 W app_process: Unexpected CPU variant for X86 using defaults: x86
09-11 22:22:17.116 8576 8576 D AndroidRuntime: Calling main entry com.android.commands.am.Am
09-11 22:22:17.118 1510 2317 I ActivityManager: Force stopping org.wikipedia.alpha appid=10102 user=0: start instr
09-11 22:22:17.123 8586 8586 I zygote : Not late-enabling -Xcheck:jni (already on)
09-11 22:22:17.130 1510 2317 I ActivityManager: Start proc 8586:org.wikipedia.alpha/u0a102 for added application org.wikipedia.alpha
09-11 22:22:17.131 8586 8586 W zygote : Unexpected CPU variant for X86 using defaults: x86
09-11 22:22:17.149 8586 8586 W zygote : Found duplicate classes, falling back to extracting from APK : /data/app/org.wikipedia.alpha-X9wevNAQOGt3rTh-c4Ydpg==/base.apk
09-11 22:22:17.149 8586 8586 W zygote : NOTE: This wastes RAM and hurts startup performance.
09-11 22:22:17.149 8586 8586 W zygote : Found duplicated class when checking oat files: 'Landroid/support/annotation/AnimRes;' in /data/app/org.wikipedia.alpha-X9wevNAQOGt3rTh-c4Ydpg==/base.apk and /data/app/com.example.android.testing.espresso.WikipediaTester-iiYiial_oKwqZvmMrjx_Zw==/base.apk
09-11 22:22:17.149 8586 8586 W zygote :
09-11 22:22:17.279 8586 8586 W System : ClassLoader referenced unknown path:
09-11 22:22:17.281 8586 8586 D AndroidRuntime: Shutting down VM
09-11 22:22:17.282 8586 8586 E AndroidRuntime: FATAL EXCEPTION: main
09-11 22:22:17.282 8586 8586 E AndroidRuntime: Process: org.wikipedia.alpha, PID: 8586
09-11 22:22:17.282 8586 8586 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate instrumentation ComponentInfo{com.example.android.testing.espresso.WikipediaTester/android.support.test.runner.AndroidJUnitRunner}: java.lang.ClassNotFoundException: Didn't find class "android.support.test.runner.AndroidJUnitRunner" on path: DexPathList[[],nativeLibraryDirectories=[/system/lib, /system/vendor/lib]]
09-11 22:22:17.282 8586 8586 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5730)
09-11 22:22:17.282 8586 8586 E AndroidRuntime: at android.app.ActivityThread.-wrap1(Unknown Source:0)
09-11 22:22:17.282 8586 8586 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1661)
09-11 22:22:17.282 8586 8586 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:105)
09-11 22:22:17.282 8586 8586 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
09-11 22:22:17.282 8586 8586 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6541)
09-11 22:22:17.282 8586 8586 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
09-11 22:22:17.282 8586 8586 E AndroidRuntime: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
09-11 22:22:17.282 8586 8586 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
09-11 22:22:17.282 8586 8586 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.test.runner.AndroidJUnitRunner" on path: DexPathList[[],nativeLibraryDirectories=[/system/lib, /system/vendor/lib]]
09-11 22:22:17.282 8586 8586 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)
09-11 22:22:17.282 8586 8586 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
09-11 22:22:17.282 8586 8586 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
09-11 22:22:17.282 8586 8586 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5728)
09-11 22:22:17.282 8586 8586 E AndroidRuntime: ... 8 more
09-11 22:22:17.284 8586 8586 I Process : Sending signal. PID: 8586 SIG: 9
09-11 22:22:17.328 1510 1522 I ActivityManager: Process org.wikipedia.alpha (pid 8586) has died: fore FGS
09-11 22:22:17.329 1510 1522 W ActivityManager: Crash of app org.wikipedia.alpha running instrumentation ComponentInfo{com.example.android.testing.espresso.WikipediaTester/android.support.test.runner.AndroidJUnitRunner}
09-11 22:22:17.329 1510 1522 I ActivityManager: Force stopping org.wikipedia.alpha appid=10102 user=0: finished inst
09-11 22:22:17.330 1510 8604 W Binder : Outgoing transactions from this process must be FLAG_ONEWAY
09-11 22:22:17.330 1510 8604 W Binder : java.lang.Throwable
09-11 22:22:17.330 1510 8604 W Binder : at android.os.BinderProxy.transact(Binder.java:736)
09-11 22:22:17.330 1510 8604 W Binder : at android.app.IInstrumentationWatcher$Stub$Proxy.instrumentationFinished(IInstrumentationWatcher.java:160)
09-11 22:22:17.330 1510 8604 W Binder : at com.android.server.am.InstrumentationReporter$MyThread.run(InstrumentationReporter.java:86)
09-11 22:22:17.331 8576 8576 D AndroidRuntime: Shutting down VM
Figured it out, moved from androidTest to main
LG G2(Android version: 4.4.2) device unable to write ANR trace into trace.txt. Is it issue with the device or firmware?
Following is the error given in adb logs.
05-20 10:05:32.015 964 1003 E ActivityManager: ANR in com.verizon.pushtotalkplus (com.verizon.pushtotalkplus/.PocMainActivity)
05-20 10:05:32.015 964 1003 E ActivityManager: PID: 8309
05-20 10:05:32.015 964 1003 E ActivityManager: Reason: Input dispatching timed out (Waiting because the touched window has not finished processing the input events that were previously delivered to it.)
05-20 10:05:32.025 964 23382 E ActivityManager: Error reading /data/anr/traces.txt
05-20 10:05:32.025 964 23382 E ActivityManager: java.io.FileNotFoundException: /data/anr/traces.txt: open failed: ENOENT (No such file or directory)
05-20 10:05:32.025 964 23382 E ActivityManager: at libcore.io.IoBridge.open(IoBridge.java:458)
05-20 10:05:32.025 964 23382 E ActivityManager: at java.io.FileInputStream.(FileInputStream.java:78)
05-20 10:05:32.025 964 23382 E ActivityManager: at android.os.FileUtils.readTextFile(FileUtils.java:229)
05-20 10:05:32.025 964 23382 E ActivityManager: at com.android.server.am.ActivityManagerService$18.run(ActivityManagerService.java:10322)
05-20 10:05:32.025 964 23382 E ActivityManager: Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
05-20 10:05:32.025 964 23382 E ActivityManager: at libcore.io.Posix.open(Native Method)
05-20 10:05:32.025 964 23382 E ActivityManager: at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
05-20 10:05:32.025 964 23382 E ActivityManager: at libcore.io.IoBridge.open(IoBridge.java:442)
05-20 10:05:32.025 964 23382 E ActivityManager: ... 3 more
I'm completely stuck here with this exception. This exception is completely slowing down the Application. And also I googled the Exception but no good results for me.
11-21 07:05:04.812: DEBUG/VoldCmdListener(75): volume aseced /mnt/sdcard/external_sd
11-21 07:05:04.816: DEBUG/MountService(135): getAsecVolumeState :: result = unmounted
11-21 07:05:04.816: WARN/ActivityManager(135): No content provider found for:
11-21 07:05:04.851: WARN/ActivityManager(135): No content provider found for:
11-21 07:05:04.855: DEBUG/PackageParser(135): Scanning package: /data/app/vmdl70274207.tmp
11-21 07:05:04.863: INFO/PackageParser(135): com.nds.fr.activities: compat added android.permission.WRITE_EXTERNAL_STORAGE
11-21 07:05:04.953: INFO/PackageManager(135): Removing non-system package:com.nds.fr.activities
11-21 07:05:04.953: INFO/ActivityManager(135): Force stopping package com.nds.fr.activities uid=10074
11-21 07:05:04.960: INFO/Process(135): Sending signal. PID: 1095 SIG: 9
11-21 07:05:04.972: INFO/Launcher(254): onResume(). mIsNewIntent : false
11-21 07:05:04.976: ERROR/(254): onResume() check 0
11-21 07:05:04.976: ERROR/(254): onResume() check 1
11-21 07:05:04.976: ERROR/Launcher(254): setWindowOpaque()
11-21 07:05:04.992: ERROR/WifiService(135): Multicaster binderDied
11-21 07:05:04.992: INFO/WindowManager(135): WIN DEATH: Window{40a77a98 com.nds.fr.activities/com.nds.fr.activities.MainTab paused=false}
11-21 07:05:04.996: DEBUG/WifiStateTracker(135): high performance mode: false
11-21 07:05:05.023: ERROR/(254): onResume() check 2, mRestoring : false
11-21 07:05:05.023: ERROR/(254): onResume() check 3
11-21 07:05:05.023: ERROR/(254): onResume() check 4
11-21 07:05:05.023: ERROR/(254): onResume() check 5
11-21 07:05:05.027: INFO/Launcher(254): onResume() ended
11-21 07:05:05.031: INFO/Launcher(254): onWindowFocusChanged(true)
11-21 07:05:05.031: DEBUG/Launcher(254): It's image wallpaper. suggestDesiredDimensions(-1,-1)
11-21 07:05:05.089: ERROR/Launcher(254): setWindowOpaque()
11-21 07:05:05.097: DEBUG/PackageManager(135): Scanning package com.nds.fr.activities
11-21 07:05:05.101: INFO/PackageManager(135): Package com.nds.fr.activities codePath changed from /data/app/com.nds.fr.activities-1.apk to /data/app/com.nds.fr.activities-2.apk; Retaining data and using new
11-21 07:05:05.105: INFO/PackageManager(135): Unpacking native libraries for /data/app/com.nds.fr.activities-2.apk
11-21 07:05:05.117: WARN/InputManagerService(135): Got RemoteException sending setActive(false) notification to pid 1095 uid 10074
11-21 07:05:05.195: DEBUG/installd(85): DexInv: --- BEGIN '/data/app/com.nds.fr.activities-2.apk' ---
11-21 07:05:05.222: DEBUG/dalvikvm(1133): creating instr width table
11-21 07:05:05.437: DEBUG/dalvikvm(1133): DexOpt: load 16ms, verify+opt 175ms
11-21 07:05:05.492: DEBUG/installd(85): DexInv: --- END '/data/app/com.nds.fr.activities-2.apk' (success) ---
11-21 07:05:05.496: INFO/ActivityManager(135): Force stopping package com.nds.fr.activities uid=10074
11-21 07:05:05.496: WARN/PackageManager(135): Code path for pkg : com.nds.fr.activities changing from /data/app/com.nds.fr.activities-1.apk to /data/app/com.nds.fr.activities-2.apk
11-21 07:05:05.496: WARN/PackageManager(135): Resource path for pkg : com.nds.fr.activities changing from /data/app/com.nds.fr.activities-1.apk to /data/app/com.nds.fr.activities-2.apk
11-21 07:05:05.500: DEBUG/PackageManager(135): Activities: com.nds.fr.activities.StbDeviceList com.nds.fr.activities.Home com.nds.fr.activities.MainTab com.nds.fr.activities.TabGroup2Activity com.nds.fr.activities.GesturesActivity com.nds.fr.activities.GestureFunActivity com.nds.fr.activities.TabGroupActivity com.nds.fr.activities.ChannelListing com.nds.fr.activities.ChannelListEntry com.nds.fr.activities.TestAcc com.nds.fr.activities.EventListing com.nds.fr.activities.Channels com.nds.fr.activities.Volume com.nds.fr.activities.Remote com.nds.fr.activities.ExpandableList1 com.nds.fr.activities.EventDetails com.nds.fr.activities.CustomDialog com.nds.fr.activities.Boot
11-21 07:05:05.574: INFO/installd(85): move /data/dalvik-cache/data#app#com.nds.fr.activities-2.apk#classes.dex -> /data/dalvik-cache/data#app#com.nds.fr.activities-2.apk#classes.dex
11-21 07:05:05.574: DEBUG/PackageManager(135): New package installed in /data/app/com.nds.fr.activities-2.apk
11-21 07:05:05.628: INFO/ActivityManager(135): Force stopping package com.nds.fr.activities uid=10074
11-21 07:05:05.679: DEBUG/dalvikvm(135): GC_EXPLICIT freed 1748K, 43% free 6246K/10887K, external 8804K/9907K, paused 50ms
11-21 07:05:05.714: DEBUG/dalvikvm(254): GC_EXPLICIT freed 133K, 50% free 3174K/6343K, external 8594K/10637K, paused 34ms
11-21 07:05:05.765: DEBUG/VoiceDialerReceiver(721): onReceive Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:com.nds.fr.activities flg=0x10000000 cmp=com.android.voicedialer/.VoiceDialerReceiver (has extras) }
11-21 07:05:05.765: VERBOSE/RecognizerEngine(721): deleteCachedGrammarFiles /data/data/com.android.voicedialer/files/openentries.txt
11-21 07:05:05.769: DEBUG/UNA(294): ACTION_PACKAGE_REMOVED
11-21 07:05:05.769: DEBUG/UNA(294): Package Name = com.nds.fr.activities
11-21 07:05:05.769: DEBUG/UNA(294): The package is being removed
11-21 07:05:05.769: DEBUG/UNA(294): IsPreload +
11-21 07:05:05.769: DEBUG/UNA(294): IsPreload -
11-21 07:05:05.769: DEBUG/UNA(294): The Package is not preload
11-21 07:05:05.769: DEBUG/UNA(294): [PackageAgent] RemovePackageFromAStoreDB +
11-21 07:05:05.785: DEBUG/UNA(294): [PackageAgent] RemovePackageFromAStoreDB -
11-21 07:05:05.785: ERROR/UinboxLogger(729): [UinboxReceiver] onReceive() >> Context is android.app.ReceiverRestrictedContext#4051d9c0
11-21 07:05:05.785: INFO/UinboxLogger(729): [UinboxReceiver] onReceive() >> ==============================================
11-21 07:05:05.785: INFO/UinboxLogger(729): [UinboxReceiver] onReceive() >> UinboxSevenReceiver()
11-21 07:05:05.785: INFO/UinboxLogger(729): [UinboxReceiver] onReceive() >> intent.getAction() : android.intent.action.PACKAGE_REMOVED
11-21 07:05:05.785: INFO/UinboxLogger(729): [UinboxReceiver] onReceive() >> intent.getData() : com.nds.fr.activities
11-21 07:05:05.785: INFO/UinboxLogger(729): [UinboxReceiver] onReceive() >> ==============================================
*11-21 07:05:05.792: WARN/PackageManager(135): Unable to load service info ResolveInfo{408a61e0 com.android.exchange.TasksSyncAdapterService p=0 o=0 m=0x108000}
11-21 07:05:05.792: WARN/PackageManager(135): org.xmlpull.v1.XmlPullParserException: No android.content.SyncAdapter meta-data
11-21 07:05:05.792: WARN/PackageManager(135): at android.content.pm.RegisteredServicesCache.parseServiceInfo(RegisteredServicesCache.java:391)
11-21 07:05:05.792: WARN/PackageManager(135): at android.content.pm.RegisteredServicesCache.generateServicesMap(RegisteredServicesCache.java:260)
11-21 07:05:05.792: WARN/PackageManager(135): at android.content.pm.RegisteredServicesCache$1.onReceive(RegisteredServicesCache.java:110)
11-21 07:05:05.792: WARN/PackageManager(135): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:709)
11-21 07:05:05.792: WARN/PackageManager(135): at android.os.Handler.handleCallback(Handler.java:587)
11-21 07:05:05.792: WARN/PackageManager(135): at android.os.Handler.dispatchMessage(Handler.java:92)
11-21 07:05:05.792: WARN/PackageManager(135): at android.os.Looper.loop(Looper.java:123)
11-21 07:05:05.792: WARN/PackageManager(135): at com.android.server.ServerThread.run(SystemServer.java:641)
11-21 07:05:05.796: WARN/PackageManager(135): Unable to load service info ResolveInfo{408a18c8 com.android.exchange.NotesSyncAdapterService p=0 o=0 m=0x108000}
11-21 07:05:05.796: WARN/PackageManager(135): org.xmlpull.v1.XmlPullParserException: No android.content.SyncAdapter meta-data
11-21 07:05:05.796: WARN/PackageManager(135): at android.content.pm.RegisteredServicesCache.parseServiceInfo(RegisteredServicesCache.java:391)
11-21 07:05:05.796: WARN/PackageManager(135): at android.content.pm.RegisteredServicesCache.generateServicesMap(RegisteredServicesCache.java:260)
11-21 07:05:05.796: WARN/PackageManager(135): at android.content.pm.RegisteredServicesCache$1.onReceive(RegisteredServicesCache.java:110)
11-21 07:05:05.796: WARN/PackageManager(135): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:709)
11-21 07:05:05.796: WARN/PackageManager(135): at android.os.Handler.handleCallback(Handler.java:587)
11-21 07:05:05.796: WARN/PackageManager(135): at android.os.Handler.dispatchMessage(Handler.java:92)
11-21 07:05:05.796: WARN/PackageManager(135): at android.os.Looper.loop(Looper.java:123)
11-21 07:05:05.796: WARN/PackageManager(135): at com.android.server.ServerThread.run(SystemServer.java:641)
11-21 07:05:05.812: DEBUG/dalvikvm(341): GC_EXPLICIT freed 171K, 51% free 2851K/5767K, external 1596K/2108K, paused 90ms
11-21 07:05:05.828: DEBUG/Launcher.SWidgetPkgMgr(254): updatePackage=com.nds.fr.activities
11-21 07:05:05.851: DEBUG/VoiceDialerReceiver(721): onReceive Intent { act=android.intent.action.PACKAGE_ADDED dat=package:com.nds.fr.activities flg=0x10000000 cmp=com.android.voicedialer/.VoiceDialerReceiver (has extras) }
11-21 07:05:05.851: VERBOSE/RecognizerEngine(721): deleteCachedGrammarFiles /data/data/com.android.voicedialer/files/openentries.txt
11-21 07:05:05.859: WARN/PackageManager(135): Unable to load service info ResolveInfo{406d4930 com.android.exchange.TasksSyncAdapterService p=0 o=0 m=0x108000}
11-21 07:05:05.859: WARN/PackageManager(135): org.xmlpull.v1.XmlPullParserException: No android.content.SyncAdapter meta-data
11-21 07:05:05.859: WARN/PackageManager(135): at android.content.pm.RegisteredServicesCache.parseServiceInfo(RegisteredServicesCache.java:391)
11-21 07:05:05.859: WARN/PackageManager(135): at android.content.pm.RegisteredServicesCache.generateServicesMap(RegisteredServicesCache.java:260)
11-21 07:05:05.859: WARN/PackageManager(135): at android.content.pm.RegisteredServicesCache$1.onReceive(RegisteredServicesCache.java:110)
11-21 07:05:05.859: WARN/PackageManager(135): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:709)
11-21 07:05:05.859: WARN/PackageManager(135): at android.os.Handler.handleCallback(Handler.java:587)
11-21 07:05:05.859: WARN/PackageManager(135): at android.os.Handler.dispatchMessage(Handler.java:92)
11-21 07:05:05.859: WARN/PackageManager(135): at android.os.Looper.loop(Looper.java:123)
11-21 07:05:05.859: WARN/PackageManager(135): at com.android.server.ServerThread.run(SystemServer.java:641)
11-21 07:05:05.863: WARN/PackageManager(135): Unable to load service info ResolveInfo{406d44e8 com.android.exchange.NotesSyncAdapterService p=0 o=0 m=0x108000}
11-21 07:05:05.863: WARN/PackageManager(135): org.xmlpull.v1.XmlPullParserException: No android.content.SyncAdapter meta-data
11-21 07:05:05.863: WARN/PackageManager(135): at android.content.pm.RegisteredServicesCache.parseServiceInfo(RegisteredServicesCache.java:391)
11-21 07:05:05.863: WARN/PackageManager(135): at android.content.pm.RegisteredServicesCache.generateServicesMap(RegisteredServicesCache.java:260)
11-21 07:05:05.863: WARN/PackageManager(135): at android.content.pm.RegisteredServicesCache$1.onReceive(RegisteredServicesCache.java:110)
11-21 07:05:05.863: WARN/PackageManager(135): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:709)
11-21 07:05:05.863: WARN/PackageManager(135): at android.os.Handler.handleCallback(Handler.java:587)
11-21 07:05:05.863: WARN/PackageManager(135): at android.os.Handler.dispatchMessage(Handler.java:92)
11-21 07:05:05.863: WARN/PackageManager(135): at android.os.Looper.loop(Looper.java:123)
11-21 07:05:05.863: WARN/PackageManager(135): at com.android.server.ServerThread.run(SystemServer.java:641)
11-21 07:05:05.867: DEBUG/szipinf(135): Initializing inflate state
11-21 07:05:05.988: DEBUG/vending(363): [38] LocalAssetCache.updateOnePackage(): No local info for com.nds.fr.activities
11-21 07:05:06.210: DEBUG/dalvikvm(135): GC_EXPLICIT freed 487K, 44% free 6116K/10887K, external 6252K/7808K, paused 115ms*
11-21 07:05:06.214: DEBUG/UNA(294): ACTION_PACKAGE_REPLACED
11-21 07:05:06.214: DEBUG/UNA(294): IsPreload +
11-21 07:05:06.214: DEBUG/UNA(294): IsPreload -
11-21 07:05:06.214: DEBUG/UNA(294): The Package is not preload
Using AdMob by itself works perfectly. Using AdMob through AdWhirl causes the following problem:
23114 dalvikvm I Failed resolving Lcom/adwhirl/adapters/AdMobAdapter; interface 144 'Lcom/admob/android/ads/AdListener;'
23114 dalvikvm W Link of class 'Lcom/adwhirl/adapters/AdMobAdapter;' failed
23114 dalvikvm E Could not find class 'com.adwhirl.adapters.AdMobAdapter', referenced from method com.adwhirl.adapters.AdWhirlAdapter.getAdapter
23114 dalvikvm W VFY: unable to resolve new-instance 172 (Lcom/adwhirl/adapters/AdMobAdapter;) in Lcom/adwhirl/adapters/AdWhirlAdapter;
23114 dalvikvm D VFY: replacing opcode 0x22 at 0x0012
23114 dalvikvm D Making a copy of Lcom/adwhirl/adapters/AdWhirlAdapter;.getAdapter code (229 bytes)
23114 dalvikvm I Failed resolving Lcom/adwhirl/adapters/QuattroAdapter; interface 524 'Lcom/qwapi/adclient/android/view/AdEventsListener;'
23114 dalvikvm W Link of class 'Lcom/adwhirl/adapters/QuattroAdapter;' failed
23114 dalvikvm E Could not find class 'com.adwhirl.adapters.QuattroAdapter', referenced from method com.adwhirl.adapters.AdWhirlAdapter.getAdapter
23114 dalvikvm W VFY: unable to resolve new-instance 177 (Lcom/adwhirl/adapters/QuattroAdapter;) in Lcom/adwhirl/adapters/AdWhirlAdapter;
23114 dalvikvm D VFY: replacing opcode 0x22 at 0x002c
23114 AndroidRuntime D Shutting down VM
23114 dalvikvm W threadid=3: thread exiting with uncaught exception (group=0x4001b180)
23114 FlurryAgent D Ending session
23114 LocationManager D removeUpdates: listener = com.flurry.android.FlurryAgent#4496be70
23114 AndroidRuntime E Uncaught handler: thread main exiting due to uncaught exception
23114 AndroidRuntime E java.lang.NoClassDefFoundError: com.adwhirl.adapters.AdMobAdapter
23114 AndroidRuntime E at com.adwhirl.adapters.AdWhirlAdapter.getAdapter(AdWhirlAdapter.java:39)
23114 AndroidRuntime E at com.adwhirl.AdWhirlLayout.handleAd(AdWhirlLayout.java:154)
23114 AndroidRuntime E at com.adwhirl.AdWhirlLayout.access$0(AdWhirlLayout.java:143)
23114 AndroidRuntime E at com.adwhirl.AdWhirlLayout$1.run(AdWhirlLayout.java:87)
23114 AndroidRuntime E at android.os.Handler.handleCallback(Handler.java:587)
23114 AndroidRuntime E at android.os.Handler.dispatchMessage(Handler.java:92)
23114 AndroidRuntime E at android.os.Looper.loop(Looper.java:123)
23114 AndroidRuntime E at android.app.ActivityThread.main(ActivityThread.java:4363)
23114 AndroidRuntime E at java.lang.reflect.Method.invokeNative(Native Method)
23114 AndroidRuntime E at java.lang.reflect.Method.invoke(Method.java:521)
23114 AndroidRuntime E at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
23114 AndroidRuntime E at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
23114 AndroidRuntime E at dalvik.system.NativeStart.main(Native Method)
Any ideas?
If you use adwhirl you still have to include all the other ad sdks. Looks like it can't find
com/admob/android/ads/AdListener
Lcom/qwapi/adclient/android/view/AdEventsListener
Make sure you are still including the admob and quattro sdks.