Mac OSX Android emulator hangs on screen with ANDROID_

I read a lot of cases where the Android emulator did not boot, and I'm trying to determine if there are any solutions.

Waiting for HOME ('android.process.acore') to be launched... is the last item logged in the eclipse console, and the following log Logcat repeated in what seems like an endless loop in Logcat in the DDMS perspective ...

 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 thread 0xb3f0 ready to run 

It is not clear to me what I can do to make this work, since everything I have tried so far has not worked, including:

  • Creating 32-bit Java by default
  • Adding the -d32 option to the DDMS file in the tool directory for the Android installation location.
  • Starting the emulator from the terminal

None of this matters.

Please let me know if there is something obvious that I missed, or solutions that I have not tried yet.

+6
source share
2 answers

Have you tried using the android tool to remove avd and recreate it? It worked for me.

+1
source

After three months of experimenting, I finally got the job by selecting the Marshmallow ARM EABA v7a in Other Images in the configuration of the Android Studio virtual device.

Tools > Android > AVD Manager > + Create Virtual Device > Choose Device > Next > Other Images

enter image description here

+1
source

Source: https://habr.com/ru/post/886079/


All Articles