是的,所以我制作了一个沼泽标准的Hello world,以确保android可以正常工作。这是我第一次使用android,所以我设置了环境。我已经把这个程序写成了:http://developer.android.com/resources/tutorials/hello-world.html
但是当我运行这个程序时,模拟器会显示出时间和日期,而且是收费的。与教程中的图片完全不同。此外,模拟器也不同,尽管我假设这是因为我制作了AVD Android3.0。有人告诉我我需要做什么才能让Hello World出现吗?
发布于 2011-02-24 23:13:14
它可能就在锁定屏幕上。只需向上或向下滑动解锁,你的应用程序就会显示出来。
发布于 2011-06-01 17:51:29
我也有这个,这让我找到了这个帖子。
我将SDK版本字段留空。
[2011-06-01 21:46:23 - helloWorld] Uploading helloWorld.apk onto device 'emulator-5554'
[2011-06-01 21:46:23 - helloWorld] Installing helloWorld.apk...
[2011-06-01 21:46:45 - helloWorld] Success!
[2011-06-01 21:46:45 - helloWorld] Starting activity com.myhelloworld.MainAct on device emulator-5554
[2011-06-01 21:46:49 - helloWorld] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.myhelloworld/.MainAct }
[2011-06-01 21:47:47 - Emulator] emulator: emulator window was out of view and was recentred
[2011-06-01 21:47:47 - Emulator] 在这条消息之后,我等待模拟器启动,然后解锁它并看到它的主屏幕。几秒钟后,我的应用程序出现了。
发布于 2011-12-07 03:43:58
设置选项:
-noaudio -no-snapshot-load在……里面
Run->Run Configurations...->Target->Additional Emulator Command Line Options对我来说,这是可行的。
https://stackoverflow.com/questions/5106421
复制相似问题