Pixel launcher keeps stopping issue in Android 7.1.1 (API 25) emulator

旧街凉风 提交于 2019-12-02 22:01:46

Selecting emulated performance --> graphics:Software-GLES 2.0 option in AVD setting.Solves my problem.

EDIT

It seems like the issue is solved in Android Studio 2.2.3. If for some reason you still see this problem, the solution below works.

Original answer

I found a reasonable solution for now. The problem is mainly in the launcher, not the emulator itself. So installing a different launcher can fix the issue. I installed the GO launcher from here: http://www.appsapk.com/go-launcher-ex/

Just drag and drop the apk on the emulator and install it, then tell the OS to use it as default.

I am not sure if this specific apk is a legal copy of the apk, but anyway it solves the issue for me and there are many launchers out there

good luck.

clearing launcher app data may help

adb shell pm clear com.google.android.apps.nexuslauncher

I was able to fix this by turning off "App suggestions" in the Pixel Launcher Settings. You can open the settings panel with this command:

adb shell am start com.google.android.apps.nexuslauncher/.SettingsActivity

Some good suggestions above but I found out that it was crashing for me because the HAXM RAM specified was more than the AVD RAM.

I started getting the pixel launcher crash after I updated to the latest emulator version (26.1.2) and to the latest HAXM version (6.0.6). By default the HAXM RAM was set to 2GB and the RAM allocated to my virtual device was 1536MB. After I updated the HAXM RAM to 1GB I stopped getting the pixel launcher crashes.

To update the HAXM RAM you will need to run the HAXM installer again. Refer to this link HAXM configuration in android studio

it worked for me to simply clean the project

After one day of troubleshooting this issue, I just deleted the emulator and created another one with a different name. Now it working but still very slow. maybe I have to upgrade my laptop.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!