简体   繁体   English

在模拟器上看不到“ Hello,Android”

[英]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 您只需要点击

  1. "Home" Icon in the emulator 模拟器中的“主页”图标
  2. Select applications icon at the bottom of emulator desktop. 选择模拟器桌面底部的应用程序图标。
  3. Lauch the helloAndroid application to see the message. 启动helloAndroid应用程序以查看消息。

Hope this helps. 希望这可以帮助。

Lasantha Lasantha

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我正在努力使单声道android简单的“你好世界”,但我没有在模拟器中看到“你好世界”为什么? - I'm trying to make mono android simple “hello world” but I don't see “hello world” in the emulator why? 运行 Android Studio 模拟器时看不到我的应用 - Don't see my app when running Android Studio emulator Android看不到ActionBarDrawerToggle - Android don't see ActionBarDrawerToggle Android 模拟器不会在 Android Studio 中关闭(我在 AVD Manager 的“操作”选项卡下没有看到“停止”) - Android emulator won't shut down in Android Studio (I don't see "Stop" under the Actions Tab of AVD Manager) Android 带有 Flutter 的 Studio 看不到模拟器 - Android Studio with Flutter doesn't see emulator 我看不到 Android Studio 模拟器 - I can't see Android Studio Emulator 在模拟器中看不到应用程序(带有Android的netbeans) - can't see app in emulator (netbeans with android) Phonegap“你好世界”应用程序将无法在Android模拟器中启动? - Phonegap “hello world” app won't launch in android emulator? Android应用程序无法在设备或模拟器上运行吗? - Android app don't run on the device or emulator? 模拟器android不要在流星上启动 - Emulator android don’t start on meteor
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM