Android MediaPlayer plays no sound and screen is getting black - android

My problem is when I run my app on API level 23 devices,I have a an issue,when video is playing and I lock the device,after unlocking,it plays sound for 2-3 seconds and then there is no sound,and after a couple of seconds the screen is getting black.
LogCat
09-14 07:56:01.819 1641-1641/system_process E/PowerManagerService-JNI: Couldn't load power module (No such file or directory)
09-14 07:56:01.919 1641-1641/system_process E/art: DexFile_getDexOptNeeded file '/system/framework/org.apache.http.legacy.jar' does not exist
09-14 07:56:02.800 1641-1641/system_process E/ConsumerIrService: Can't open consumer IR HW Module, error: -2
09-14 07:56:02.921 1641-1706/system_process E/EventHub: could not get driver version for /dev/input/mice, Not a typewriter
09-14 07:56:04.158 1641-1641/system_process E/UsbDeviceManager: failed to write to /sys/class/android_usb/android0/f_rndis/ethaddr
09-14 07:56:04.158 1641-1641/system_process E/UsbDeviceManagerJNI: could not open /dev/usb_accessory
09-14 07:56:04.266 1641-1641/system_process E/LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system/gatekeeper.password.key: open failed: ENOENT (No such file or directory)
09-14 07:56:04.266 1641-1641/system_process E/LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system/password.key: open failed: ENOENT (No such file or directory)
09-14 07:56:04.266 1641-1641/system_process E/LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system/gatekeeper.pattern.key: open failed: ENOENT (No such file or directory)
09-14 07:56:04.266 1641-1641/system_process E/LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system/gatekeeper.gesture.key: open failed: ENOENT (No such file or directory)
09-14 07:56:04.266 1641-1641/system_process E/LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system/gesture.key: open failed: ENOENT (No such file or directory)
09-14 07:56:04.274 1641-1641/system_process E/WifiService: Invoking mWifiStateMachine.setWifiEnabled
09-14 07:56:04.679 1641-1722/system_process E/BluetoothAdapter: Bluetooth binder is null
09-14 07:56:04.684 1641-1722/system_process E/BluetoothAdapter: Bluetooth binder is null
09-14 07:56:04.693 1641-2001/system_process E/WVMExtractor: Failed to open libwvm.so: dlopen failed: library "libwvm.so" not found
09-14 07:56:04.702 1641-1641/system_process E/InputMethodManagerService: Ignoring updateSystemUiLocked due to an invalid token. uid:1000 token:null
09-14 07:56:04.725 1641-1641/system_process E/FlpHardwareProvider: Error hw_get_module 'flp': -2
09-14 07:56:04.725 1641-1641/system_process E/LocationManagerService: FLP HAL not supported
09-14 07:56:04.726 1641-1641/system_process E/ActivityRecognitionHardware: Error hw_get_module: -2
09-14 07:56:04.726 1641-1641/system_process E/LocationManagerService: Hardware Activity-Recognition not supported.
09-14 07:56:04.741 1641-1662/system_process E/GpsLocationProvider: no AGPS interface in set_agps_server
09-14 07:56:04.781 1641-1662/system_process E/GpsLocationProvider: no AGPS interface in set_agps_server
09-14 07:56:04.782 1641-1715/system_process E/WifiStateMachine: Failed to reload STA firmware java.lang.IllegalArgumentException: command '16 softap fwreload wlan0 STA' failed with '501 16 SoftAP command has failed'
09-14 07:56:04.784 1641-1715/system_process E/WifiStateMachine: Unable to change interface settings: java.lang.IllegalStateException: command '18 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 18 Failed to set address (No such device)'
09-14 07:56:04.784 1641-1715/system_process E/WifiMonitor: killSupplicant p2pfalse init.svc.wpa_supplicant=unknown init.svc.p2p_supplicant=unknown
09-14 07:56:04.902 1641-1641/system_process E/BluetoothAdapter: Bluetooth binder is null
09-14 07:56:04.917 1641-1641/system_process E/BluetoothAdapter: Bluetooth binder is null
09-14 07:56:04.922 1641-1641/system_process E/BluetoothAdapter: Bluetooth binder is null
09-14 07:56:05.328 1641-1717/system_process E/ConnectivityService: Failed to find Messenger in unregisterNetworkFactory
09-14 07:56:06.506 1641-1662/system_process E/GpsLocationProvider: no AGPS interface in set_agps_server
09-14 07:56:06.533 1641-1662/system_process E/GpsLocationProvider: no AGPS interface in set_agps_server
09-14 07:56:06.687 1641-1662/system_process E/GpsLocationProvider: no AGPS interface in set_agps_server
09-14 07:56:06.726 1641-1662/system_process E/GpsLocationProvider: no AGPS interface in set_agps_server
09-14 07:56:06.737 1641-1662/system_process E/GpsLocationProvider: no AGPS interface in set_agps_server
09-14 07:56:06.857 1641-1662/system_process E/GpsLocationProvider: no AGPS interface in set_agps_server
09-14 07:56:06.862 1641-1662/system_process E/GpsLocationProvider: no AGPS interface in set_agps_server
09-14 07:56:10.042 1641-1715/system_process E/WifiHW: Failed to stop supplicant
09-14 07:56:10.042 1641-1715/system_process E/WifiNative-HAL: Could not start hal
09-14 07:56:10.042 1641-1715/system_process E/WifiStateMachine: Failed to start HAL
09-14 07:56:10.042 1641-1715/system_process E/WifiHW: Cannot open "/system/etc/wifi/wpa_supplicant.conf": No such file or directory
09-14 07:56:10.042 1641-1715/system_process E/WifiHW: Wi-Fi will not be enabled
09-14 07:56:10.042 1641-1715/system_process E/WifiStateMachine: Failed to start supplicant!
09-14 07:56:39.975 1641-1674/system_process E/Surface: getSlotFromBufferLocked: unknown buffer: 0xaaf4b0e0
09-14 07:56:39.975 1641-1674/system_process E/libEGL: call to OpenGL ES API with no current context (logged once per thread)
09-14 07:56:39.990 1641-1715/system_process E/WifiStateMachine: Fail to set up pno, want false now false
09-14 07:56:39.997 1641-1715/system_process E/WifiStateMachine: Fail to set up pno, want false now false
09-14 07:56:43.721 1641-1715/system_process E/WifiStateMachine: Fail to set up pno, want false now false
These two line are printed every time when I lock or unlock the device.
09-14 07:56:43.721 1641-1715/system_process E/WifiStateMachine: Fail
to set up pno, want false now false 09-14 08:03:36.788
1641-1674/system_process E/Surface: getSlotFromBufferLocked: unknown
buffer: 0xaaf4b0e0
Any help is appreciated,thx.

