Device is unable to write ANR trace into trace.txt - android

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

Related

Zebra Datawedge Stops receiving scans

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'

ClassNotFoundException on custom Application class (not in APK/dex files?)

I'm at a loss on this... I have an app that was previously compiling and working, that now cannot find its own custom Application class. I looked in the APK at each dex file and don't see it anywhere. I rarely update the app code anymore, so it's not like a recent code / gradle change should have caused this. Below is the stacktrace from logcat:
07-13 23:35:47.273 19148 19148 E AndroidRuntime: FATAL EXCEPTION: main
07-13 23:35:47.273 19148 19148 E AndroidRuntime: Process: <app_package_name>, PID: 19148
07-13 23:35:47.273 19148 19148 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate application <app_package_name>.<MyCustomApplicationClass>: java.lang.ClassNotFoundException: Didn't find class "<app_package_name>.<MyCustomApplicationClass>" on path: DexPathList[[zip file "/data/app/<app_package_name>-...==/base.apk"],nativeLibraryDirectories=[/data/app/<app_package_name>-...==/lib/x86, /system/lib, /system/vendor/lib]]
07-13 23:35:47.273 19148 19148 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:948)
07-13 23:35:47.273 19148 19148 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5759)
07-13 23:35:47.273 19148 19148 E AndroidRuntime: at android.app.ActivityThread.-wrap1(Unknown Source:0)
07-13 23:35:47.273 19148 19148 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1659)
07-13 23:35:47.273 19148 19148 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:105)
07-13 23:35:47.273 19148 19148 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
07-13 23:35:47.273 19148 19148 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6535)
07-13 23:35:47.273 19148 19148 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-13 23:35:47.273 19148 19148 E AndroidRuntime: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
07-13 23:35:47.273 19148 19148 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
07-13 23:35:47.273 19148 19148 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "<app_package_name>.<MyCustomApplicationClass>" on path: DexPathList[[zip file "/data/app/<app_package_name>-...==/base.apk"],nativeLibraryDirectories=[/data/app/<app_package_name>-...==/lib/x86, /system/lib, /system/vendor/lib]]
07-13 23:35:47.273 19148 19148 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)
07-13 23:35:47.273 19148 19148 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
07-13 23:35:47.273 19148 19148 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
07-13 23:35:47.273 19148 19148 E AndroidRuntime: at android.app.Instrumentation.newApplication(Instrumentation.java:1086)
07-13 23:35:47.273 19148 19148 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:942)
07-13 23:35:47.273 19148 19148 E AndroidRuntime: ... 9 more
07-13 23:35:47.297 1630 2640 W ActivityManager: Force finishing activity <app_package_name>/<core_module_package>.HomeActivity
07-13 23:35:47.481 1630 1715 W AppOps : Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0
07-13 23:35:47.794 1630 1657 W Looper : Dispatch took 373ms on android.ui, h=Handler (android.view.Choreographer$FrameHandler) {3a74f28} cb=android.view.Choreographer$FrameDisplayEventReceiver#94b1441 msg=0
07-13 23:35:47.803 1630 1656 W ActivityManager: Activity pause timeout for ActivityRecord{6da3ef1 u0 <app_package_name>/<core_module_package>.HomeActivity t18 f}
07-13 23:35:48.134 1630 1657 W Looper : Dispatch took 181ms on android.ui, h=Handler (com.android.server.am.ActivityManagerService$UiHandler) {43c2d01} cb=null msg=30
07-13 23:35:48.414 2544 19186 E ActivityThread: Failed to find provider info for com.google.android.apps.gsa.testing.ui.audio.recorded
07-13 23:35:48.446 1630 1715 W WindowManager: Failed looking up window
07-13 23:35:48.446 1630 1715 W WindowManager: java.lang.IllegalArgumentException: Requested window android.view.ViewRootImpl$W#1173f3f does not exist
07-13 23:35:48.446 1630 1715 W WindowManager: at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:5609)
07-13 23:35:48.446 1630 1715 W WindowManager: at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:5602)
07-13 23:35:48.446 1630 1715 W WindowManager: at com.android.server.wm.WindowManagerService.removeWindow(WindowManagerService.java:1644)
07-13 23:35:48.446 1630 1715 W WindowManager: at com.android.server.wm.Session.remove(Session.java:209)
07-13 23:35:48.446 1630 1715 W WindowManager: at android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:3488)
07-13 23:35:48.446 1630 1715 W WindowManager: at android.view.ViewRootImpl.doDie(ViewRootImpl.java:6306)
07-13 23:35:48.446 1630 1715 W WindowManager: at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3882)
07-13 23:35:48.446 1630 1715 W WindowManager: at android.os.Handler.dispatchMessage(Handler.java:105)
07-13 23:35:48.446 1630 1715 W WindowManager: at android.os.Looper.loop(Looper.java:164)
07-13 23:35:48.446 1630 1715 W WindowManager: at android.os.HandlerThread.run(HandlerThread.java:65)
07-13 23:35:48.446 1630 1715 W WindowManager: at com.android.server.ServiceThread.run(ServiceThread.java:46)
07-13 23:35:48.718 1630 1777 E TaskPersister: File error accessing recents directory (directory doesn't exist?).
07-13 23:35:53.485 2544 19186 E ActivityThread: Failed to find provider info for com.google.android.apps.gsa.testing.ui.audio.recorded
07-13 23:35:58.452 1630 1656 W ActivityManager: Activity destroy timeout for ActivityRecord{6da3ef1 u0 <app_package_name>/<core_module_package>.HomeActivity t18 f}
The app is arranged as a few gradle modules. There's one core module with most of the app code. Then there's free and pro modules that customize what features the user sees. Each has its own custom Application class that extends a custom Application class in the core module. After the crash, I pulled up the APK analyzer in Android Studio (latest 3.5 beta at the moment) and saw no signs of the custom Application class in any of the dex files.
I've tried adding a couple of Proguard lines to -keep everything in the package. I've also tried -dontobfuscate.
Yes, the custom Application classes are listed in the AndroidManifest.xml of each module, are correctly spelled, etc. I've tried both absolute and relative paths to the class with the same result. I tried disabling R8 and that didn't help either.
The app is set for API levels 23 to 28, uses AndroidX, etc.
Any ideas what I'm missing here?
EDIT:
Here's the relevant bits of Manifest:
This is the relevant piece the "pro" module's AndroidManifest.xml:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="<package>">
<application android:label="#string/app_name"
android:icon="#drawable/ic_launcher"
android:name=".<CustomName>Application"
tools:replace="android:name">
And this is the relevant piece the core module's AndroidManifest.xml:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="<base_package>">
<application
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:name="<base_package>.<CustomBase>Application"
android:usesCleartextTraffic="true"
android:targetSandboxVersion="1">
The custom Application class in the core module extends MultiDexApplication.

ADB Logcat show nothing

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) .

