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.
Related
Whenever I launch the app I just get a white screen and the react native packager doesn't even start loading in the terminal. I'm running on mac os and I'm running react-native 0.56.0. The project was working fine until I came back to it recently so I'm not sure whats happened. Here's my logcat filtered by Error:
09-03 23:59:04.492 1742-1757/system_process E/ActivityManager: Failure starting process com.anyone
java.lang.SecurityException: Package com.anyone is currently frozen!
at com.android.server.pm.PackageManagerService.checkPackageStartable(PackageManagerService.java:3611)
at com.android.server.am.ActivityManagerService.startProcessLocked(ActivityManagerService.java:3791)
at com.android.server.am.ActivityManagerService.startProcessLocked(ActivityManagerService.java:3751)
at com.android.server.am.ActivityManagerService.startProcessLocked(ActivityManagerService.java:3640)
at com.android.server.am.ActivityStackSupervisor.startSpecificActivityLocked(ActivityStackSupervisor.java:1582)
at com.android.server.am.ActivityStack.resumeTopActivityInnerLocked(ActivityStack.java:2663)
at com.android.server.am.ActivityStack.resumeTopActivityUncheckedLocked(ActivityStack.java:2215)
at com.android.server.am.ActivityStackSupervisor.resumeFocusedStackTopActivityLocked(ActivityStackSupervisor.java:2066)
at com.android.server.am.ActivityStackSupervisor.resumeFocusedStackTopActivityLocked(ActivityStackSupervisor.java:2056)
at com.android.server.am.ActivityManagerService.handleAppDiedLocked(ActivityManagerService.java:5270)
at com.android.server.am.ActivityManagerService.removeProcessLocked(ActivityManagerService.java:6645)
at com.android.server.am.ActivityManagerService.killPackageProcessesLocked(ActivityManagerService.java:6289)
at com.android.server.am.ActivityManagerService.forceStopPackageLocked(ActivityManagerService.java:6421)
at com.android.server.am.ActivityManagerService$MainHandler.handleMessage(ActivityManagerService.java:2079)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.os.HandlerThread.run(HandlerThread.java:65)
at com.android.server.ServiceThread.run(ServiceThread.java:46)
09-03 23:59:04.634 2685-
2884/com.google.android.googlequicksearchbox:search E/ActivityThread:
Failed to find provider info for com.google.android.apps.gsa.testing.ui.audio.recorded
09-03 23:59:04.636 1585-1818/? E/installd: Failed to delete /data/app/vmdl2093892881.tmp: No such file or directory
09-03 23:59:04.981 7831-7831/? E/com.facebook.internal.AttributionIdentifiers: getAttributionIdentifiers should not be called from the main thread
09-03 23:59:05.014 2685-7866/com.google.android.googlequicksearchbox:search E/ContentStoreEUAS: Failed to commit the deferred actions
09-03 23:59:05.016 1926-2099/com.android.systemui E/ResourcesManager: failed to add asset path /data/app/com.anyone-uMDPquOdtg6BxeTvfE5l_g==/base.apk
09-03 23:59:05.016 1926-2099/com.android.systemui E/ResourcesManager: failed to add asset path /data/app/com.anyone-uMDPquOdtg6BxeTvfE5l_g==/base.apk
09-03 23:59:05.016 1926-2099/com.android.systemui E/ResourcesManager: failed to add asset path /data/app/com.anyone-uMDPquOdtg6BxeTvfE5l_g==/base.apk
09-03 23:59:05.016 1926-2099/com.android.systemui E/ResourcesManager: failed to add asset path /data/app/com.anyone-uMDPquOdtg6BxeTvfE5l_g==/base.apk
09-03 23:59:05.017 1926-2099/com.android.systemui E/ResourcesManager: failed to add asset path /data/app/com.anyone-uMDPquOdtg6BxeTvfE5l_g==/base.apk
09-03 23:59:07.113 1742-2555/system_process E/memtrack: Couldn't load memtrack module
09-03 23:59:07.360 1742-2555/system_process E/memtrack: Couldn't load memtrack module
09-03 23:59:07.614 1742-2555/system_process E/memtrack: Couldn't load memtrack module
09-03 23:59:07.865 1742-2555/system_process E/memtrack: Couldn't load memtrack module
09-03 23:59:08.114 1742-2555/system_process E/memtrack: Couldn't load memtrack module
09-03 23:59:08.314 1742-1915/system_process E/TaskPersister: File error accessing recents directory (directory doesn't exist?).
Turned out to be an issue to do with the react-native-fbsdk node module, updating it to 0.8.0 seemed to work for me https://github.com/facebook/react-native/issues/20938
I am trying to compile the android app and getting this error, tried cleaning, rebuilding, deleting and creating new AVD but nothing working, help would be appreciated
08-30 12:52:20.508 1507-1518/? E/vold: Failed to chmod /data/system_ce/0: No such file or directory
Failed to chmod /data/misc_ce/0: No such file or directory
Failed to chmod /data/media/0: No such file or directory
08-30 12:52:32.317 1810-1828/? E/BatteryExternalStatsWorker: no controller energy info supplied for telephony
08-30 12:52:32.323 1810-1828/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
08-30 12:52:32.412 1810-1832/? E/LocalDisplayAdapter: Default and active color mode is no longer available! Reverting to first available mode.
08-30 12:52:33.696 1675-1780/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
08-30 12:52:34.031 1810-1822/? E/SystemServer: Unable to preload default resources
08-30 12:52:36.132 1507-1516/? E/vold: Failed to read field SystemLocale: Success
08-30 12:52:36.134 1810-1888/? E/StorageManagerService: Failed to read field SystemLocale
android.os.ServiceSpecificException: Failed to read field SystemLocale (code 0)
at android.os.Parcel.createException(Parcel.java:1956)
at android.os.Parcel.readException(Parcel.java:1910)
at android.os.Parcel.readException(Parcel.java:1860)
at android.os.IVold$Stub$Proxy.fdeGetField(IVold.java:1094)
at com.android.server.StorageManagerService.getField(StorageManagerService.java:2408)
at com.android.server.StorageManagerService.copyLocaleFromMountService(StorageManagerService.java:982)
at com.android.server.StorageManagerService.handleDaemonConnected(StorageManagerService.java:975)
at com.android.server.StorageManagerService.access$900(StorageManagerService.java:171)
at com.android.server.StorageManagerService$StorageManagerServiceHandler.handleMessage(StorageManagerService.java:572)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.os.HandlerThread.run(HandlerThread.java:65)
08-30 12:52:36.960 1810-1810/? E/UsbDeviceManager: failed to write to /sys/class/android_usb/android0/f_rndis/ethaddr
08-30 12:52:36.969 1810-1810/? E/UsbDeviceManager: Failed to open control for mtp
Failed to open control for mtp
08-30 12:52:36.988 1810-1810/? E/UsbDeviceManager: Error initializing UsbHandler
java.io.FileNotFoundException: /sys/class/android_usb/android0/state (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:231)
at java.io.FileInputStream.<init>(FileInputStream.java:165)
at android.os.FileUtils.readTextFile(FileUtils.java:514)
at com.android.server.usb.UsbDeviceManager$UsbHandlerLegacy.<init>(UsbDeviceManager.java:1375)
at com.android.server.usb.UsbDeviceManager.<init>(UsbDeviceManager.java:297)
at com.android.server.usb.UsbService.<init>(UsbService.java:139)
at com.android.server.usb.UsbService$Lifecycle.onStart(UsbService.java:73)
at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:126)
at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:113)
at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:72)
at com.android.server.SystemServer.startOtherServices(SystemServer.java:1299)
at com.android.server.SystemServer.run(SystemServer.java:431)
at com.android.server.SystemServer.main(SystemServer.java:294)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
08-30 12:52:36.996 1810-1810/? E/UsbPortManager: connectToProxy: usb hal service not found. Did the service fail to start?
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.
When I run the emulator, the following error log is given:
12-01 12:33:40.900: E/logwrapper(41): executing /system/bin/e2fsck failed: No such file or directory
12-01 12:33:41.020: E/logwrapper(44): executing /system/bin/e2fsck failed: No such file or directory
12-01 12:33:43.600: E/cutils(56): Failed to read /data/.layout_version: No such file or directory
12-01 12:33:50.100: E/SurfaceFlinger(52): hwcomposer module not found
12-01 12:33:53.010: E/SurfaceFlinger(52): ro.sf.lcd_density must be defined as a build property
12-01 12:33:54.880: E/AudioFlinger(55): 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)
12-01 12:34:17.380: E/memtrack(53): Couldn't load memtrack module (No such file or directory)
12-01 12:34:17.380: E/android.os.Debug(53): failed to load memtrack module: -2
12-01 12:34:40.450: E/logwrapper(318): executing /system/bin/ip failed: No such file or directory
12-01 12:34:40.540: E/logwrapper(319): executing /system/bin/ip failed: No such file or directory
12-01 12:34:40.620: E/logwrapper(320): executing /system/bin/ip failed: No such file or directory
12-01 12:34:40.670: E/logwrapper(321): executing /system/bin/ip failed: No such file or directory
12-01 12:34:40.860: E/logwrapper(322): executing /system/bin/ip failed: No such file or directory
12-01 12:34:40.940: E/logwrapper(323): executing /system/bin/ip failed: No such file or directory
12-01 12:34:41.070: E/logwrapper(325): executing /system/bin/ip failed: No such file or directory
12-01 12:34:49.790: E/EmojiFactory_jni(53): Failed to load libemoji.so: dlopen failed: library "libemoji.so" not found
12-01 12:36:16.980: E/PowerManagerService-JNI(438): Couldn't load power module (No such file or directory)
12-01 12:36:20.770: E/SurfaceFlinger(52): ro.sf.lcd_density must be defined as a build property
What can I do to fix it?
07-03 23:59:01.067: ERROR/vold(26): Error opening switch name path '/sys/class/switch/test' (No such file or directory)
07-03 23:59:01.067: ERROR/vold(26): Error bootstrapping switch '/sys/class/switch/test' (No such file or directory)
07-03 23:59:01.067: ERROR/vold(26): Error opening switch name path '/sys/class/switch/test2' (No such file or directory)
07-03 23:59:01.067: ERROR/vold(26): Error bootstrapping switch '/sys/class/switch/test2' (No such file or directory)
07-03 23:59:28.297: ERROR/BatteryService(60): usbOnlinePath not found
07-03 23:59:28.307: ERROR/BatteryService(60): batteryVoltagePath not found
07-03 23:59:28.307: ERROR/BatteryService(60): batteryTemperaturePath not found
07-03 23:59:28.407: ERROR/SurfaceFlinger(60): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
07-03 23:59:39.097: ERROR/EventHub(60): could not get driver version for /dev/input/mouse0, Not a typewriter
07-03 23:59:39.137: ERROR/EventHub(60): could not get driver version for /dev/input/mice, Not a typewriter
07-03 23:59:39.777: ERROR/System(60): Failure starting core service
07-03 23:59:39.777: ERROR/System(60): java.lang.SecurityException
07-03 23:59:39.777: ERROR/System(60): at android.os.BinderProxy.transact(Native Method)
07-03 23:59:39.777: ERROR/System(60): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
07-03 23:59:39.777: ERROR/System(60): at android.os.ServiceManager.addService(ServiceManager.java:72)
07-03 23:59:39.777: ERROR/System(60): at com.android.server.ServerThread.run(SystemServer.java:176)
07-03 23:59:39.837: ERROR/AndroidRuntime(60): Crash logging skipped, no checkin service
07-04 00:00:00.400: ERROR/vold(26): Cannot start volume '/sdcard' (volume is not bound)
07-04 00:00:01.147: ERROR/MediaPlayerService(30): Couldn't open fd for content://settings/system/notification_sound
07-04 00:00:01.227: ERROR/MediaPlayer(60): Unable to to create media player
07-04 00:00:06.315: ERROR/ActivityThread(104): Failed to find provider info for android.server.checkin
07-04 00:00:11.615: ERROR/ActivityThread(104): Failed to find provider info for android.server.checkin
07-04 00:00:12.124: ERROR/ActivityThread(104): Failed to find provider info for android.server.checkin
07-04 00:00:35.335: ERROR/AndroidRuntime(126): ERROR: thread attach failed
07-04 00:00:42.835: ERROR/AndroidRuntime(211): ERROR: thread attach failed
I'm assuming that you're working on Android, and that you're also referring to the exception in the middle of the log.
The SecurityException means you probably forgot to give the application the necessary permissions - you should change the Manifest XML file, as explained here.