They have fixed the issue in Android 6.0.1. Just update your Android OS version and it will be ok.

Related

Strange errors after checking out project

I am checking out my project on another computer and I am running into some weird errors with gradle. Here is the complete error output from the console:
03-19 08:28:26.377 239-239/? E/vinput-seamless: found seamless mouse device
03-19 08:28:26.706 246-246/? E/libEGL: load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed: library "/system/lib/egl/libGLES_emulation.so" not found
03-19 08:28:26.744 246-246/? E/EGL_emulation: Failed to establish connection with the host
03-19 08:28:26.747 246-246/? E/gralloc_vbox86: gralloc: Failed to get host connection
03-19 08:28:26.747 246-246/? E/SurfaceFlinger: hwcomposer module not found
03-19 08:28:26.747 246-246/? E/SurfaceFlinger: ERROR: failed to open framebuffer (I/O error), aborting
--------- beginning of crash
03-19 08:28:26.747 246-246/? A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 246 (surfaceflinger)
[ 03-19 08:28:26.747 139: 139 W/ ]
debuggerd: handling request: pid=246 uid=1000 gid=1003 tid=246
[ 03-19 08:28:26.749 277: 277 E/ ]
debuggerd: Unable to connect to activity manager (connect failed: Connection refused)
03-19 08:28:26.800 277-277/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-19 08:28:26.800 277-277/? A/DEBUG: Build fingerprint: 'Android/vbox86p/vbox86p:7.1.1/NMF26Q/genymo03202243:userdebug/test-keys'
03-19 08:28:26.800 277-277/? A/DEBUG: Revision: '0'
03-19 08:28:26.800 277-277/? A/DEBUG: ABI: 'x86'
03-19 08:28:26.800 277-277/? A/DEBUG: pid: 246, tid: 246, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
03-19 08:28:26.800 277-277/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
03-19 08:28:26.800 277-277/? A/DEBUG: eax 00000000 ebx 000000f6 ecx 000000f6 edx 00000006
03-19 08:28:26.800 277-277/? A/DEBUG: esi eecf758c edi eecf7534
03-19 08:28:26.800 277-277/? A/DEBUG: xcs 00000023 xds 0000002b xes 0000002b xfs 00000003 xss 0000002b
03-19 08:28:26.800 277-277/? A/DEBUG: eip eec23bb9 ebp ff8a07b8 esp ff8a075c flags 00000296
03-19 08:28:26.800 277-277/? A/DEBUG: backtrace:
03-19 08:28:26.800 277-277/? A/DEBUG: #00 pc 00000bb9 [vdso:eec23000] (__kernel_vsyscall+9)
03-19 08:28:26.800 277-277/? A/DEBUG: #01 pc 0007a30c /system/lib/libc.so (tgkill+28)
03-19 08:28:26.800 277-277/? A/DEBUG: #02 pc 00075b55 /system/lib/libc.so (pthread_kill+85)
03-19 08:28:26.800 277-277/? A/DEBUG: #03 pc 0002786a /system/lib/libc.so (raise+42)
03-19 08:28:26.800 277-277/? A/DEBUG: #04 pc 0001ee46 /system/lib/libc.so (abort+86)
03-19 08:28:26.800 277-277/? A/DEBUG: #05 pc 0004fcae /system/lib/libsurfaceflinger.so
03-19 08:28:26.800 277-277/? A/DEBUG: #06 pc 0003e2f8 /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger4initEv+1016)
03-19 08:28:26.800 277-277/? A/DEBUG: #07 pc 00000e87 /system/bin/surfaceflinger
03-19 08:28:26.800 277-277/? A/DEBUG: #08 pc 0001533c /system/lib/libc.so (__libc_init+108)
03-19 08:28:26.800 277-277/? A/DEBUG: #09 pc 00000ccc /system/bin/surfaceflinger
...
03-19 08:28:36.013 598-617/system_process E/BatteryStatsService: no controller energy info supplied
[ 03-19 08:28:36.014 690: 690 D/ ]
HostConnection::get() New Host Connection established 0xdd17da40, tid 690
03-19 08:28:36.081 790-854/com.android.settings E/EGL_emulation: tid 854: eglSurfaceAttrib(1174): error 0x3009 (EGL_BAD_MATCH)
03-19 08:28:36.328 770-770/com.android.phone E/BluetoothAdapter: Bluetooth binder is null
03-19 08:28:36.445 690-690/com.android.systemui E/BluetoothAdapter: Bluetooth binder is null
03-19 08:28:36.457 690-690/com.android.systemui E/CameraManagerGlobal: Camera service is unavailable
03-19 08:28:36.468 690-690/com.android.systemui E/CameraManagerGlobal: Camera service is unavailable
03-19 08:28:36.950 770-770/com.android.phone E/PhoneInterfaceManager: [PhoneIntfMgr] getCarrierPackageNamesForIntent: No UICC
03-19 08:28:37.039 770-770/com.android.phone E/PhoneInterfaceManager: [PhoneIntfMgr] getIccId: No UICC
03-19 08:28:37.048 1129-1129/? E/memtrack: Couldn't load memtrack module (No such file or directory)
03-19 08:28:37.048 1129-1129/? E/android.os.Debug: failed to load memtrack module: -2
03-19 08:28:37.486 770-770/com.android.phone E/PhoneInterfaceManager: [PhoneIntfMgr] getIccId: No UICC
03-19 08:28:37.546 1063-1180/com.android.launcher3 E/libEGL: load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed: library "/system/lib/egl/libGLES_emulation.so" not found
03-19 08:28:37.558 770-770/com.android.phone E/PhoneInterfaceManager: [PhoneIntfMgr] getIccId: No UICC
[ 03-19 08:28:37.558 1063: 1180 D/ ]
..
03-19 08:28:41.779 1735-1735/? E/android.os.Debug: failed to load memtrack module: -2
03-19 08:28:42.241 330-330/? E/EmulatedCamera_GenyClient: receiveMessage: Unable to obtain payload size: Try again
03-19 08:28:42.241 330-330/? E/EmulatedCamera_GenyClient: doQuery Response to query 'connect' has failed: Try again
03-19 08:28:42.241 330-330/? E/EmulatedCamera_GenyClient: queryConnect: Query failed: No error message
03-19 08:28:42.241 330-330/? E/EmulatedCamera_GenyDevice: connectDevice: Connection to device 'back' failed
03-19 08:28:42.241 330-330/? E/CameraFlashlight: Could not open camera 0: -19
03-19 08:28:42.241 330-330/? E/CameraFlashlight: connectCameraDevice: initializing camera 0 failed
03-19 08:28:42.241 330-330/? E/CameraFlashlight: findFlashUnits: failed to check if camera 0 has a flash unit. No such device (-19)
03-19 08:28:43.052 1319-1740/com.google.android.gms E/ActivityThread: Failed to find provider info for com.google.android.wearable.settings
03-19 08:28:44.107 1319-1661/com.google.android.gms E/ConfigFileUtils: Failed to read config file: /data/user_de/0/com.google.android.gms/app_chimera/current_modulesets.pb (No such file or directory)
03-19 08:28:45.553 255-260/? E/Drm: Failed to find drm plugin
03-19 08:28:45.641 1319-1857/com.google.android.gms E/MDM: [172] wuq.run: Couldn't connect to Google API client: krs{statusCode=API_UNAVAILABLE, resolution=null, message=null}
03-19 08:28:45.778 1890-1890/? E/cutils-trace: Error opening trace file: Permission denied (13)
03-19 08:28:46.167 984-1917/com.google.android.gms.persistent E/BluetoothAdapter: Bluetooth binder is null
03-19 08:28:46.230 1923-1923/? E/cutils-trace: Error opening trace file: Permission denied (13)
03-19 08:28:46.337 984-984/com.google.android.gms.persistent E/BluetoothAdapter: Bluetooth binder is null
03-19 08:28:46.349 1742-1760/com.google.android.gms.unstable E/libEGL: load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed: library "/system/lib/egl/libGLES_emulation.so" not found
03-19 08:28:47.134 1319-1319/com.google.android.gms E/MDM: [1] SitrepChimeraService.a: No Google accounts; deferring server state update.
03-19 08:28:47.777 984-1688/com.google.android.gms.persistent E/NetworkScheduler.ATC: Received callback from client for task that is already complete. ComponentInfo{com.google.android.gms/com.google.android.gms.checkin.EventLogService} AggregationTaskTag
03-19 08:28:48.580 984-1972/com.google.android.gms.persistent E/NetworkScheduler.ATC: Received callback from client for task that is already complete. ComponentInfo{com.google.android.gms/com.google.android.gms.clearcut.uploader.QosUploaderService} qos_unmetered_periodic
03-19 08:28:48.587 984-1975/com.google.android.gms.persistent E/NetworkScheduler.ATC: Received callback from client for task that is already complete. ComponentInfo{com.google.android.gms/com.google.android.gms.clearcut.uploader.QosUploaderService} qos_default_periodic
03-19 08:28:48.913 1580-1580/com.google.android.configupdater E/ConfigUpdater: Received malformed URL while handling Gservices.CHANGED_ACTION intent_firewall: null null
03-19 08:28:48.915 1319-1740/com.google.android.gms E/ActivityThread: Failed to find provider info for com.google.android.wearable.settings
03-19 08:28:48.916 1580-1580/com.google.android.configupdater E/ConfigUpdater: Received malformed URL while handling Gservices.CHANGED_ACTION apn_db: null null
03-19 08:28:48.917 1580-1580/com.google.android.configupdater E/ConfigUpdater: Received malformed URL while handling Gservices.CHANGED_ACTION tzdata: null null
03-19 08:28:48.919 1580-1580/com.google.android.configupdater E/ConfigUpdater: Received malformed URL while handling Gservices.CHANGED_ACTION selinux: null null
03-19 08:28:48.923 1580-1580/com.google.android.configupdater E/ConfigUpdater: Received malformed URL while handling Gservices.CHANGED_ACTION carrier_provisioning_urls: null null
03-19 08:28:49.042 1319-1319/com.google.android.gms E/ChimeraProxyRslvr: Failed to instantiate com.google.android.gms.checkin.CheckinChimeraService$Receiver: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.checkin.CheckinChimeraService$Receiver" on path: DexPathList[[zip file "/system/framework/com.android.location.provider.jar", zip file "/system/framework/com.android.media.remotedisplay.jar", zip file "/system/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_extracted_libs/x86, /system/priv-app/PrebuiltGmsCore/lib/x86, /system/fake-libs, /system/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk!/lib/x86, /system/lib, /vendor/lib, /system/lib, /vendor/lib]]
03-19 08:28:49.042 1319-1319/com.google.android.gms E/ChimeraRcvrProxy: com.google.android.gms.checkin.CheckinServiceReceiver dropping broadcast com.google.gservices.intent.action.GSERVICES_CHANGED
03-19 08:28:49.128 1319-1740/com.google.android.gms E/ProcessCheckinRequest: CheckinNowTaskTag : Checkin Succeeded: https://android.clients.google.com/checkin (request #1):
03-19 08:28:49.230 1319-1954/com.google.android.gms E/ActivityThread: Failed to find provider info for com.google.android.wearable.settings
03-19 08:28:49.232 984-984/com.google.android.gms.persistent E/BluetoothAdapter: Bluetooth binder is null
03-19 08:28:49.333 1319-1715/com.google.android.gms E/ConfigFileUtils: Failed to read config file: /data/user_de/0/com.google.android.gms/app_chimera/current_modulesets.pb (No such file or directory)
03-19 08:28:49.394 984-2011/com.google.android.gms.persistent E/HeterodyneSyncer: expected change count fail
03-19 08:28:49.556 1319-1661/com.google.android.gms E/ConfigFileUtils: Failed to read config file: /data/user_de/0/com.google.android.gms/app_chimera/current_modulesets.pb (No such file or directory)
03-19 08:28:49.575 255-260/? E/Drm: Failed to find drm plugin
03-19 08:28:49.807 1319-1661/com.google.android.gms E/ConfigFileUtils: Failed to read config file: /data/user_de/0/com.google.android.gms/app_chimera/current_modulesets.pb (No such file or directory)
[ 03-19 08:28:49.817 1742: 1757 D/ ]
HostConnection::get() New Host Connection established 0xe0bb8e40, tid 1757
03-19 08:28:49.830 984-2020/com.google.android.gms.persistent E/GcmPushIntentOperation: Failed to subscribe to GCM: com.google.android.gms.accountsettings
java.io.IOException: TOO_MANY_SUBSCRIBERS
at uzy.b(:com.google.android.gms#11509470:41)
at uzy.a(:com.google.android.gms#11509470:46)
at uzv.b(:com.google.android.gms#11509470:11)
at uzv.a(:com.google.android.gms#11509470:29)
at com.google.android.gms.phenotype.gcmpush.GcmPushIntentOperation.a(:com.google.android.gms#11509470:22)
at com.google.android.gms.phenotype.gcmpush.GcmPushIntentOperation.a(:com.google.android.gms#11509470:4)
at com.google.android.gms.phenotype.gcmpush.GcmPushIntentOperation.onHandleIntent(:com.google.android.gms#11509470:18)
at com.google.android.chimera.IntentOperation.onHandleIntent(:com.google.android.gms#11509470:2)
at bwh.run(:com.google.android.gms#11509470:10)
at bwe.run(:com.google.android.gms#11509470:14)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
03-19 08:28:50.259 984-2020/com.google.android.gms.persistent E/GcmPushIntentOperation: Failed to subscribe to GCM: com.google.android.gms.audit
java.io.IOException: TOO_MANY_SUBSCRIBERS
at uzy.b(:com.google.android.gms#11509470:41)
at uzy.a(:com.google.android.gms#11509470:46)
at uzv.b(:com.google.android.gms#11509470:11)
at uzv.a(:com.google.android.gms#11509470:29)
at com.google.android.gms.phenotype.gcmpush.GcmPushIntentOperation.a(:com.google.android.gms#11509470:22)
at com.google.android.gms.phenotype.gcmpush.GcmPushIntentOperation.a(:com.google.android.gms#11509470:4)
at com.google.android.gms.phenotype.gcmpush.GcmPushIntentOperation.onHandleIntent(:com.google.android.gms#11509470:18)
at com.google.android.chimera.IntentOperation.onHandleIntent(:com.google.android.gms#11509470:2)
at bwh.run(:com.google.android.gms#11509470:10)
at bwe.run(:com.google.android.gms#11509470:14)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
03-19 08:28:50.439 984-2020/com.google.android.gms.persistent E/GcmPushIntentOperation: Failed to subscribe to GCM: com.google.android.gms.cast
java.io.IOException: TOO_MANY_SUBSCRIBERS
at uzy.b(:com.google.android.gms#11509470:41)
at uzy.a(:com.google.android.gms#11509470:46)
at uzv.b(:com.google.android.gms#11509470:11)
at uzv.a(:com.google.android.gms#11509470:29)
at com.google.android.gms.phenotype.gcmpush.GcmPushIntentOperation.a(:com.google.android.gms#11509470:22)
at com.google.android.gms.phenotype.gcmpush.GcmPushIntentOperation.a(:com.google.android.gms#11509470:4)
at com.google.android.gms.phenotype.gcmpush.GcmPushIntentOperation.onHandleIntent(:com.google.android.gms#11509470:18)
at com.google.android.chimera.IntentOperation.onHandleIntent(:com.google.android.gms#11509470:2)
at bwh.run(:com.google.android.gms#11509470:10)
at bwe.run(:com.google.android.gms#11509470:14)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
03-19 08:28:50.963 255-260/? E/Drm: Failed to find drm plugin
03-19 08:28:51.002 984-1809/com.google.android.gms.persistent E/NetworkScheduler.ATC: Provided calling package not found: com.google.android.apps.photos
03-19 08:28:52.273 1319-1954/com.google.android.gms E/ActivityThread: Failed to find provider info for com.google.android.wearable.settings
03-19 08:28:52.605 984-984/com.google.android.gms.persistent E/BluetoothAdapter: Bluetooth binder is null
03-19 08:28:52.889 1319-1954/com.google.android.gms E/ProcessCheckinRequest: CheckinNowTaskTag : Checkin Succeeded: https://android.clients.google.com/checkin (request #1):
03-19 08:28:56.659 598-651/system_process E/SupplicantWifiScannerImpl: Failed to start scan, freqs={2412}
03-19 08:28:56.659 598-648/system_process E/WifiConnectivityManager: SingleScanListener onFailure: reason: -1 description: Scan failed
03-19 08:29:01.659 598-651/system_process E/SupplicantWifiScannerImpl: Failed to start scan, freqs={2412}
03-19 08:29:01.660 598-648/system_process E/WifiConnectivityManager: SingleScanListener onFailure: reason: -1 description: Scan failed
03-19 08:29:06.661 598-651/system_process E/SupplicantWifiScannerImpl: Failed to start scan, freqs={2412}
03-19 08:29:06.661 598-648/system_process E/WifiConnectivityManager: SingleScanListener onFailure: reason: -1 description: Scan failed
03-19 08:29:11.661 598-651/system_process E/SupplicantWifiScannerImpl: Failed to start scan, freqs={2412}
03-19 08:29:11.661 598-648/system_process E/WifiConnectivityManager: SingleScanListener onFailure: reason: -1 description: Scan failed
03-19 08:29:16.663 598-651/system_process E/SupplicantWifiScannerImpl: Failed to start scan, freqs={2412}
03-19 08:29:16.663 598-648/system_process E/WifiConnectivityManager: SingleScanListener onFailure: reason: -1 description: Scan failed
03-19 08:29:22.127 2106-2106/com.google.android.gms:car E/CAR.TEL.Service: Failed to bind to InCallService
03-19 08:29:22.393 1508-1508/com.android.vending E/Finsky: [1] com.google.android.finsky.wear.bl.a(3): onConnectionFailed: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null, message=null}
03-19 08:29:33.709 598-628/system_process E/PackageInstaller: Commit of session 1175500126 failed: Failed to extract native libraries, res=-113
03-19 08:29:33.723 1508-1508/com.android.vending E/Finsky: [1] com.google.android.finsky.cb.a.n.onReceive(27): Error -507 while installing com.android.vending: INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113
03-19 08:29:38.209 2166-2173/com.android.deskclock E/art: Failed sending reply to debugger: Broken pipe
03-19 08:30:01.102 1319-1738/com.google.android.gms E/SQLiteCastStore: End saving paired guest mode devices
03-19 08:30:01.127 244-244/? E/lowmemorykiller: Error writing /proc/1814/oom_score_adj; errno=22
03-19 08:32:15.534 2221-2221/? E/memtrack: Couldn't load memtrack module (No such file or directory)
03-19 08:32:15.534 2221-2221/? E/android.os.Debug: failed to load memtrack module: -2
03-19 08:32:15.761 2236-2236/? E/memtrack: Couldn't load memtrack module (No such file or directory)
03-19 08:32:15.761 2236-2236/? E/android.os.Debug: failed to load memtrack module: -2
03-19 08:32:22.313 255-260/? E/Drm: Failed to find drm plugin
It looks like I am having some dependency issues. So I cleaned and rebuilt the project, still running into the same errors. I know for a fact it was compiling before it was pushed to Git.

Unity. Stop app on android

Create empty project in unity. Compile it to APK. When try to start : "Unfortunately (app) has stopped"
Device Filter : "FAT (ARMv7 + x86)"
Here is a logcat:
--------- beginning of /dev/log/system
E/VoldConnector( 652): NDC Command {468 asec create smdl2tmp1 45 ext4 [scrubbed] 10005 1} took too long (8857ms)
E/VoldConnector( 652): NDC Command {470 asec finalize smdl2tmp1} took too long (669ms)
--------- beginning of /dev/log/main
E/rsC++ (23278): RS Message thread exiting.
E/Finsky (29234): [1] com.google.android.finsky.wear.bl.a(3): onConnectionFailed: ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null, message=null}
E/ (23278): appName=com.android.launcher3, acAppName=/system/bin/surfaceflinger
E/ (23278): 0
E/ ( 652): Could not open '/data/data/hotplug/cmd'
E/ ( 652): error : 2, No such file or directory
E/AuthorizationBluetoothService( 908): Proximity feature is not enabled.
E/AuthorizationBluetoothService( 908): Proximity feature is not enabled.
E/dalvikvm(30687): Could not find class 'android.telecom.TelecomManager', referenced from method com.google.android.gms.wearable.service.y.a
E/AuthorizationBluetoothService( 908): Proximity feature is not enabled.
E/dalvikvm(30621): Could not find class 'android.app.usage.UsageStatsManager', referenced from method com.google.android.gms.lockbox.LockboxService.a
E/MDM ( 809): [52] b.run: Couldn't connect to Google API client: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null}
E/MDM ( 809): [66] b.run: Couldn't connect to Google API client: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null}
E/MDM ( 809): [66] b.run: Couldn't connect to Google API client: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null}
E/CellLocation( 809): create GsmCellLocation
E/CellLocation( 809): create GsmCellLocation
E/CellLocation( 809): create GsmCellLocation
E/cutils-trace(30720): Error opening trace file: No such file or directory (2)
E/memtrack(30720): Couldn't load memtrack module (No such file or directory)
E/android.os.Debug(30720): failed to load memtrack module: -2
E/VoldConnector( 652): NDC Command {482 asec create smdl2tmp1 45 ext4 [scrubbed] 10005 1} took too long (8436ms)
E/VoldConnector( 652): NDC Command {484 asec finalize smdl2tmp1} took too long (2238ms)
E/ ( 652): Could not open '/data/data/hotplug/cmd'
E/ ( 652): error : 2, No such file or directory
E/installd( 154): prepare_ext cache dir /mnt/sdcard/dalvik-cache/ fail: File exists
E/installd( 154): cannot chmod '/mnt/sdcard/dalvik-cache/mnt#asec#com.a.b-1#pkg.apk#classes.dex' : Operation not permitted
E/jdwp (30720): jdwp::setsockopt(SO_SNDTIMEO)
E/jdwp (30720): jdwp::setsockopt(SO_RCVTIMEO)
E/Finsky (29234): [1] com.google.android.finsky.wear.bl.a(3): onConnectionFailed: ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null, message=null}
E/AuthorizationBluetoothService( 908): Proximity feature is not enabled.
E/AuthorizationBluetoothService( 908): Proximity feature is not enabled.
E/dalvikvm(30869): Could not find class 'android.telecom.TelecomManager', referenced from method com.google.android.gms.wearable.service.y.a
E/MDM ( 809): [52] b.run: Couldn't connect to Google API client: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null}
E/MDM ( 809): [52] b.run: Couldn't connect to Google API client: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null}

My App is not working in Android 8, below is the stack trace we are getting in Android studio,

3053-3135/? E/﹕ Couldn't opendir /data/app/vmdl1653487319.tmp: No such file or directory
3053-3135/? E/installd﹕ Failed to delete /data/app/vmdl1653487319.tmp: No such file or directory
6865-6865/? E/Finsky﹕ [2] com.google.android.finsky.wear.bl.a(3): onConnectionFailed: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null, message=null}
4361-4361/? E//system/bin/webview_zygote32﹕ failed to make and chown /acct/uid_99069: Permission denied
4361-4361/? E/Zygote﹕ createProcessGroup(99069, 0) failed: Permission denied
4387-4387/? E/asset﹕ setgid: Operation not permitted
4296-4296/? E/PushMessage﹕ token..title:: null
6008-6008/? E/NetworkScheduler.ATC﹕ Received callback from client for task that is already complete.
ComponentInfo{com.google.android.inputmethod.latin/com.firebase.jobdispatcher.GooglePlayReceiver} task_check_update
3526-3543/? E/BatteryStatsService﹕ no controller energy info supplied
4296-4296/? E/PushMessage﹕ token..title:: fi8UxsDCdu0:APA91bGW6JEoNm-CZqemOBu_FiZ4YYAkfxCYGTyENFs8nXXBanCe_qyGhXL2hDR8_38SDeyghkbn_B3uaA_n6LpIqQsX2jFvOYXP8LDYDMLu2WSYtj2cj6A0pAi12-KxPMOgBhHOH5Mn
6008-2635/? E/ctxmgr﹕ [ProducerStatusImpl]updateStateForNewContextData: inactive, contextName=7
6008-6008/? E/ctxmgr﹕ [PlaceFenceHelper]NearbyBuffer is null!
6317-30075/? E/SQLiteCastStore﹕ End saving paired guest mode devices
3526-11492/? E/BatteryStatsService﹕ no controller energy info supplied
6008-6008/? E/ctxmgr﹕ [WorkInfo]Attribution was already enqueued pkg=com.google.android.gms, lbl=PlacesProducer_receive, start=unspec, stop=unspec.
6008-2635/? E/ctxmgr﹕ [WorkManager]Ongoing task not found: PlacesProducer_receive
3526-3542/? E/zygote64﹕ failed to kill 1 processes for processgroup 3624
356-356/? E/SELinux﹕ avc: denied { find } for interface=android.hardware.memtrack::IMemtrack pid=4585 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:hal_memtrack_hwservice:s0 tclass=hwservice_manager
6008-2635/? E/ctxmgr﹕ [ProducerStatusImpl]updateStateForNewContextData: inactive, contextName=7
6008-6008/? E/ctxmgr﹕ [PlaceFenceHelper]NearbyBuffer is null!
3526-3683/? E/ConnectivityService﹕ RemoteException caught trying to send a callback msg for NetworkRequest [ LISTEN id=161, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND] ]
3772-3785/? E/RecentsTaskLoader﹕ Unexpected null component name or activity info: ComponentInfo{com.cbq.CBMobile/com.cbq.CBMobile.CBQMainActivity}, null
6865-6865/? E/Finsky﹕ [2] com.google.android.finsky.wear.bl.a(3): onConnectionFailed: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null, message=null}
5024-5024/? E/asset﹕ setgid: Operation not permitted
3053-3603/? E/﹕ Couldn't opendir /data/app/vmdl447807582.tmp: No such file or directory
3053-3603/? E/installd﹕ Failed to delete /data/app/vmdl447807582.tmp: No such file or directory
6865-6865/? E/Finsky﹕ [2] com.google.android.finsky.wear.bl.a(3): onConnectionFailed: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null, message=null}
5100-5100/? E//system/bin/webview_zygote32﹕ failed to make and chown /acct/uid_99070: Permission denied
5100-5100/? E/Zygote﹕ createProcessGroup(99070, 0) failed: Permission denied
5128-5128/? E/asset﹕ setgid: Operation not permitted
5069-5069/? E/PushMessage﹕ token..title:: null
3526-3543/? E/BatteryStatsService﹕ no controller energy info supplied

Problems with running Android studio emulator on Mac OS X

I successfully installed Android Studio on my Macbook Pro 8 Go memory under OS X El Capitan.I created a simple Hello World app and
then I tried to run the app, I was asked to create an AVD and chose Nexus 5 x config with x86. The device was created after downloading the image file and I ran the App. The Gradle process ran well and the app launched the emulator
I got the following message in the app window :
Error while waiting for device: Timed out after 300seconds waiting for emulator to come online.
The emulator showed only the word "Android".
The emulator has been running for a long time (more than 30 mn)
Below you'll find a very small extract of the emulator error window.
08-07 16:15:31.053 1203-1203/? E/perfprofd: unable to open
configuration file
/data/data/com.google.android.gms/files/perfprofd.conf 08-07
16:15:31.581 1198-1198/? E/cutils: Failed to read
/data/.layout_version: No such file or directory 08-07 16:15:34.368
1187-1187/? E/libEGL:
load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed:
library "/system/lib/egl/libGLES_emulation.so" not found 08-07
16:15:34.967 1187-1187/? E/SurfaceFlinger: hwcomposer module not found
08-07 16:15:35.401 1187-1187/? E/cutils-trace: Error opening trace
file: Permission denied (13)
--------- beginning of system
08-07 16:15:44.198 1197-1197/? E/cutils-trace: Error opening trace
file: Permission denied (13) 08-07 16:15:44.198 1197-1197/?
E/CameraService: setUpVendorTags: Vendor tag operations not fully
defined. Ignoring definitions. 08-07 16:15:46.354 1187-1219/?
E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build
property 08-07 16:15:46.428 1228-1304/? E/libEGL:
load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed:
library "/system/lib/egl/libGLES_emulation.so" not found 08-07
16:15:46.673 1228-1304/? E/cutils-trace: Error opening trace file:
Permission denied (13)
[ 08-07 16:15:46.684 1187: 1221 D/ ]
HostConnection::get() New Host Connection established 0xb70d02c0, tid 1221
08-07 16:15:50.397 1197-1324/? E/AudioFlinger: no wake lock to update!
08-07 16:15:50.400 1197-1197/? E/audio_hw_generic: Error opening input
stream format 1, channel_mask 0010, sample_rate 16000 08-07
16:15:50.514 1197-1197/? E/AudioFlinger: int
android::load_audio_interface(const char*, audio_hw_device_t**)
couldn't load audio hw module audio.r_submix (No such file or
directory) 08-07 16:15:50.566 1197-1197/? E/SoundTriggerHwService:
couldn't load sound trigger module sound_trigger.primary (No such file
or directory) 08-07 16:15:50.607 1197-1197/? E/RadioService: couldn't
load radio module radio.primary (No such file or directory) 08-07
16:16:34.734 1193-1193/? E/Netd: exec() res=0, status=768 for
/system/bin/iptables -w -t nat -N oem_nat_pre 08-07 16:16:35.220
1193-1193/? E/Netd: exec() res=0, status=768 for /system/bin/iptables
-w -t nat -A PREROUTING -j oem_nat_pre 08-07 16:16:35.459 1200-1200/? E/memtrack: Couldn't load memtrack module (No such file or directory)
08-07 16:16:35.491 1200-1200/? E/android.os.Debug: failed to load
memtrack module: -2 08-07 16:16:37.310 1193-1193/? E/Netd: exec()
res=0, status=768 for /system/bin/iptables -w -t nat -N
natctrl_nat_POSTROUTING 08-07 16:16:37.701 1193-1193/? E/Netd: exec()
res=0, status=768 for /system/bin/iptables -w -t nat -A POSTROUTING -j
natctrl_nat_POSTROUTING 08-07 16:16:48.729 1200-1200/? E/Minikin:
addFont failed to create font /system/fonts/NanumGothic.ttf 08-07
16:16:48.730 1200-1200/? E/Minikin: addFont failed to create font
/system/fonts/DroidSansFallback.ttf 08-07 16:16:48.730 1200-1200/?
E/Minikin: addFont failed to create font /system/fonts/MTLmr3m.ttf
08-07 16:17:06.251 1193-1193/? E/Netd: cannot find interface dummy0
08-07 16:17:08.653 1200-1200/? E/EmojiFactory_jni: Failed to load
libemoji.so: dlopen failed: library "libemoji.so" not found 08-07
16:18:44.164 1200-1200/? E/libEGL:
load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed:
library "/system/lib/egl/libGLES_emulation.so" not found 08-07
16:18:44.919 1200-1200/? E/Hyphenator: error loading hyphenation
/system/usr/hyphen-data/hyph-en-us.pat.txt
java.io.FileNotFoundException:
/system/usr/hyphen-data/hyph-en-us.pat.txt: open failed: ENOENT (No
such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:452)
at libcore.io.IoUtils$FileReader.(IoUtils.java:207)
at libcore.io.IoUtils.readFileAsString(IoUtils.java:114)
at android.text.Hyphenator.loadHyphenator(Hyphenator.java:96)
at android.text.Hyphenator.init(Hyphenator.java:154)
at com.android.internal.os.ZygoteInit.preloadTextResources(ZygoteInit.java:207)
at com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:186)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or
directory)
at libcore.io.Posix.open(Native Method)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
at libcore.io.IoBridge.open(IoBridge.java:438)
at libcore.io.IoUtils$FileReader.(IoUtils.java:207)
at libcore.io.IoUtils.readFileAsString(IoUtils.java:114)
at android.text.Hyphenator.loadHyphenator(Hyphenator.java:96)
at android.text.Hyphenator.init(Hyphenator.java:154)
at com.android.internal.os.ZygoteInit.preloadTextResources(ZygoteInit.java:207)
at com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:186)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593) 08-07
16:18:44.969 1200-1200/? E/Hyphenator: error loading hyphenation
/system/usr/hyphen-data/hyph-eu.pat.txt
java.io.FileNotFoundException:
/system/usr/hyphen-data/hyph-eu.pat.txt: open failed: ENOENT (No such
file or directory)
at libcore.io.IoBridge.open(IoBridge.java:452)
at libcore.io.IoUtils$FileReader.(IoUtils.java:207)
at libcore.io.IoUtils.readFileAsString(IoUtils.java:114)
at android.text.Hyphenator.loadHyphenator(Hyphenator.java:96)
at android.text.Hyphenator.init(Hyphenator.java:154)
at com.android.internal.os.ZygoteInit.preloadTextResources(ZygoteInit.java:207)
at com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:186)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or
directory)
at libcore.io.Posix.open(Native Method)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
at libcore.io.IoBridge.open(IoBridge.java:438)
at libcore.io.IoUtils$FileReader.(IoUtils.java:207)
at libcore.io.IoUtils.readFileAsString(IoUtils.java:114)
at android.text.Hyphenator.loadHyphenator(Hyphenator.java:96)
at android.text.Hyphenator.init(Hyphenator.java:154)
at com.android.internal.os.ZygoteInit.preloadTextResources(ZygoteInit.java:207)
at com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:186)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593) 08-07
16:18:45.058 1200-1200/? E/Hyphenator: error loading hyphenation
/system/usr/hyphen-data/hyph-hu.pat.txt
As cricket_007 suggested in the comment, it is generally suggested to use Genymotion or something similar since they're so much better.
Apart from that, if you're keen on running the emulator that comes with AS, you might also want to get Intel HAXM (Hardware Accelerated Execution Manager) driver from Android Package Manager. It provides hardware acceleration, but the benefits vary device to device.

PERMISSION DENIED error while copying database to sdcard .pl

I am trying this for one whole day but i still got this PERMISSION DENIED error after I given WRITE_EXTERNAL STORAGE PERMISSION also.
Now i tried this program in my phone. Again the same PERMISSION ERROR is on logcat.
i tried with many codes available in this website.It always fails.Guide me with some tuorials for copy database to sdcard
try {
File sd = Environment.getExternalStorageDirectory();
File data = Environment.getDataDirectory();
if (sd.canWrite()) {
String currentDBPath = "data/com.sri.tut/databases/image_storage.db";
String backupDBPath = "image_storage.db";
File currentDB = new File(data, currentDBPath);
File backupDB = new File(sd, backupDBPath);
if (currentDB.exists()) {
FileChannel src = new FileInputStream(currentDB).getChannel();
FileChannel dst = new FileOutputStream(backupDB).getChannel();
dst.transferFrom(src, 0, src.size());
src.close();
dst.close();
}
}
} catch (Exception e) {
}
This is my Logcat output.
09-14 08:36:07.663: ERROR/Movedb(12336): Error in Copyingjava.io.FileNotFoundException: /data/data/com.sri.assign/databases/AssignmentsDB (Permission denied)
09-14 08:36:09.413: ERROR/Movedb(12336): Error in Copyingjava.io.FileNotFoundException: /data/data/com.sri.assign/databases/AssignmentsDB (Permission denied)
09-14 08:36:09.963: ERROR/Movedb(12336): Error in Copyingjava.io.FileNotFoundException: /data/data/com.sri.assign/databases/AssignmentsDB (Permission denied)
09-14 08:36:10.203: ERROR/Movedb(12336): Error in Copyingjava.io.FileNotFoundException: /data/data/com.sri.assign/databases/AssignmentsDB (Permission denied)
09-14 08:36:10.654: ERROR/Movedb(12336): Error in Copyingjava.io.FileNotFoundException: /data/data/com.sri.assign/databases/AssignmentsDB (Permission denied)
09-14 08:36:10.854: ERROR/Movedb(12336): Error in Copyingjava.io.FileNotFoundException: /data/data/com.sri.assign/databases/AssignmentsDB (Permission denied)
09-14 08:36:11.083: ERROR/Movedb(12336): Error in Copyingjava.io.FileNotFoundException: /data/data/com.sri.assign/databases/AssignmentsDB (Permission denied)
09-14 08:36:11.283: ERROR/Movedb(12336): Error in Copyingjava.io.FileNotFoundException: /data/data/com.sri.assign/databases/AssignmentsDB (Permission denied)
09-14 08:36:11.683: ERROR/Movedb(12336): Error in Copyingjava.io.FileNotFoundException: /data/data/com.sri.assign/databases/AssignmentsDB (Permission denied)
09-14 08:36:11.934: ERROR/Movedb(12336): Error in Copyingjava.io.FileNotFoundException: /data/data/com.sri.assign/databases/AssignmentsDB (Permission denied)
09-14 08:36:12.224: ERROR/Movedb(12336): Error in Copyingjava.io.FileNotFoundException: /data/data/com.sri.assign/databases/AssignmentsDB (Permission denied)
09-14 08:36:12.463: ERROR/Movedb(12336): Error in Copyingjava.io.FileNotFoundException: /data/data/com.sri.assign/databases/AssignmentsDB (Permission denied)
09-14 08:36:12.734: ERROR/Movedb(12336): Error in Copyingjava.io.FileNotFoundException: /data/data/com.sri.assign/databases/AssignmentsDB (Permission denied)
09-14 08:36:13.053: ERROR/Movedb(12336): Error in Copyingjava.io.FileNotFoundException: /data/data/com.sri.assign/databases/AssignmentsDB (Permission denied)
09-14 08:36:13.413: ERROR/Movedb(12336): Error in Copyingjava.io.FileNotFoundException: /data/data/com.sri.assign/databases/AssignmentsDB (Permission denied)
09-14 08:36:13.694: ERROR/Movedb(12336): Error in Copyingjava.io.FileNotFoundException: /data/data/com.sri.assign/databases/AssignmentsDB (Permission denied)
09-14 08:36:13.914: ERROR/Movedb(12336): Error in Copyingjava.io.FileNotFoundException: /data/data/com.sri.assign/databases/AssignmentsDB (Permission denied)
09-14 08:36:14.303: ERROR/Movedb(12336): Error in Copyingjava.io.FileNotFoundException: /data/data/com.sri.assign/databases/AssignmentsDB (Permission denied)
09-14 08:36:14.563: ERROR/Movedb(12336): Error in Copyingjava.io.FileNotFoundException: /data/data/com.sri.assign/databases/AssignmentsDB (Permission denied)
09-14 08:36:14.804: ERROR/Movedb(12336): Error in Copyingjava.io.FileNotFoundException: /data/data/com.sri.assign/databases/AssignmentsDB (Permission denied)
09-14 08:37:42.253: WARN/PackageManager(67): Mounting container com.sri.copydata-1
09-14 08:37:45.634: WARN/InputManagerService(67): Got RemoteException sending setActive(false) notification to pid 12336 uid 10053
09-14 08:37:52.463: WARN/PackageManager(67): Code path for pkg : com.sri.copydata changing from /mnt/asec/com.sri.copydata-2/pkg.apk to /mnt/asec/com.sri.copydata-1/pkg.apk
09-14 08:37:52.463: WARN/PackageManager(67): Resource path for pkg : com.sri.copydata changing from /mnt/asec/com.sri.copydata-2/pkg.apk to /mnt/asec/com.sri.copydata-1/pkg.apk
09-14 08:38:00.773: WARN/RecognitionManagerService(67): no available voice recognition services found
09-14 08:42:05.613: WARN/PackageManager(67): Mounting container com.sri.copydata-2
09-14 08:42:11.294: WARN/InputManagerService(67): Got RemoteException sending setActive(false) notification to pid 13273 uid 10053
09-14 08:42:20.063: WARN/PackageManager(67): Code path for pkg : com.sri.copydata changing from /mnt/asec/com.sri.copydata-1/pkg.apk to /mnt/asec/com.sri.copydata-2/pkg.apk
09-14 08:42:20.063: WARN/PackageManager(67): Resource path for pkg : com.sri.copydata changing from /mnt/asec/com.sri.copydata-1/pkg.apk to /mnt/asec/com.sri.copydata-2/pkg.ap
09-14 08:42:29.033: WARN/RecognitionManagerService(67): no available voice recognition services found
09-14 08:42:51.374: ERROR/Movedb(14575): Error in Copyingjava.io.FileNotFoundException: /data/data/com.sri.assign/databases/AssignmentsDB (Permission denied)
09-14 08:43:14.043: ERROR/Movedb(14575): Error in Copyingjava.io.FileNotFoundException: /data/data/com.sri.assign/databases/AssignmentsDB (Permission denied)
If you connect the device to your pc and enable
copy files to/from computer etc...
You will not have access to write on the sd card.
Disconnect it from pc and try again or disable copy.
the log says you don't have permission to read data from /data/data/com.sri.tut/databases/image_storage.db, by default this /data directory is a linux system directory, its user and group owner is 'system', not your application, so you don't have the permission.
you can see the detail in adb shell, you will see such properties as below:
drwxrwx--x system system 2012-09-14 08:30 data

Categories

Resources