adb shell am instrument process crashed

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

How to connect the Bluetooth device in Android

I reference and imitates the Android Sample at android-sdks\samples\android-18\legacy\BluetoothLeGatt to developing an application.
I can scan the device.
But the app crash when I try to connect the bluetooth device.
This is the log that the app crash when I try to connect the bluetooth device.
D/BtGatt.btif( 2443): btif_gattc_scan
D/BtGatt.btif( 2443): btgattc_handle_event: Event 1003
D/BtGatt.GattService( 2443): unregisterClient() - clientIf=4
D/BtGatt.btif( 2443): btif_gattc_unregister_app
D/BtGatt.btif( 2443): btgattc_handle_event: Event 1001
D/BtGatt.btif( 2443): btif_gattc_upstreams_evt: Event 1
I/ActivityManager( 1766): START u0 {cmp=com.example.prevent_the_lost/.DeviceControl (has extras)} from pid 5526
W/WindowManager( 1766): Screenshot failure taking screenshot for (166x125) to layer 21015
I/bt-hci ( 2443): BLE HCI(id=62) event = 0x02)
I/bt-hci ( 2443): btu_ble_process_adv_pkt
D/BluetoothAdapter( 5526): stopLeScan()
I/bt-hci ( 2443): BLE HCI(id=62) event = 0x02)
I/bt-hci ( 2443): btu_ble_process_adv_pkt
D/dalvikvm( 5526): GC_CONCURRENT freed 165K, 5% free 4427K/4624K, paused 1ms+1ms, total 5ms
W/ActivityManager( 1766): Unable to start service Intent { cmp=com.example.prevent_the_lost/.BluetoothLeService } U=0: not found
I/ActivityManager( 1766): Displayed com.example.prevent_the_lost/.DeviceControl: +29ms
D/AndroidRuntime( 5526): Shutting down VM
W/dalvikvm( 5526): threadid=1: thread exiting with uncaught exception (group=0x94ee8648)
E/AndroidRuntime( 5526): FATAL EXCEPTION: main
E/AndroidRuntime( 5526): java.lang.NullPointerException
E/AndroidRuntime( 5526): at com.example.prevent_the_lost.DeviceControl.onOptionsItemSelected(DeviceControl.java:140)
E/AndroidRuntime( 5526): at android.app.Activity.onMenuItemSelected(Activity.java:2566)
E/AndroidRuntime( 5526): at com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected(PhoneWindow.java:986)
E/AndroidRuntime( 5526): at com.android.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:735)
E/AndroidRuntime( 5526): at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)
E/AndroidRuntime( 5526): at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:874)
E/AndroidRuntime( 5526): at com.android.internal.view.menu.ActionMenuView.invokeItem(ActionMenuView.java:547)
E/AndroidRuntime( 5526): at com.android.internal.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:115)
E/AndroidRuntime( 5526): at android.view.View.performClick(View.java:4240)
E/AndroidRuntime( 5526): at android.view.View$PerformClick.run(View.java:17721)
E/AndroidRuntime( 5526): at android.os.Handler.handleCallback(Handler.java:730)
E/AndroidRuntime( 5526): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 5526): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 5526): at android.app.ActivityThread.main(ActivityThread.java:5103)
E/AndroidRuntime( 5526): at java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime( 5526): at java.lang.reflect.Method.invoke(Method.java:525)
E/AndroidRuntime( 5526): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
E/AndroidRuntime( 5526): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/AndroidRuntime( 5526): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 1766): Force finishing activity com.example.prevent_the_lost/.DeviceControl
W/WindowManager( 1766): Screenshot failure taking screenshot for (166x125) to layer 21020
W/ActivityManager( 1766): Activity pause timeout for ActivityRecord{4aad960c u0com.example.prevent_the_lost/.DeviceControl}
I/Process ( 5526): Sending signal. PID: 5526 SIG: 9
W/InputDispatcher( 1766): channel '4aaa49ec com.example.prevent_the_lost/com.example.prevent_the_lost.Device_List (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 1766): channel '4aaa49ec com.example.prevent_the_lost/com.example.prevent_the_lost.Device_List (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 1766): channel '4aa9c3e4 com.example.prevent_the_lost/com.example.prevent_the_lost.DeviceControl (server)' ~ Consumer closed input channel or an error occurred. events=0xd
E/InputDispatcher( 1766): channel '4aa9c3e4 com.example.prevent_the_lost/com.example.prevent_the_lost.DeviceControl (server)' ~ Channel is unrecoverably brokenand will be disposed!
W/InputDispatcher( 1766): Attempted to unregister already unregistered input channel '4aaa49ec com.example.prevent_the_lost/com.example.prevent_the_lost.Device_List (server)'
W/InputDispatcher( 1766): Attempted to unregister already unregistered input channel '4aa9c3e4 com.example.prevent_the_lost/com.example.prevent_the_lost.DeviceControl (server)'
I/ActivityManager( 1766): Process com.example.prevent_the_lost (pid 5526) has died.
I/WindowState( 1766): WIN DEATH: Window{4aaa49ec u0 com.example.prevent_the_lost/com.example.prevent_the_lost.Device_List}
I/WindowState( 1766): WIN DEATH: Window{4aa9c3e4 u0 com.example.prevent_the_lost/com.example.prevent_the_lost.DeviceControl}
I/ActivityManager( 1766): Start proc com.example.prevent_the_lost for activity com.example.prevent_the_lost/.Device_List: pid=5545 uid=10043 gids={50043, 3001,3002, 1028}
I/ActivityThread( 5545): Switching default density from 160 to 130
D/BluetoothManagerService( 1766): Message: 20
D/BluetoothManagerService( 1766): Added callback: android.bluetooth.IBluetoothManagerCallback$Stub$Proxy#4ab1fee8:true
W/InputMethodManagerService( 1766): Got RemoteException sending setActive(false) notification to pid 5526 uid 10043
I/ActivityManager( 1766): Displayed com.example.prevent_the_lost/.Device_List: +171ms
D/dalvikvm( 1766): GC_CONCURRENT freed 455K, 19% free 7301K/8980K, paused 1ms+1ms, total 12ms
I don't know what the error in this Log ??
Could somebody tell me the error and how to solve it ???
Thanks a lot!!!
I find the error is "Unable to start service Intent"
The solution is add the Service in Manifest -> Application.

Categories

Resources