Autore Topic: L\'emulatore non funziona più  (Letto 484 volte)

Offline Twist3rEv0

  • Nuovo arrivato
  • *
  • Post: 44
  • Respect: 0
    • Mostra profilo
    • Giulio Web
  • Dispositivo Android:
    Samsung Galaxy S4
  • Play Store ID:
    Giulio Giarratana
  • Sistema operativo:
    Windows 8.1, Xubuntu 14
L\'emulatore non funziona più
« il: 29 Luglio 2014, 12:26:30 CEST »
0
Salve,
da quando ho aggiornato le nuove SDK con le API 20, l'emulatore non sta proprio funzionando o meglio nemmeno si avvia e nel logcat da questo:
Codice: [Seleziona]
.....
07-29 10:01:53.669    1360-1360/? I/Zygote﹕ ...preloaded 278 resources in 314ms.
07-29 10:01:53.669    1360-1360/? I/Zygote﹕ ...preloaded 31 resources in 2ms.
07-29 10:01:53.689    1364-1364/? E/BatteryService﹕ usbOnlinePath not found
07-29 10:01:53.689    1364-1364/? E/BatteryService﹕ batteryVoltagePath not found
07-29 10:01:53.689    1364-1364/? E/BatteryService﹕ batteryTemperaturePath not found
07-29 10:01:53.689    1364-1364/? I/sysproc﹕ Entered system_init()
07-29 10:01:53.689    1364-1364/? I/sysproc﹕ ServiceManager: 0xb968f9c8
07-29 10:01:53.689    1364-1364/? I/SensorService﹕ Goldfish 3-axis Accelerometer
07-29 10:01:53.689    1364-1364/? I/SensorService﹕ Goldfish 3-axis Magnetic field sensor
07-29 10:01:53.689    1364-1364/? I/SensorService﹕ Goldfish Orientation sensor
07-29 10:01:53.689    1364-1364/? I/SensorService﹕ Goldfish Temperature sensor
07-29 10:01:53.689    1364-1364/? I/SensorService﹕ Goldfish Proximity sensor
07-29 10:01:53.689    1364-1364/? I/sysproc﹕ System server: starting Android runtime.
07-29 10:01:53.689    1364-1364/? I/sysproc﹕ System server: starting Android services.
07-29 10:01:53.689    1364-1364/? I/SystemServer﹕ Entered the Android system server!
07-29 10:01:53.689    1364-1364/? I/sysproc﹕ System server: entering thread pool.
07-29 10:01:53.689    1364-1373/? I/SystemServer﹕ Entropy Mixer
07-29 10:01:53.700    1364-1373/? W/EntropyMixer﹕ unable to load initial entropy (first boot?)
    java.io.FileNotFoundException: /data/system/entropy.dat: open failed: ENOENT (No such file or directory)
            at libcore.io.IoBridge.open(IoBridge.java:416)
            at java.io.FileInputStream.<init>(FileInputStream.java:78)
            at java.io.FileInputStream.<init>(FileInputStream.java:105)
            at com.android.server.RandomBlock.fromFile(RandomBlock.java:45)
            at com.android.server.EntropyMixer.loadInitialEntropy(EntropyMixer.java:99)
            at com.android.server.EntropyMixer.<init>(EntropyMixer.java:86)
            at com.android.server.EntropyMixer.<init>(EntropyMixer.java:76)
            at com.android.server.ServerThread.run(SystemServer.java:147)
     Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
            at libcore.io.Posix.open(Native Method)
            at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
            at libcore.io.IoBridge.open(IoBridge.java:400)
            at java.io.FileInputStream.<init>(FileInputStream.java:78)
            at java.io.FileInputStream.<init>(FileInputStream.java:105)
            at com.android.server.RandomBlock.fromFile(RandomBlock.java:45)
            at com.android.server.EntropyMixer.loadInitialEntropy(EntropyMixer.java:99)
            at com.android.server.EntropyMixer.<init>(EntropyMixer.java:86)
            at com.android.server.EntropyMixer.<init>(EntropyMixer.java:76)
            at com.android.server.ServerThread.run(SystemServer.java:147)
