Android组建 - 模拟器停留在Android开机logo模拟器、停留在、Android、logo

2023-09-07 17:11:47 作者:緈褔dē承諾

我是为几天了Android构建系统实验。我可以在这里成功下载并建立了系统的描述。我建的主分支。

I was experimenting with the Android build system for couple of days. I could download and build the system successfully as described here. I built the master branch.

而不是运行仿真器命令单独我用给的参数命令这里。仿真器窗口中启动和显示的机器人的标志,但它卡在那里。我离开它近1小时也它看起来像某种启动循环的输入。当检查logcat的我能找到一些连接失败日志像下面。

Instead of running emulator command alone I used the command with the parameters given here. The emulator window launched and shown the "android" logo, but it stuck there. I left it for almost 1 hour but it looked like entered in to some kind of boot loop. When checked the logcat I could find some "connection failed" logs like below.

I/PackageManager(  283): /system/app/Launcher2.apk changed; collecting certs
D/dalvikvm(  283): GC_CONCURRENT freed 460K, 36% free 5704K/8808K, paused 15ms+24ms, total 170ms
I/Installer(  283): connecting...
I/Installer(  283): disconnecting...
E/Installer(  283): connection failed
I/PackageManager(  283): /system/app/LiveWallpapers.apk changed; collecting certs
D/dalvikvm(  283): GC_CONCURRENT freed 1182K, 43% free 5049K/8808K, paused 6ms+9ms, total 125ms
I/Installer(  283): connecting...
I/Installer(  283): disconnecting...
E/Installer(  283): connection failed
I/PackageManager(  283): /system/app/LiveWallpapersPicker.apk changed; collecting certs
I/Installer(  283): connecting...
I/Installer(  283): disconnecting...
E/Installer(  283): connection failed
I/PackageManager(  283): /system/app/MagicSmokeWallpapers.apk changed; collecting certs
I/Installer(  283): connecting...
I/Installer(  283): disconnecting...
E/Installer(  283): connection failed
I/PackageManager(  283): /system/app/MediaProvider.apk changed; collecting certs
I/Installer(  283): connecting...
I/Installer(  283): disconnecting...
E/Installer(  283): connection failed

这些消息都显示,几乎所有的APK,并继续在一个循环。该系统具有网络连接,但不知何故未能模拟器连接到网络,我认为。

These messages are showing for almost all APK and continues in a loop. The system have internet access but somehow emulator fails to connect to network I think.

任何可能的解决方法?

更新:30/09 在构建后不久运行模拟器命令,也不能工作。我没有显示Android标志都没有。

Update:30/09 Running the emulator command soon after the build, didn't work either. I's not showing the android logo at all.

推荐答案

设置您的RAM大小为 512 MB 并启动仿真器

set your ram size to 512 mb and start the emulator