What do these LogCat errors mean? My program crashes - android

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.

Related

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.

android- force close by launching application on Android lollipop

I've written an application and now when I want to launch it on Android 5, it launches on other versions of Android perfectly and I don't get any error from those but I get these errors on Android Lollipop:
[07-03 07:57:35.780 2955: 2955 I/] debuggerd: Nov 6 2015 06:54:22
07-03 07:57:42.193 2966-2966/? E/memtrack: Couldn't load memtrack module (No such file or directory)
07-03 07:57:42.193 2966-2966/? E/android.os.Debug: failed to load memtrack module: -2
07-03 08:02:10.113 2997-2997/com.android.settings E/InstalledAppDetails: Exception when retrieving package:ir.mazandaran.persiandesigners android.content.pm.PackageManager$NameNotFoundException: ir.mazandaran.persiandesigners
at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:114)
at com.android.settings.applications.InstalledAppDetails.retrieveAppEntry(InstalledAppDetails.java:658)
at com.android.settings.applications.InstalledAppDetails.refreshUi(InstalledAppDetails.java:692)
at com.android.settings.applications.InstalledAppDetails.onActivityResult(InstalledAppDetails.java:564)
at android.app.Activity.dispatchActivityResult(Activity.java:6139)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3535)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:3582)
at android.app.ActivityThread.access$1300(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1327)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5221)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
07-03 08:02:44.704 3130-3130/? E/memtrack: Couldn't load memtrack module (No such file or directory)
07-03 08:02:44.704 3130-3130/? E/android.os.Debug: failed to load memtrack module: -2
07-03 08:03:08.141 3159-3159/? E/memtrack: Couldn't load memtrack module (No such file or directory)
07-03 08:03:08.141 3159-3159/? E/android.os.Debug: failed to load memtrack module: -2
07-03 08:03:08.307 981-981/? E/EGL_emulation: tid 981: eglCreateSyncKHR(1181): error 0x3004 (EGL_BAD_ATTRIBUTE)
07-03 08:03:12.348 3173-3207/ir.mazandaran.persiandesigners A/libc: Fatal signal 4 (SIGILL), code 2, fault addr 0xf6f7446e in tid 3207 (pool-1-thread-1)
07-03 08:03:14.153 1022-1847/system_process E/SharedPreferencesImpl: Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml
07-03 08:03:14.187 1022-1062/system_process E/InputDispatcher: channel '34b7e9a4 ir.mazandaran.persiandesigners/ir.mazandaran.persiandesigners.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
07-03 08:03:14.251 981-981/? E/EGL_emulation: tid 981: eglCreateSyncKHR(1181): error 0x3004 (EGL_BAD_ATTRIBUTE)
07-03 08:03:15.113 250-250/? E/lowmemorykiller: Error opening /proc/3173/oom_score_adj; errno=2
07-03 08:03:19.860 3252-3290/ir.mazandaran.persiandesigners A/libc: Fatal signal 4 (SIGILL), code 2, fault addr 0xf6f7446e in tid 3290 (pool-1-thread-1)
07-03 08:03:20.676 1022-1847/system_process E/SharedPreferencesImpl: Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml
07-03 08:03:46.265 3349-3349/? E/memtrack: Couldn't load memtrack module (No such file or directory)
07-03 08:03:46.265 3349-3349/? E/android.os.Debug: failed to load memtrack module: -2
07-03 08:03:46.308 981-981/? E/EGL_emulation: tid 981: eglCreateSyncKHR(1181): error 0x3004 (EGL_BAD_ATTRIBUTE)
07-03 08:03:50.627 3363-3409/ir.mazandaran.persiandesigners A/libc: Fatal signal 4 (SIGILL), code 2, fault addr 0xf6f7446e in tid 3409 (pool-1-thread-1)
07-03 08:03:53.470 1022-1098/system_process E/NativeCrashListener: Exception dealing with report
android.system.ErrnoException: read failed: EAGAIN (Try again)
at libcore.io.Posix.readBytes(Native Method)
at libcore.io.Posix.read(Posix.java:147)
at libcore.io.BlockGuardOs.read(BlockGuardOs.java:230)
at android.system.Os.read(Os.java:364)
at com.android.server.am.NativeCrashListener.consumeNativeCrashData(NativeCrashListener.java:240)
at com.android.server.am.NativeCrashListener.run(NativeCrashListener.java:138)
07-03 08:03:53.503 1022-1062/system_process E/InputDispatcher: channel '1019e92 ir.mazandaran.persiandesigners/ir.mazandaran.persiandesigners.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
07-03 08:03:53.504 1022-1847/system_process E/SharedPreferencesImpl: Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml
07-03 08:03:55.910 3445-3481/ir.mazandaran.persiandesigners A/libc: Fatal signal 4 (SIGILL), code 2, fault addr 0xf6f7446e in tid 3481 (pool-1-thread-1)
07-03 08:03:56.288 1022-1847/system_process E/SharedPreferencesImpl: Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml
07-03 08:03:56.335 1022-1062/system_process E/InputDispatcher: channel '88a8b24 ir.mazandaran.persiandesigners/ir.mazandaran.persiandesigners.FistActiivty (server)' ~ Channel is unrecoverably broken and will be disposed!
07-03 08:03:56.336 1022-1062/system_process E/InputDispatcher: channel 'fcd7eb6 ir.mazandaran.persiandesigners/ir.mazandaran.persiandesigners.FistActiivty (server)' ~ Channel is unrecoverably broken and will be disposed!
07-03 08:03:56.735 1022-3509/system_process E/ActivityManager: Invalid thumbnail dimensions: 384x384
07-03 08:04:03.840 3521-3558/ir.mazandaran.persiandesigners A/libc: Fatal signal 4 (SIGILL), code 2, fault addr 0xf6f7446e in tid 3558 (pool-1-thread-1)
07-03 08:04:04.260 1022-1847/system_process E/SharedPreferencesImpl: Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml
07-03 08:08:57.044 81-81/? E/Genyd: recv() error
[ 07-03 08:08:57.044 81: 81 E/] Socket read error
[ 07-03 08:08:57.044 81: 81 D/] Socket deconnection
01-01 00:00:00.000 0-0/? E/Internal: device not found

