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

耗尽温柔 提交于 2019-12-03 08:19:50

问题


I have created an Emulator using android 7.1.1 (API 25) CPU X86. When I start the emulator its showing pixel launcher keeps stopping issue. I have checked with CPU x86_64 also but same issue.

Here is the screenshot:

Here is my details config:


回答1:


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




回答2:


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.




回答3:


clearing launcher app data may help

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



回答4:


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



回答5:


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




回答6:


it worked for me to simply clean the project




回答7:


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.



来源:https://stackoverflow.com/questions/40740367/pixel-launcher-keeps-stopping-issue-in-android-7-1-1-api-25-emulator

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