- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
三天前,我开始尝试Android开发。我已经在 VMWare 实例(不起作用)、Win7 裸机(双四核、64GB RAM)、Ubuntu 裸机(类似规范)、CentOS 7 机器(类似规范)以及 2009 年夏季 iMac 上安装了 Android Studio 2.2.3。
我已在 Win 7 计算机上以管理员身份删除并重新安装 Android studio,以非管理员身份各 2-3 次。在每次部署时我都会遇到相同的错误。 “Hello World 应用程序”(来自 Android 网站的默认应用程序和在线教程)似乎可以正确编译,Android 模拟器出现,但在上述所有实现上,该过程都会卡住并超时。我查看了日志,看到了可怕的错误消息,说文件不存在、权限被拒绝、创建字体失败、找不到模块等等。
这是来自上述 5 个不同平台上的全新安装。上次重新安装时,我安装了安装过程允许的所有组件、附加组件和 api 等。
考虑到我在尝试开发一款应用程序时遇到的问题,我没有有 Android 设备,也不会购买一台。
是否有针对特定 Android 版本的特定设置,以及必须设置才能正常工作的具体设置?默认应用程序上出现一千条错误消息,在全新安装时并不是很令人鼓舞。我不知道从哪里开始。我已经多次查看 Stack Overflow 并尝试了许多建议,但仍然无法让应用程序在模拟器上运行。我已经尝试了 8-10 个不同的模拟器图像,并准备认输。
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/system@framework@services.jar@classes.dex)
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/system@framework@ethernet-service.jar@classes.dex)
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/system@framework@wifi-service.jar@classes.dex)
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/system@framework@android.test.runner.jar@classes.dex)
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/system@framework@com.android.future.usb.accessory.jar@classes.dex)
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/system@framework@com.android.media.remotedisplay.jar@classes.dex)
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/system@framework@com.android.location.provider.jar@classes.dex)
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/system@framework@javax.obex.jar@classes.dex)
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/system@framework@com.google.android.media.effects.jar@classes.dex)
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/system@framework@com.google.android.maps.jar@classes.dex)
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/system@framework@com.android.mediadrm.signer.jar@classes.dex)
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/system@framework@am.jar@classes.dex)
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/system@framework@appops.jar@classes.dex)
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/system@framework@appwidget.jar@classes.dex)
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/system@framework@bmgr.jar@classes.dex)
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/system@framework@bu.jar@classes.dex)
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/system@framework@content.jar@classes.dex)
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/system@framework@dpm.jar@classes.dex)
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/system@framework@ime.jar@classes.dex)
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/system@framework@input.jar@classes.dex)
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/system@framework@media_cmd.jar@classes.dex)
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/system@framework@monkey.jar@classes.dex)
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/system@framework@pm.jar@classes.dex)
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/system@framework@requestsync.jar@classes.dex)
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/system@framework@settings.jar@classes.dex)
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/system@framework@svc.jar@classes.dex)
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/system@framework@uiautomator.jar@classes.dex)
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/system@framework@wm.jar@classes.dex)
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/system@app@KeyChain@KeyChain.apk@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/system@priv-app@SettingsProvider@SettingsProvider.apk@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/system@priv-app@Settings@Settings.apk@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/system@priv-app@FusedLocation@FusedLocation.apk@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/system@priv-app@InputDevices@InputDevices.apk@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/system@priv-app@GoogleLoginService@GoogleLoginService.apk@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/system@priv-app@GoogleServicesFramework@GoogleServicesFramework.apk@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/system@priv-app@SystemUI@SystemUI.apk@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/system@priv-app@TelephonyProvider@TelephonyProvider.apk@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/system@app@LatinIME@LatinIME.apk@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/system@priv-app@TeleService@TeleService.apk@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/system@priv-app@Shell@Shell.apk@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/system@priv-app@ProxyHandler@ProxyHandler.apk@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/system@priv-app@DefaultContainerService@DefaultContainerService.apk@classes.dex)
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/system@priv-app@Dialer@Dialer.apk@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/system@priv-app@Telecom@Telecom.apk@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/system@priv-app@MmsService@MmsService.apk@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/system@priv-app@ManagedProvisioning@ManagedProvisioning.apk@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/system@priv-app@MediaProvider@MediaProvider.apk@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/system@priv-app@ContactsProvider@ContactsProvider.apk@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/system@priv-app@CalendarProvider@CalendarProvider.apk@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/system@app@LiveWallpapersPicker@LiveWallpapersPicker.apk@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/system@app@UserDictionaryProvider@UserDictionaryProvider.apk@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/system@priv-app@SharedStorageBackup@SharedStorageBackup.apk@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/system@app@OpenWnn@OpenWnn.apk@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/system@app@PackageInstaller@PackageInstaller.apk@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/system@priv-app@Contacts@Contacts.apk@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/system@app@EmulatorSmokeTests@EmulatorSmokeTests.apk@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/system@app@Exchange2@Exchange2.apk@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/system@app@DownloadProviderUi@DownloadProviderUi.apk@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/system@app@SpeechRecorder@SpeechRecorder.apk@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/system@app@Calendar@Calendar.apk@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/system@app@Maps@Maps.apk@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/system@app@Gallery@Gallery.apk@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/system@app@PicoTts@PicoTts.apk@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/system@priv-app@ExternalStorageProvider@ExternalStorageProvider.apk@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/system@app@DocumentsUI@DocumentsUI.apk@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/system@app@BasicDreams@BasicDreams.apk@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/system@priv-app@PrebuiltGmsCore@PrebuiltGmsCore.apk@classes.dex)
01-25 21:20:34.960 1949-1949/? E/cutils-trace: Error opening trace file: Permission denied (13)
最佳答案
我创建了几个与此类似的其他虚拟设备/模拟器...(棉花糖),但它们都失败了。正如您所说,只需单击三下,瞧,以上所有错误消息都会出现。
Gradle 说应用程序编译正确,模拟器弹出,然后什么也没有(我看到白色字母的“android”,它卡住了)。我从未在模拟器中见过“Hello World”。
模拟器常常无法关闭,IDE 和 Win 7 常常完全锁定。有时我会看到一些消息,上面写着 12 of 17 xxxxx 已加载。在模拟器中,但之后什么也没有。
查看我按照您的建议、Android 的“入门”指南以及在线教程的建议执行操作时收到的所有错误消息。在 5 个不同的平台上。
文件权限、文件丢失、找不到模块、无法安装字体以及一大堆其他错误。 Android Studio 显然可以在特定实例(某些硬件和软件)下工作,但不能在很多特定实例(硬件、操作系统和软件)下工作。
什么是 E/cutils-trace、E/installd、E/libEGL、E/BandwidthController、E/android.os.Debug。 E/memtrack、E/Netd 等。它看起来像是不在 Windows 计算机上的文件系统中的文件。它们是 Android 设备操作系统上的文件吗???我相信这些错误消息来自模拟器,因为它们出现在“Android Monitor”选项卡中。
当我尝试按照某些人的建议运行我的应用程序之前尝试运行模拟器时,我不断收到另一个错误。
无法在模拟器中启动 AVD。输出:哈克斯已启用Hax ram_size 0x40000000libpng 警告:iCCP:已知不正确的 sRGB 配置文件HAX 正在工作,模拟器在快速 virt 模式下运行。libpng 警告:iCCP:已知不正确的 sRGB 配置文件libpng 警告:iCCP:已知不正确的 sRGB 配置文件libpng 警告:iCCP:已知不正确的 sRGB 配置文件libpng 警告:iCCP:已知不正确的 sRGB 配置文件libpng 警告:iCCP:已知不正确的 sRGB 配置文件libpng 警告:iCCP:已知不正确的 sRGB 配置文件qemu-system-i386.exe:-drive if=none,index=1,id=cache,file=C:\Users\arbian33.android\avd\Nexus_S_API_21.avd/cache.img:无法打开磁盘镜像C:\Users\arbian33.android\avd\Nexus_S_API_21.avd/cache.img:无法打开'C:\Users\xxxxxxxxxx.android\avd\Nexus_S_API_21.avd/cache.img':参数无效
我在 IT 领域工作了 30 多年,从未见过在默认安装和简单的“Hello World”程序中出现这样的情况。
关于java - 无法让 Android studio 在模拟器上运行应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41862986/
我是 C 语言新手,我编写了这个 C 程序,让用户输入一年中的某一天,作为返回,程序将输出月份以及该月的哪一天。该程序运行良好,但我现在想简化该程序。我知道我需要一个循环,但我不知道如何去做。这是程序
我一直在努力找出我的代码有什么问题。这个想法是创建一个小的画图程序,并有红色、绿色、蓝色和清除按钮。我有我能想到的一切让它工作,但无法弄清楚代码有什么问题。程序打开,然后立即关闭。 import ja
我想安装screen,但是接下来我应该做什么? $ brew search screen imgur-screenshot screen
我有一个在服务器端工作的 UDP 套接字应用程序。为了测试服务器端,我编写了一个简单的 python 客户端程序,它发送消息“hello world how are you”。服务器随后应接收消息,将
我有一个 shell 脚本,它运行一个 Python 程序来预处理一些数据,然后运行一个 R 程序来执行一些长时间运行的任务。我正在学习使用 Docker 并且我一直在运行 FROM r-base:l
在 Linux 中。我有一个 c 程序,它读取一个 2048 字节的文本文件作为输入。我想从 Python 脚本启动 c 程序。我希望 Python 脚本将文本字符串作为参数传递给 c 程序,而不是将
对于一个类,我被要求编写一个 VHDL 程序,该程序接受两个整数输入 A 和 B,并用 A+B 替换 A,用 A-B 替换 B。我编写了以下程序和测试平台。它完成了实现和行为语法检查,但它不会模拟。尽
module Algorithm where import System.Random import Data.Maybe import Data.List type Atom = String ty
我想找到两个以上数字的最小公倍数 求给定N个数的最小公倍数的C++程序 最佳答案 int lcm(int a, int b) { return (a/gcd(a,b))*b; } 对于gcd,请查看
这个程序有错误。谁能解决这个问题? Error is :TempRecord already defines a member called 'this' with the same paramete
当我运行下面的程序时,我在 str1 和 str2 中得到了垃圾值。所以 #include #include #include using namespace std; int main() {
这是我的作业: 一对刚出生的兔子(一公一母)被放在田里。兔子在一个月大时可以交配,因此在第二个月的月底,每对兔子都会生出两对新兔子,然后死去。 注:在第0个月,有0对兔子。第 1 个月,有 1 对兔子
我编写了一个程序,通过对字母使用 switch 命令将十进制字符串转换为十六进制,但是如果我使用 char,该程序无法正常工作!没有 switch 我无法处理 9 以上的数字。我希望你能理解我,因为我
我是 C++ 新手(虽然我有一些 C 语言经验)和 MySQL,我正在尝试制作一个从 MySQL 读取数据库的程序,我一直在关注这个 tutorial但当我尝试“构建”解决方案时出现错误。 (我正在使
仍然是一个初学者,只是尝试使用 swift 中的一些基本函数。 有人能告诉我这段代码有什么问题吗? import UIKit var guessInt: Int var randomNum = arc
我正在用 C++11 编写一个函数,它采用 constant1 + constant2 形式的表达式并将它们折叠起来。 constant1 和 constant2 存储在 std::string 中,
我用 C++ 编写了这段代码,使用运算符重载对 2 个矩阵进行加法和乘法运算。当我执行代码时,它会在第 57 行和第 59 行产生错误,非法结构操作(两行都出现相同的错误)。请解释我的错误。提前致谢:
我是 C++ 的初学者,我想编写一个简单的程序来交换字符串中的两个字符。 例如;我们输入这个字符串:“EXAMPLE”,我们给它交换这两个字符:“E”和“A”,输出应该类似于“AXEMPLA”。 我在
我需要以下代码的帮助: 声明 3 个 double 类型变量,每个代表三角形的三个边中的一个。 提示用户为第一面输入一个值,然后 将用户的输入设置为您创建的代表三角形第一条边的变量。 将最后 2 个步
我是新来的,如果问题不好请见谅 任务:将给定矩阵旋转180度 输入: 1 4 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 输出: 16 15 14 13 12 11
我是一名优秀的程序员,十分优秀!