07-29 10:01:53.700    1364-1373/? W/EntropyMixer﹕ unable to write entropy
    java.io.FileNotFoundException: /data/system/entropy.dat: open failed: ENOENT (No such file or directory)
            at libcore.io.IoBridge.open(IoBridge.java:416)
            at java.io.RandomAccessFile.<init>(RandomAccessFile.java:118)
            at java.io.RandomAccessFile.<init>(RandomAccessFile.java:150)
            at com.android.server.RandomBlock.toFile(RandomBlock.java:69)
            at com.android.server.EntropyMixer.writeEntropy(EntropyMixer.java:107)
            at com.android.server.EntropyMixer.<init>(EntropyMixer.java:88)
            at com.android.server.EntropyMixer.<init>(EntropyMixer.java:76)
            at com.android.server.ServerThread.run(SystemServer.java:147)
     Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
            at libcore.io.Posix.open(Native Method)
            at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
            at libcore.io.IoBridge.open(IoBridge.java:400)
            at java.io.RandomAccessFile.<init>(RandomAccessFile.java:118)
            at java.io.RandomAccessFile.<init>(RandomAccessFile.java:150)
            at com.android.server.RandomBlock.toFile(RandomBlock.java:69)
            at com.android.server.EntropyMixer.writeEntropy(EntropyMixer.java:107)
            at com.android.server.EntropyMixer.<init>(EntropyMixer.java:88)
            at com.android.server.EntropyMixer.<init>(EntropyMixer.java:76)
            at com.android.server.ServerThread.run(SystemServer.java:147)
07-29 10:01:53.700    1364-1373/? I/SystemServer﹕ Power Manager
07-29 10:01:53.700    1364-1373/? E/PowerManagerService-JNI﹕ Couldn't load power module (No such file or directory)
07-29 10:01:53.700    1364-1373/? I/SystemServer﹕ Activity Manager
07-29 10:01:53.700    1364-1374/? I/ActivityManager﹕ Memory class: 48
07-29 10:01:53.700    1364-1374/? W/UsageStats﹕ Error : java.io.IOException: open failed: ENOENT (No such file or directory) reading data from file:/data/system/usagestats/usage-20140729
07-29 10:01:53.709    1360-1360/? I/dalvikvm﹕ System server process 1364 has been created
07-29 10:01:53.709    1360-1360/? I/Zygote﹕ Accepting command socket connections
07-29 10:01:53.709    1364-1375/? W/BatteryStats﹕ Error writing battery statistics
    java.io.FileNotFoundException: /data/system/batterystats.bin.tmp: open failed: ENOENT (No such file or directory)
            at libcore.io.IoBridge.open(IoBridge.java:416)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:88)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:73)
            at com.android.internal.os.BatteryStatsImpl.commitPendingDataToDisk(BatteryStatsImpl.java:4873)
            at com.android.internal.os.BatteryStatsImpl$1.run(BatteryStatsImpl.java:4853)
     Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
            at libcore.io.Posix.open(Native Method)
            at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
            at libcore.io.IoBridge.open(IoBridge.java:400)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:88)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:73)
            at com.android.internal.os.BatteryStatsImpl.commitPendingDataToDisk(BatteryStatsImpl.java:4873)
            at com.android.internal.os.BatteryStatsImpl$1.run(BatteryStatsImpl.java:4853)
07-29 10:01:53.709    1364-1373/? I/SystemServer﹕ Telephony Registry
07-29 10:01:53.709    1364-1373/? I/SystemServer﹕ Scheduling Policy
07-29 10:01:53.709    1364-1373/? I/SystemServer﹕ Package Manager
07-29 10:01:53.709    1364-1374/? I/ActivityManager﹕ Enabled StrictMode logging for AThread's Looper
07-29 10:01:53.709    1364-1373/? E/UserManager﹕ Error writing user list
07-29 10:01:53.709    1364-1373/? E/UserManager﹕ Error writing user info 0
    java.io.FileNotFoundException: /data/system/users/0.xml: open failed: ENOENT (No such file or directory)
07-29 10:01:53.739    1364-1373/? I/PackageManager﹕ No settings file; creating initial state
07-29 10:01:53.739    1364-1373/? W/PackageManager﹕ Running ENG build: no pre-dexopt!
07-29 10:01:53.749    1364-1373/? I/PackageManager﹕ /system/framework/framework-res.apk changed; collecting certs
07-29 10:01:53.930    1364-1373/? I/dalvikvm-heap﹕ Grow heap (frag case) to 7.340MB for 260108-byte allocation
07-29 10:01:53.940    1364-1373/? I/dalvikvm-heap﹕ Grow heap (frag case) to 7.714MB for 521302-byte allocation
07-29 10:01:53.960    1364-1373/? I/dalvikvm-heap﹕ Grow heap (frag case) to 8.461MB for 1043006-byte allocation
07-29 10:01:54.030    1364-1373/? I/dalvikvm-heap﹕ Grow heap (frag case) to 8.954MB for 1045632-byte allocation
07-29 10:01:54.060    1364-1373/? I/dalvikvm-heap﹕ Grow heap (frag case) to 9.458MB for 1045632-byte allocation
07-29 10:01:54.520    1364-1373/? I/PackageManager﹕ /system/app/VpnDialogs.apk changed; collecting certs
07-29 10:01:54.520    1364-1373/? I/Installer﹕ connecting...
07-29 10:01:54.520    1364-1373/? I/Installer﹕ disconnecting...
07-29 10:01:54.520    1364-1373/? E/Installer﹕ connection failed
07-29 10:01:54.530    1364-1373/? I/PackageManager﹕ /system/app/Phone.apk changed; collecting certs
07-29 10:01:54.580    1364-1373/? I/Installer﹕ connecting...
07-29 10:01:54.580    1364-1373/? I/Installer﹕ disconnecting...
07-29 10:01:54.580    1364-1373/? E/Installer﹕ connection failed
07-29 10:01:54.580    1364-1373/? I/PackageManager﹕ /system/app/Calendar.apk changed; collecting certs
07-29 10:01:54.630    1364-1373/? I/Installer﹕ connecting...
07-29 10:01:54.630    1364-1373/? I/Installer﹕ disconnecting...
07-29 10:01:54.630    1364-1373/? E/Installer﹕ connection failed
07-29 10:01:54.630    1364-1373/? I/PackageManager﹕ /system/app/ConnectivityTest.apk changed; collecting certs
07-29 10:01:54.630    1364-1373/? I/Installer﹕ connecting...
07-29 10:01:54.630    1364-1373/? I/Installer﹕ disconnecting...
07-29 10:01:54.630    1364-1373/? E/Installer﹕ connection failed
07-29 10:01:54.630    1364-1373/? I/PackageManager﹕ /system/app/ContactsProvider.apk changed; collecting certs
07-29 10:01:54.640    1364-1373/? I/PackageManager﹕ New shared user android.uid.shared: id=10003
07-29 10:01:54.640    1364-1373/? I/Installer﹕ connecting...
07-29 10:01:54.640    1364-1373/? I/Installer﹕ disconnecting...
07-29 10:01:54.640    1364-1373/? E/Installer﹕ connection failed
07-29 10:01:54.640    1364-1373/? I/PackageManager﹕ /system/app/DefaultContainerService.apk changed; collecting certs
07-29 10:01:54.660    1364-1373/? I/Installer﹕ connecting...
07-29 10:01:54.660    1364-1373/? I/Installer﹕ disconnecting...
07-29 10:01:54.660    1364-1373/? E/Installer﹕ connection failed
07-29 10:01:54.670    1364-1373/? I/PackageManager﹕ /system/app/LegacyCamera.apk changed; collecting certs
....
Non l'ho copiato tutto dato che viene ripetuto non so quante volte oltre a ripetere un BOOT FAILURE successivamente.

L'intel HAXM l'ho reinstallato con la 1.0.8 ma il problema non sembra quello. Non saranno per caso le nuove SDK a dare questi problemi?
In più, da anche problemi il logcat quando collego un dispositivo fisico via usb. In pratica il collegamento funziona ma il logcat diventa pazzo, inizia a mandare messaggi di qualunque genere e privi di senso (da messaggi di errore a banalissimi warning, pure quando è in normale standby).
Prima dell'aggiornamento funzionava tutto e il logcat non mi tempestava di messaggi, guarda caso!  o_O Ora non so proprio come risolvere, qualcuno ne sa qualcosa?

Post unito: 29 Luglio 2014, 19:48:04 CEST
Risolto da solo...
Mi è bastato eliminare e ricreare l'emulatore con un altro nome.  ;-)
« Ultima modifica: 29 Luglio 2014, 19:48:04 CEST da Twist3rEv0, Reason: Merged DoublePost »