Android模拟器Mac OSX挂在屏幕上显示'ANDROID_'

时间:2011-04-17 05:20:56

标签: android eclipse macos emulation

我已经阅读了很多Android模拟器没有加载的情况,我正在尝试确定是否有任何解决方案。

Waiting for HOME ('android.process.acore') to be launched...是eclipse控制台中记录的最后一项,以下日志记录在DDMS透视图的Logcat中似乎是无限循环重复...

04-17 00:11:29.431: DEBUG/AndroidRuntime(2525): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
04-17 00:11:29.431: DEBUG/AndroidRuntime(2525): CheckJNI is ON
04-17 00:11:29.551: DEBUG/AndroidRuntime(2525): --- registering native functions ---
04-17 00:11:29.581: WARN/dalvikvm(2525): ERROR: Unable to find decl for native Landroid/view/KeyCharacterMap;.get_native (III)C
04-17 00:11:29.581: WARN/dalvikvm(2525): ERROR: Unable to find decl for native Landroid/view/KeyCharacterMap;.getNumber_native (II)C
04-17 00:11:29.591: WARN/dalvikvm(2525): ERROR: Unable to find decl for native Landroid/view/KeyCharacterMap;.getMatch_native (II[CI)C
04-17 00:11:29.591: WARN/dalvikvm(2525): ERROR: Unable to find decl for native Landroid/view/KeyCharacterMap;.getDisplayLabel_native (II)C
04-17 00:11:29.591: WARN/dalvikvm(2525): ERROR: Unable to find decl for native Landroid/view/KeyCharacterMap;.getKeyData_native (IILandroid/view/KeyCharacterMap$KeyData;)Z
04-17 00:11:29.591: WARN/dalvikvm(2525): ERROR: Unable to find decl for native Landroid/view/KeyCharacterMap;.getKeyboardType_native (I)I
04-17 00:11:29.591: WARN/dalvikvm(2525): ERROR: Unable to find decl for native Landroid/view/KeyCharacterMap;.getEvents_native (I[C)[J
04-17 00:11:29.591: ERROR/JNIHelp(2525): RegisterNatives failed for 'android/view/KeyCharacterMap'
04-17 00:11:29.591: ERROR/AndroidRuntime(2525): Unable to register all android natives
04-17 00:11:29.612: INFO/ServiceManager(28): service 'media.audio_flinger' died
04-17 00:11:29.612: INFO/ServiceManager(28): service 'media.player' died
04-17 00:11:29.612: INFO/ServiceManager(28): service 'media.camera' died
04-17 00:11:29.612: INFO/ServiceManager(28): service 'media.audio_policy' died
04-17 00:11:30.081: INFO/(2526): ServiceManager: 0xacd0
04-17 00:11:30.081: DEBUG/AudioHardwareInterface(2526): setMode(NORMAL)
04-17 00:11:30.081: INFO/CameraService(2526): CameraService started: pid=2526
04-17 00:11:30.081: INFO/AudioFlinger(2526): AudioFlinger's thread 0xb3f0 ready to run

我不清楚我能做些什么才能完成这项工作,因为到目前为止我所尝试的一切都没有奏效,包括:

  1. 制作32位Java默认值
  2. 将-d32参数添加到android安装位置的tools目录中的DDMS文件中。
  3. 从终端运行模拟器
  4. 这些似乎都没有任何区别。

    如果有任何明显遗漏或我尚未尝试的解决方案,请告诉我。

2 个答案:

答案 0 :(得分:1)

您是否尝试使用“android”工具删除avd并重新创建它?它对我有用。

答案 1 :(得分:1)

经过三个月的实验,我终于通过在Android Studio的虚拟设备配置中的Marshmallow ARM EABA v7a标签中选择了Other Images来开始工作。

Tools&gt; Android&gt; AVD Manager&GT; + Create Virtual Device&GT; Choose Device&gt; Next&gt; Other Images

enter image description here