[英]Don't see “Hello,Android” on emulator
I created Hello,Android application with TextView, not xml. 我用TextView而不是xml创建了Hello,Android应用程序。 When I run it I don't see "Hello,Android", only wallpaper.
当我运行它时,我看不到“ Hello,Android”,只有墙纸。 Any ideas, what is wrong?
有什么想法,怎么了?
It takes up to 2 minutes to have the run app rendered. 渲染运行应用最多需要2分钟。 Don't worry, just be patient.
别担心,请耐心等待。
You can leave the emulator running and run the app over and over again so it will not take that long after the first time. 您可以让仿真器继续运行,然后一次又一次地运行该应用程序,这样,在第一次之后就不需要那么长时间了。
I also found that starting the emulator from the command line is a lot faster, and you can just leave it running, and run the app from Eclipse; 我还发现从命令行启动仿真器要快得多,您可以保持它的运行状态,并从Eclipse运行该应用程序。 this way starting the app will not take long at all since your emulator has been running already.
通过这种方式启动应用程序将不会花费很长时间,因为您的模拟器已经在运行。
I hope above is helpful... 希望以上对您有所帮助...
I guess you are using Eclipse so the first question is Do you have an android phone connected to the computer? 我猜您正在使用Eclipse,因此第一个问题是您是否将android手机连接到计算机? If so the "Hello, Android"-program will hopefully be running on that.
如果是这样的话,“ Hello,Android”程序将有望在该程序上运行。
I had the same problem, and I gues I know why I couldnt see "Hello, Android". 我遇到了同样的问题,我想知道为什么我看不到“ Hello,Android”。 You just have to click on
您只需要点击
Hope this helps. 希望这可以帮助。
Lasantha Lasantha
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.