Bonjour à tous ! !
Je me met a programmer pour android mais lorsque je crée un projet et que je le lance le programme par défaut ( qui lance l'émulateur et le programme qui affiche "Hello world, main" qui s'affiche :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
package com.formation;
 
import android.app.Activity;
import android.os.Bundle;
 
public class Main extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }
}
Quand je le lance, dans le logcat il y a déjà des erreurs...
Dois-je m'inquiéter ? Comment les résoudre ?

12-24 14:50:43.485: E/Zygote(33): setreuid() failed. errno: 2
12-24 14:50:51.954: E/Zygote(33): setreuid() failed. errno: 17
12-24 14:50:53.225: E/BatteryService(62): usbOnlinePath not found
12-24 14:50:53.225: E/BatteryService(62): batteryVoltagePath not found
12-24 14:50:53.225: E/BatteryService(62): batteryTemperaturePath not found
12-24 14:50:53.255: E/SurfaceFlinger(62): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
12-24 14:50:53.365: E/SensorService(62): couldn't open device for module sensors (Invalid argument)
12-24 14:50:57.245: E/System(62): Failure starting core service
12-24 14:50:57.245: E/System(62): java.lang.SecurityException
12-24 14:50:57.245: E/System(62): at android.os.BinderProxy.transact(Native Method)
12-24 14:50:57.245: E/System(62): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
12-24 14:50:57.245: E/System(62): at android.os.ServiceManager.addService(ServiceManager.java:72)
12-24 14:50:57.245: E/System(62): at com.android.server.ServerThread.run(SystemServer.java:206)
12-24 14:50:57.285: E/EventHub(62): could not get driver version for /dev/input/mouse0, Not a typewriter
12-24 14:50:57.285: E/EventHub(62): could not get driver version for /dev/input/mice, Not a typewriter
12-24 14:50:57.795: E/SoundPool(62): error loading /system/media/audio/ui/Effect_Tick.ogg
12-24 14:50:57.795: E/SoundPool(62): error loading /system/media/audio/ui/KeypressStandard.ogg
12-24 14:50:57.795: E/SoundPool(62): error loading /system/media/audio/ui/KeypressSpacebar.ogg
12-24 14:50:57.805: E/SoundPool(62): error loading /system/media/audio/ui/KeypressDelete.ogg
12-24 14:50:57.805: E/SoundPool(62): error loading /system/media/audio/ui/KeypressReturn.ogg
12-24 14:50:57.835: E/UsbObserver(62): java.lang.NullPointerException
12-24 14:50:57.835: E/UsbObserver(62): at com.android.server.UsbObserver.init(UsbObserver.java:131)
12-24 14:50:57.835: E/UsbObserver(62): at com.android.server.UsbObserver.<init>(UsbObserver.java:65)
12-24 14:50:57.835: E/UsbObserver(62): at com.android.server.ServerThread.run(SystemServer.java:402)
12-24 14:50:58.875: E/ThrottleService(62): Could not open GPS configuration file /etc/gps.conf
12-24 14:50:59.315: E/logwrapper(137): executing /system/bin/tc failed: No such file or directory
12-24 14:50:59.396: E/logwrapper(138): executing /system/bin/tc failed: No such file or directory
12-24 14:50:59.455: E/logwrapper(141): executing /system/bin/tc failed: No such file or directory