gpt4 book ai didi

安卓模拟器 : Unfortunately Launcher has stopped

转载 作者:行者123 更新时间:2023-11-29 14:14:13 24 4
gpt4 key购买 nike

自上次更新我的 Android Studio 和我的 SDK 包以来,每当我启动模拟器时都会收到此错误。请检查下面的屏幕截图。

enter image description here

我的 logcat 将这些报告为错误语句:

06-11 05:18:22.906  15313-15328/com.android.launcher E/dalvikvm-heap﹕ Out of memory on a 88955584-byte allocation.
06-11 05:18:22.956 15313-15328/com.android.launcher E/AndroidRuntime﹕ FATAL EXCEPTION: launcher-loader
Process: com.android.launcher, PID: 15313
java.lang.OutOfMemoryError
at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:587)
at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:422)
at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:840)
at android.content.res.Resources.loadDrawable(Resources.java:2115)
at android.content.res.Resources.getDrawableForDensity(Resources.java:755)
at com.android.launcher2.IconCache.getFullResIcon(IconCache.java:74)
at com.android.launcher2.IconCache.getFullResIcon(IconCache.java:113)
at com.android.launcher2.IconCache.getFullResIcon(IconCache.java:98)
at com.android.launcher2.IconCache.cacheLocked(IconCache.java:213)
at com.android.launcher2.IconCache.getTitleAndIcon(IconCache.java:155)
at com.android.launcher2.ApplicationInfo.<init>(ApplicationInfo.java:88)
at com.android.launcher2.LauncherModel$LoaderTask.loadAllAppsByBatch(LauncherModel.java:1928)
at com.android.launcher2.LauncherModel$LoaderTask.loadAndBindAllApps(LauncherModel.java:1820)
at com.android.launcher2.LauncherModel$LoaderTask.run(LauncherModel.java:1134)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.os.HandlerThread.run(HandlerThread.java:61)

我尝试过的东西:1.删​​除模拟器并重新创建它。2. 我在 StackOverFlow 上找到了一些关于硬件 key 的答案。也这样做了。

最佳答案

我遇到了同样的问题问题是我在不支持不同的可绘制对象上使用图像屏幕大小作为应用程序图标,所以我更改为 android studio 的默认图标并重建应用程序,它现在可以工作了 enter image description here

关于安卓模拟器 : Unfortunately Launcher has stopped,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30776658/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com