android eclipse java logcat runtime errors

04-21 02:27:40.341: E/vold(27): Error opening switch name path '/sys/class/switch/test2' (No such file or directory)
04-21 02:27:40.341: E/vold(27): Error bootstrapping switch '/sys/class/switch/test2' (No such file or directory)
04-21 02:27:40.341: E/vold(27): Error opening switch name path '/sys/class/switch/test' (No such file or directory)
04-21 02:27:40.341: E/vold(27): Error bootstrapping switch '/sys/class/switch/test' (No such file or directory)
04-21 02:27:49.111: E/BatteryService(52): usbOnlinePath not found
04-21 02:27:49.111: E/BatteryService(52): batteryVoltagePath not found
04-21 02:27:49.111: E/BatteryService(52): batteryTemperaturePath not found
04-21 02:27:49.111: E/SurfaceFlinger(52): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
04-21 02:27:52.211: E/EventHub(52): could not get driver version for /dev/input/mouse0, Not a typewriter
04-21 02:27:52.211: E/EventHub(52): could not get driver version for /dev/input/mice, Not a typewriter
04-21 02:27:53.231: E/System(52): Failure starting core service
04-21 02:27:53.231: E/System(52): java.lang.SecurityException
04-21 02:27:53.231: E/System(52): at android.os.BinderProxy.transact(Native Method)
04-21 02:27:53.231: E/System(52): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
04-21 02:27:53.231: E/System(52): at android.os.ServiceManager.addService(ServiceManager.java:72)
04-21 02:27:53.231: E/System(52): at com.android.server.ServerThread.run(SystemServer.java:176)
04-21 02:27:53.251: E/AndroidRuntime(52): Crash logging skipped, no checkin service
04-21 02:28:01.915: E/ActivityThread(102): Failed to find provider info for android.server.checkin
04-21 02:28:03.255: E/ActivityThread(102): Failed to find provider info for android.server.checkin
04-21 02:28:03.325: E/ActivityThread(102): Failed to find provider info for android.server.checkin
04-21 02:28:05.265: E/MediaPlayerService(31): Couldn't open fd for content://settings/system/notification_sound
04-21 02:28:05.295: E/MediaPlayer(52): Unable to to create media player
04-21 02:28:13.005: E/AndroidRuntime(131): ERROR: thread attach failed
04-21 02:28:14.785: E/AndroidRuntime(210): ERROR: thread attach failed
04-21 02:28:14.975: E/jdwp(222): Failed sending req to debugger: Broken pipe (-1 of 27)
04-21 02:28:14.975: E/jdwp(222): Failed sending req to debugger: Broken pipe (-1 of 27)
04-21 02:28:14.975: E/jdwp(222): Failed sending reply to debugger: Broken pipe
I think the problem is in your native function signature. You should decare it with JNIEXPORT and JNICALL.
Use the javah tool for generating header and source files.
Here is example: JNI Example
And next time try to find some related answers like java-lang-unsatisfiedlinkerror before asking another question.

Logcat errors when running android emulator

I'm running an emulator targeting 2.3 (API Level 9). I've removed all downloaded apps (which includes any code that I've written) but I still get all of these logcat errors when I start up the emulator:
[ollie#devdataload scripts]$ startlogcat.sh
- waiting for device -
E/Zygote ( 32): setreuid() failed. errno: 2
E/Zygote ( 32): setreuid() failed. errno: 17
E/BatteryService( 61): usbOnlinePath not found
E/BatteryService( 61): batteryVoltagePath not found
E/BatteryService( 61): batteryTemperaturePath not found
E/SurfaceFlinger( 61): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
E/SensorService( 61): couldn't open device for module sensors (Invalid argument)
E/System ( 61): Failure starting core service
E/System ( 61): java.lang.SecurityException
E/System ( 61): at android.os.BinderProxy.transact(Native Method)
E/System ( 61): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
E/System ( 61): at android.os.ServiceManager.addService(ServiceManager.java:72)
E/System ( 61): at com.android.server.ServerThread.run(SystemServer.java:206)
E/EventHub( 61): could not get driver version for /dev/input/mouse0, Not a typewriter
E/EventHub( 61): could not get driver version for /dev/input/mice, Not a typewriter
E/SoundPool( 61): error loading /system/media/audio/ui/Effect_Tick.ogg
E/SoundPool( 61): error loading /system/media/audio/ui/KeypressStandard.ogg
E/SoundPool( 61): error loading /system/media/audio/ui/KeypressSpacebar.ogg
E/SoundPool( 61): error loading /system/media/audio/ui/KeypressDelete.ogg
E/SoundPool( 61): error loading /system/media/audio/ui/KeypressReturn.ogg
E/UsbObserver( 61):
E/UsbObserver( 61): java.lang.NullPointerException
E/UsbObserver( 61): at com.android.server.UsbObserver.init(UsbObserver.java:131)
E/UsbObserver( 61): at com.android.server.UsbObserver.<init>(UsbObserver.java:65)
E/UsbObserver( 61): at com.android.server.ServerThread.run(SystemServer.java:402)
E/ThrottleService( 61): Could not open GPS configuration file /etc/gps.conf
E/logwrapper( 125): executing /system/bin/tc failed: No such file or directory
E/logwrapper( 126): executing /system/bin/tc failed: No such file or directory
E/logwrapper( 127): executing /system/bin/tc failed: No such file or directory
I'd like to try to clean these up so that I can know for sure that any errors I'm looking at are being caused by my code. Does anyone else get these error messages and do you fix them or just ignore them?
If they don't deal with your application, you can ignore them. There is nothing you can do as a developer to fix a manufacturer problem on other peoples phones or even yours for that matter (well short of a custom rom).
Edit: I'd also add that some errors/warnings are normal and are not to be of concern.
Common logging practice in Android is smth like:
public class MyClass
{
public static final String TAG=MyClass.class.getName();
// some stuff
Log.i(TAG, "My log message");
}
So when you're inspecting LogCat messages you can filter your logs using those TAG. This is way to ignore other logs.

Error message during the AVD starting process

I've created an AVD (version 2.2) using preferences set as default.
However everytime I start it I got error messages list below:
12-26 16:19:07.566: ERROR/Zygote(33): setreuid() failed. errno: 2
12-26 16:19:15.707: ERROR/Zygote(33): setreuid() failed. errno: 17
12-26 16:19:17.635: ERROR/BatteryService(87): usbOnlinePath not found
12-26 16:19:17.635: ERROR/BatteryService(87): batteryVoltagePath not found
12-26 16:19:17.645: ERROR/BatteryService(87): batteryTemperaturePath not found
12-26 16:19:17.695: ERROR/SurfaceFlinger(87): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
12-26 16:19:48.305: ERROR/EventHub(87): could not get driver version for /dev/input/mouse0, Not a typewriter
12-26 16:19:48.305: ERROR/EventHub(87): could not get driver version for /dev/input/mice, Not a typewriter
12-26 16:19:48.495: ERROR/System(87): Failure starting core service
12-26 16:19:48.495: ERROR/System(87): java.lang.SecurityException
12-26 16:19:48.495: ERROR/System(87): at android.os.BinderProxy.transact(Native Method)
12-26 16:19:48.495: ERROR/System(87): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
12-26 16:19:48.495: ERROR/System(87): at android.os.ServiceManager.addService(ServiceManager.java:72)
12-26 16:19:48.495: ERROR/System(87): at com.android.server.ServerThread.run(SystemServer.java:184)
12-26 16:19:49.675: ERROR/SoundPool(87): error loading /system/media/audio/ui/Effect_Tick.ogg
12-26 16:19:49.685: ERROR/SoundPool(87): error loading /system/media/audio/ui/KeypressStandard.ogg
12-26 16:19:49.705: ERROR/SoundPool(87): error loading /system/media/audio/ui/KeypressSpacebar.ogg
12-26 16:19:49.716: ERROR/SoundPool(87): error loading /system/media/audio/ui/KeypressDelete.ogg
12-26 16:19:49.725: ERROR/SoundPool(87): error loading /system/media/audio/ui/KeypressReturn.ogg
12-26 16:19:54.736: ERROR/ThrottleService(87): Could not open GPS configuration file /etc/gps.conf
12-26 16:19:54.836: ERROR/ThrottleService(87): Error reading data file
12-26 16:19:55.816: ERROR/logwrapper(186): executing /system/bin/tc failed: No such file or directory
12-26 16:19:55.916: ERROR/logwrapper(188): executing /system/bin/tc failed: No such file or directory
12-26 16:19:55.995: ERROR/logwrapper(190): executing /system/bin/tc failed: No such file or directory
12-26 16:20:02.135: ERROR/logwrapper(202): executing /system/bin/tc failed: No such file or directory
12-26 16:20:02.245: ERROR/logwrapper(203): executing /system/bin/tc failed: No such file or directory
12-26 16:20:02.295: ERROR/logwrapper(204): executing /system/bin/tc failed: No such file or directory
12-27 00:20:16.924: ERROR/HierarchicalStateMachine(87): TetherMaster - unhandledMessage: msg.what=3
12-27 00:20:17.174: ERROR/HierarchicalStateMachine(87): TetherMaster - unhandledMessage: msg.what=3
12-27 00:20:21.224: ERROR/HierarchicalStateMachine(87): TetherMaster - unhandledMessage: msg.what=3
12-27 00:20:47.534: ERROR/MetadataRetrieverClient(34): failed to extract an album art
12-27 00:21:24.814: ERROR/ThrottleService(87): Error reading data file
Please let me know how can I fix these errors. Thanks a lot!
Unless you are experiencing actual problems, you can ignore error messages that occur during the startup of your emulator.

Categories

Resources