简体   繁体   English

从ADT运行Android应用程序失败

[英]running Android app from ADT fails

I am following this simple tutorial http://developer.android.com/training/basics/firstapp/building-ui.htmlhttp://developer.android.com/training/basics/firstapp/building-ui.html 我正在遵循这个简单的教程http://developer.android.com/training/basics/firstapp/building-ui.htmlhttp://developer.android.com/training/basics/firstapp/building-ui.html

When I view the graphical editor/wysiwug I see the correct thing. 当我查看图形编辑器/所见即所得时,我看到了正确的东西。 A screen with one input text and a button. 具有一个输入文本和一个按钮的屏幕。
But, when I run the app, I get a blank screen with the default Android buttons to the right. 但是,当我运行该应用程序时,出现空白屏幕,右侧是默认的Android按钮。
In the logs, I see: 在日志中,我看到:
(normal) (正常)

[2013-11-18 16:07:37 - hello] adb is running normally.
[2013-11-18 16:07:37 - hello] Performing com.example.hello.MainActivity activity launch
[2013-11-18 16:07:37 - hello] Automatic Target Mode: launching new emulator with compatible AVD 'AVD_for_Nexus_7_by_Google'
[2013-11-18 16:07:37 - hello] Launching a new emulator with Virtual Device 'AVD_for_Nexus_7_by_Google'

(error) (错误)

[2013-11-18 16:07:43 - Emulator] libGL error: failed to load driver: nouveau   
[2013-11-18 16:07:43 - Emulator] libGL error: Try again with LIBGL_DEBUG=verbose for more details.

Not sure if connected or not. 不知道是否连接。 What am I missing here? 我在这里想念什么? I installed ADT and then started following the tutorial. 我安装了ADT,然后开始按照本教程进行操作。

haha...All you have to do is, relax, sit back, wait 10 minutes. 哈哈...您所要做的就是放松,坐下,等待10分钟。
The virtual machine (Android emulator) takes loooong time to fully initialize. 虚拟机(Android模拟器)需要很长时间才能完全初始化。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM