2017-01-25 3 views
1

Vor drei Tagen habe ich begonnen, Android-Entwicklung auszuprobieren. Ich habe Android Studio 2.2.3 auf einer VMWare-Instanz installiert (hat nicht funktioniert), auf einer Win7-Bare-Metal-Maschine (Dual Quad, 64 GB RAM), einer Ubuntu-Bare-Metal-Maschine (ähnliche Spezifikationen), einer CentOS 7-Maschine (ähnlich Specs) und auf einem Sommer 2009 iMac.Android Studio kann keine App auf einem Emulator ausführen

Ich habe Android Studio auf dem Win 7-Rechner als Admin entfernt und neu installiert, als Nicht-Administrator jeweils 2-3 mal. Bei jedem Einsatz bekomme ich die gleichen Fehler. Die "Hello World App" (Standard-App von Android-Website und ein Online-Tutorial) scheint korrekt zu kompilieren, der Android-Emulator kommt auf, aber der Prozess friert ein und Timeout bei allen oben genannten Implementierungen. Ich habe die Protokolle angeschaut und entsetzliche Fehlermeldungen gesehen, die besagen, dass Dateien nicht existieren, Berechtigungen verweigert wurden, keine Schriftarten erstellt wurden, Module nicht gefunden, etc.

Dies ist von Neuinstallationen auf 5 verschiedenen Plattformen wie oben angegeben. Als ich das letzte Mal neu installiert habe, habe ich alle Komponenten, Add-Ons und APIs installiert usw., die die Installation erlauben würde.

Ich mache nicht haben ein Android-Gerät, noch werde ich ein kaufen, angesichts der Probleme, die ich habe versucht, eine App für eine zu entwickeln.

Gibt es spezifische Einstellungen für eine spezifische Android-Version und Besonderheiten, die Dinge festgelegt werden müssen, um zu arbeiten? Eintausend Fehlermeldungen in einer Standard-App, bei einer Neuinstallation sind NICHT sehr ermutigend. Ich habe keine Ahnung, wo ich anfangen soll. Ich habe viele Male durch Stack Overflow geschaut und viele der Vorschläge ausprobiert und kann immer noch keine App auf einem Emulator ausführen. Ich habe 8-10 verschiedene Emulator Images ausprobiert und bin bereit das Handtuch zu werfen.

01-25 21:17:06.028 0-1174/? E/cutils: Failed to read /data/.layout_version: No such file or directory 
01-25 21:17:07.177 1160-1160/? E/lowmemorykiller: Kernel does not support memory pressure events or in-kernel low memory killer 

               - 

-------- beginning of system 
01-25 21:17:07.913 1163-1163/? E/libEGL: load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed: library "/system/lib/egl/libGLES_emulation.so" not found 
01-25 21:17:09.756 1163-1163/? E/SurfaceFlinger: hwcomposer module not found 
01-25 21:17:09.964 1163-1163/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:17:11.055 1163-1229/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property 
01-25 21:17:15.787 1273-1286/? E/libEGL: load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed: library "/system/lib/egl/libGLES_emulation.so" not found 
01-25 21:17:16.133 1273-1286/? E/cutils-trace: Error opening trace file: Permission denied (13) 

[ 01-25 21:17:16.156 1163: 1233 D/   ] 
HostConnection::get() New Host Connection established 0xb6915040, tid 1233 
01-25 21:17:16.274 1173-1173/? E/audio_hw_generic: Error opening input stream format 1, channel_mask 0010, sample_rate 16000 
01-25 21:17:16.279 1173-1371/? E/AudioFlinger: no wake lock to update! 
01-25 21:17:16.362 1173-1173/? 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) 
01-25 21:17:16.364 1173-1173/? E/SoundTriggerHwService: couldn't load sound trigger module sound_trigger.primary (No such file or directory) 

[ 01-25 21:17:17.032 1163: 1229 D/   ] 
HostConnection::get() New Host Connection established 0xb6b0d070, tid 1229 
01-25 21:17:19.061 1169-1169/? E/Netd: exec() res=0, status=768 for /system/bin/iptables -t nat -N oem_nat_pre 
01-25 21:17:19.510 1169-1169/? E/Netd: exec() res=0, status=768 for /system/bin/iptables -t nat -A PREROUTING -j oem_nat_pre 
01-25 21:17:20.529 1169-1169/? E/Netd: exec() res=0, status=768 for /system/bin/iptables -t nat -N natctrl_nat_POSTROUTING 
01-25 21:17:20.765 1169-1169/? E/Netd: exec() res=0, status=768 for /system/bin/iptables -t nat -A POSTROUTING -j natctrl_nat_POSTROUTING 
01-25 21:17:24.872 1169-1169/? E/BandwidthController: runIptablesCmd(): res=1 status=256 failed /system/bin/iptables -A bw_INPUT -m owner --socket-exists 
01-25 21:17:24.967 1169-1169/? E/BandwidthController: runIptablesCmd(): res=1 status=256 failed /system/bin/ip6tables -A bw_INPUT -m owner --socket-exists 
01-25 21:17:27.573 1176-1176/? E/memtrack: Couldn't load memtrack module (No such file or directory) 
01-25 21:17:27.574 1176-1176/? E/android.os.Debug: failed to load memtrack module: -2 
01-25 21:17:28.896 1176-1176/? E/Minikin: addFont failed to create font /system/fonts/NotoSansGujarati-Regular.ttf 
01-25 21:17:28.896 1176-1176/? E/Minikin: addFont failed to create font /system/fonts/NotoSansGujarati-Bold.ttf 
01-25 21:17:28.896 1176-1176/? E/Minikin: addFont failed to create font /system/fonts/NotoSansGujaratiUI-Regular.ttf 
01-25 21:17:28.896 1176-1176/? E/Minikin: addFont failed to create font /system/fonts/NotoSansGujaratiUI-Bold.ttf 
01-25 21:17:28.896 1176-1176/? E/Minikin: addFont failed to create font /system/fonts/NotoSansGurmukhi-Regular.ttf 
01-25 21:17:28.896 1176-1176/? E/Minikin: addFont failed to create font /system/fonts/NotoSansGurmukhi-Bold.ttf 
01-25 21:17:28.896 1176-1176/? E/Minikin: addFont failed to create font /system/fonts/NotoSansGurmukhiUI-Regular.ttf 
01-25 21:17:28.896 1176-1176/? E/Minikin: addFont failed to create font /system/fonts/NotoSansGurmukhiUI-Bold.ttf 
01-25 21:17:28.910 1176-1176/? E/Minikin: addFont failed to create font /system/fonts/NotoSansSinhala-Regular.ttf 
01-25 21:17:28.910 1176-1176/? E/Minikin: addFont failed to create font /system/fonts/NotoSansSinhala-Bold.ttf 
01-25 21:17:28.920 1176-1176/? E/Minikin: addFont failed to create font /system/fonts/NotoSansCherokee-Regular.ttf 
01-25 21:17:28.920 1176-1176/? E/Minikin: addFont failed to create font /system/fonts/NotoSansCanadianAboriginal-Regular.ttf 
01-25 21:17:28.920 1176-1176/? E/Minikin: addFont failed to create font /system/fonts/NotoSansYi-Regular.ttf 
01-25 21:17:28.920 1176-1176/? E/Minikin: addFont failed to create font /system/fonts/NotoSansHans-Regular.otf 
01-25 21:17:28.920 1176-1176/? E/Minikin: addFont failed to create font /system/fonts/NotoSansHant-Regular.otf 
01-25 21:17:28.920 1176-1176/? E/Minikin: addFont failed to create font /system/fonts/NotoSansJP-Regular.otf 
01-25 21:17:28.920 1176-1176/? E/Minikin: addFont failed to create font /system/fonts/NotoSansKR-Regular.otf 
01-25 21:17:31.585 1176-1176/? E/EmojiFactory_jni: Failed to load libemoji.so: dlopen failed: library "libemoji.so" not found 
01-25 21:17:52.136 1176-1176/? E/libEGL: load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed: library "/system/lib/egl/libGLES_emulation.so" not found 
01-25 21:17:54.267 1615-1615/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/services.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:17:54.455 1615-1615/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:17:56.079 1618-1618/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/ethernet-service.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:17:56.132 1618-1618/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:17:56.174 1619-1619/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/wifi-service.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:17:56.291 1619-1619/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:17:56.863 1174-1174/? E/installd: eof 
01-25 21:17:56.863 1174-1174/? E/installd: failed to read size 
01-25 21:18:01.073 1597-1597/system_process E/PowerManagerService-JNI: Couldn't load power module (No such file or directory) 
01-25 21:18:01.890 1163-1229/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property 
01-25 21:18:03.551 1648-1648/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/android.test.runner.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:03.780 1648-1648/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:03.852 1649-1649/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/com.android.future.usb.accessory.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:03.917 1649-1649/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:04.857 1652-1652/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/com.android.media.remotedisplay.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:04.904 1652-1652/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:04.935 1653-1653/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/com.android.location.provider.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:05.055 1653-1653/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:05.099 1654-1654/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/javax.obex.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:05.150 1654-1654/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:05.295 1657-1657/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/com.google.android.media.effects.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:05.345 1657-1657/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:06.249 1658-1658/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/com.google.android.maps.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:06.307 1658-1658/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:06.362 1659-1659/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/com.android.mediadrm.signer.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:06.411 1659-1659/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:06.687 1662-1662/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/am.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:06.989 1662-1662/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:07.173 1663-1663/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/appops.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:07.213 1663-1663/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:07.243 1664-1664/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/appwidget.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:07.575 1664-1664/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:07.827 1665-1665/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/bmgr.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:08.002 1665-1665/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:08.208 1668-1668/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/bu.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:08.418 1668-1668/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:08.902 1669-1669/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/content.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:09.405 1669-1669/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:09.724 1672-1672/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/dpm.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:09.757 1672-1672/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:10.076 1673-1673/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/ime.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:10.195 1673-1673/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:10.507 1676-1676/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/input.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:10.671 1676-1676/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:10.867 1677-1677/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/media_cmd.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:10.982 1677-1677/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:11.053 1678-1678/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/monkey.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:11.088 1678-1678/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:11.436 1679-1679/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/pm.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:11.586 1679-1679/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:11.695 1682-1682/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/requestsync.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:11.747 1682-1682/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:11.814 1683-1683/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/settings.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:11.855 1683-1683/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:11.913 1684-1684/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/svc.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:11.956 1684-1684/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:12.086 1685-1685/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/uiautomator.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:12.125 1685-1685/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:18:12.194 1686-1686/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/framework/x86/wm.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]) 
01-25 21:18:12.238 1686-1686/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:19:21.657 1793-1793/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/app/KeyChain/x86/KeyChain.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:19:21.694 1793-1793/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:19:21.716 1794-1794/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/SettingsProvider/x86/SettingsProvider.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:19:21.777 1794-1794/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:19:21.799 1795-1795/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/Settings/x86/Settings.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:19:21.841 1795-1795/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:19:21.924 1796-1796/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/FusedLocation/x86/FusedLocation.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:19:21.965 1796-1796/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:19:21.983 1797-1797/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/InputDevices/x86/InputDevices.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:19:22.024 1797-1797/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:19:22.106 1800-1800/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/GoogleLoginService/x86/GoogleLoginService.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:19:22.201 1800-1800/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:19:22.288 1801-1801/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/GoogleServicesFramework/x86/GoogleServicesFramework.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:19:22.322 1801-1801/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:19:24.091 1597-1597/system_process E/ConsumerIrService: Can't open consumer IR HW Module, error: -2 
01-25 21:19:25.197 1597-1810/system_process E/EventHub: could not get driver version for /dev/input/mice, Not a typewriter 
01-25 21:19:47.405 1836-1836/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/SystemUI/x86/SystemUI.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:19:47.442 1162-1837/? E/fstrim: FITRIM ioctl failed on /cache (error 95/Operation not supported on transport endpoint) 
01-25 21:19:47.442 1162-1837/? E/fstrim: FITRIM ioctl failed on /data (error 95/Operation not supported on transport endpoint) 
01-25 21:19:47.560 1836-1836/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:19:50.769 1842-1842/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/TelephonyProvider/x86/TelephonyProvider.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:19:51.028 1842-1842/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:19:51.557 1845-1845/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/app/LatinIME/x86/LatinIME.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:19:51.721 1845-1845/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:19:53.751 1850-1850/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/TeleService/x86/TeleService.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:19:54.122 1850-1850/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:19:54.649 1853-1853/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/Shell/x86/Shell.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:19:54.946 1853-1853/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:19:55.491 1854-1854/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/ProxyHandler/x86/ProxyHandler.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:19:55.782 1854-1854/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:19:56.021 1855-1855/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/DefaultContainerService/x86/DefaultContainerService.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected][email protected]) 
01-25 21:19:56.152 1855-1855/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:19:56.363 1858-1858/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/Dialer/x86/Dialer.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:19:56.832 1858-1858/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:19:59.042 1863-1863/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/Telecom/x86/Telecom.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:19:59.570 1863-1863/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:00.563 1866-1866/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/MmsService/x86/MmsService.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:00.870 1866-1866/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:01.074 1869-1869/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/ManagedProvisioning/x86/ManagedProvisioning.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:01.402 1869-1869/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:01.829 1870-1870/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/MediaProvider/x86/MediaProvider.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:02.002 1870-1870/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:02.433 1873-1873/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/ContactsProvider/x86/ContactsProvider.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:02.770 1873-1873/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:03.435 1876-1876/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/CalendarProvider/x86/CalendarProvider.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:03.732 1876-1876/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:04.365 1877-1877/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/app/LiveWallpapersPicker/x86/LiveWallpapersPicker.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:04.580 1877-1877/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:04.652 1880-1880/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/app/UserDictionaryProvider/x86/UserDictionaryProvider.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:04.891 1880-1880/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:05.322 1881-1881/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/SharedStorageBackup/x86/SharedStorageBackup.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:05.399 1881-1881/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:05.572 1882-1882/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/app/OpenWnn/x86/OpenWnn.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:05.951 1882-1882/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:06.343 1885-1885/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/app/PackageInstaller/x86/PackageInstaller.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:06.375 1885-1885/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:06.578 1886-1886/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/Contacts/x86/Contacts.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:06.797 1886-1886/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:08.492 1892-1892/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/app/EmulatorSmokeTests/x86/EmulatorSmokeTests.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:08.586 1892-1892/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:09.276 1893-1893/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/app/Exchange2/x86/Exchange2.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:09.680 1893-1893/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:13.034 1908-1908/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/app/DownloadProviderUi/x86/DownloadProviderUi.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:13.224 1908-1908/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:13.735 1911-1911/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/app/SpeechRecorder/x86/SpeechRecorder.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:13.875 1911-1911/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:14.102 1912-1912/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/app/Calendar/x86/Calendar.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:14.241 1912-1912/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:15.774 1917-1917/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/app/Maps/x86/Maps.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:16.053 1917-1917/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:30.882 1938-1938/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/app/Gallery/x86/Gallery.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:31.061 1938-1938/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:31.385 1939-1939/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/app/PicoTts/x86/PicoTts.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:31.588 1939-1939/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:32.095 1942-1942/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/ExternalStorageProvider/x86/ExternalStorageProvider.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:32.190 1942-1942/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:32.467 1943-1943/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/app/DocumentsUI/x86/DocumentsUI.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:32.600 1943-1943/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:33.563 1946-1946/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/app/BasicDreams/x86/BasicDreams.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:34.151 1946-1946/? E/cutils-trace: Error opening trace file: Permission denied (13) 
01-25 21:20:34.266 1949-1949/? E/installd: Running /system/bin/patchoat isa=x86 in-fd=5 (/system/priv-app/PrebuiltGmsCore/x86/PrebuiltGmsCore.odex) out-fd=6 (/data/dalvik-cache/x86/[email protected]@[email protected]@classes.dex) 
01-25 21:20:34.960 1949-1949/? E/cutils-trace: Error opening trace file: Permission denied (13) 

Antwort

0

Wenn Sie nur AndroidStudio setzen frisch zusammen mit java, das einzige, was Sie tun müssen, um zu testen, ob es funktioniert, ist die folgende:

New Project -> Name usw. eingeben und wählen Sie eine beliebige Activity Sie . Zu Beginn einer Blank Activity ist der Weg zu gehen und das ist es. Das Projekt wird für Sie erstellt und Sie müssen nichts Code codieren, weil Android Studio es bereits für Sie getan hat. Diese App wird dann ausgeführt, wenn Sie Run drücken (grüner Pfeil). Ich kann mich nicht erinnern, wenn Sie eine emulator einrichten müssen, aber selbst wenn, so ist es nur drei Klicks in der AVD Manager, die Sie zugreifen können, indem Sie auf Add a new device auf das Fenster klicken, das erscheint, wenn Sie die Run Schaltfläche drücken. Die App wird dann nach dem Start automatisch auf dem Emulator installiert.

Ich hoffe, ich könnte Ihnen helfen. Sonst habe ich dein Problem nicht bekommen.

+0

Ich habe GENAU, dass auf allen oben genannten Plattformen und Studien, und es Timeout, genau wie eine Reihe von anderen berichtet haben. Gradle sagt, die App korrekt kompiliert, der Emulator erscheint, dann nichts (ich sehe "Android" in weißen Buchstaben und es friert). Ich habe "Hello World" noch nie im Emulator gesehen. Oft kann der Emulator nicht geschlossen werden, und oft die IDE und Win 7 vollständig abstürzt. Manchmal sehe ich ein paar Nachrichten, die etwas wie 12 von 17 xxxxx geladen sagen. im Emulator aber nichts danach. – Naibra88

0

Ich habe mehrere andere virtuelle Geräte/Emulatoren ähnlich wie diese (Marshmallow) erstellt und sie alle fehlschlagen. Wie du schon sagtest, nur drei Klicks und Voila, alle oben genannten Fehlermeldungen.

Gradle sagt die App kompiliert korrekt, der Emulator erscheint, dann nichts (ich sehe "Android" in weißen Buchstaben und es friert). Ich habe "Hello World" noch nie im Emulator gesehen.

Oft kann der Emulator nicht geschlossen werden, und oft die IDE und Win 7 vollständig abstürzt. Manchmal sehe ich ein paar Nachrichten, die etwas wie 12 von 17 xxxxx geladen sagen. im Emulator aber nichts danach.

Schauen Sie sich alle Fehlermeldungen an, die ich von EXAKT erfahren habe, was Sie vorgeschlagen haben, wie Android's Leitfaden "Erste Schritte" sagt und ein Online-Tutorial vorschlägt. Auf 5 verschiedenen Plattformen.

Dateiberechtigungen, Dateien fehlen, Module nicht gefunden, Schriftarten, die nicht installiert werden können, und ein Korb voller anderer Fehler. Android Studio funktioniert offensichtlich unter bestimmten Instanzen (bestimmte Hardware und Software) und funktioniert nicht unter einer Vielzahl von bestimmten Instanzen (Hardware, Betriebssysteme und Software).

und was ist E/cutils-Ablaufverfolgung, E/installd, E/libEGL, E/Bandbreitencontroller, E/android.os.Debug. E/memtrack, E/Netd usw. Es sieht wie Dateien innerhalb eines Dateisystems aus, die NICHT auf einem Windows-Rechner sind. Sind sie Dateien auf dem Betriebssystem eines Android-Geräts ??? Ich glaube, diese Fehlermeldungen kommen vom Emulator, wie sie in der Registerkarte "Android Monitor" erscheinen.

Hier ist ein weiterer Fehler, den ich bekomme, wenn ich versuche, den Emulator zu starten, BEVOR ich versuche, meine App zu starten, wie einige vorgeschlagen haben.

Kann AVD nicht in Emulator starten Ausgang:. Hax aktiviert ist Hax ram_size 0x40000000 libpng Warnung: ICCP:. bekannt falsche sRGB-Profil HAX arbeitet und Emulator läuft in schnellen virt-Modus libpng Warnung: ICCP: bekannt falsch sRGB-Profil libpng Warnung: iCCP: bekanntes falsches sRGB-Profil libpng Warnung: ICCP: bekannt falsche sRGB-Profil libpng Warnung: ICCP: bekannt falsche sRGB-Profil libpng Warnung: ICCP: bekannt falsche sRGB-Profil libpng Warnung: ICCP: bekannt falsches sRGB-Profil qemu-system-i386.exe: - Laufwerk if = none, index = 1, id = Cache, Datei = C: \ Users \ arbian33.android \ avd \ Nexus_S_API_21.avd/cache.img: Disk-Image konnte nicht geöffnet werden C: \ Users \ arbian33.android \ avd \ Nexus_S_API_21.avd/cache.img: Konnte nicht 'C: \ Benutzer \ xxxxxxxxxx.android \ avd \ Nexus_S_API_21.avd/cache.img' öffnen: Ungültiges Argument

Ich war in IT 30+ Jahre und habe NIEMALS So etwas sieht man bei einer Standardinstallation und einem einfachen "Hello World" -Programm.

+0

Ich finde das Problem mit den Emulatorbildern. Ich habe den Speicher für alle Einstellungen erhöht und die Emulatoren über die Befehlszeile ausgeführt und den "Android Monitor" angeschaut. Alle oben genannten Fehler kommen vom Emulator, der versucht, hochzufahren. Ich habe die neuesten "Geräte" ausprobiert und sie stürzen auch ab. Der Emulator sagt jetzt: Prozesssystem antwortet nicht X Schließen Sie App @ Wait – Naibra88

Verwandte Themen