Java android emulator在通过netbeans运行时不显示任何内容

Java android emulator在通过netbeans运行时不显示任何内容,java,android,netbeans,avd,android-sdk-2.3,Java,Android,Netbeans,Avd,Android Sdk 2.3,我正在尝试运行我的第一个android hello world程序,我已经安装了android SDK并安装了所需的软件包,然后使用AVD管理器制作一个虚拟设备,然后在netbeans7.4中配置android和SDK。我在netbeans中创建了一个新的常规android项目,具有常规配置: 然后尝试在我使用AVD创建的设备上运行它,但只得到了结果: 这是调试结果 ant -f C:\\Users\\HP\\Documents\\NetBeansProjects\\haha debug A

我正在尝试运行我的第一个android hello world程序,我已经安装了android SDK并安装了所需的软件包,然后使用AVD管理器制作一个虚拟设备,然后在netbeans7.4中配置android和SDK。我在netbeans中创建了一个新的常规android项目,具有常规配置:

然后尝试在我使用AVD创建的设备上运行它,但只得到了结果:

这是调试结果

ant -f C:\\Users\\HP\\Documents\\NetBeansProjects\\haha debug
Android SDK Tools Revision 22.3.0
Installed at D:\Solace Android\Solace Data\adt-bundle-windows-x86_64-20130729\sdk
Project Name: haha
Project Type: Application
Using latest Build Tools: 19.0.0
Resolving Build Target for haha...
Project Target:   Android 4.4
API level:        19
WARNING: No minSdkVersion value set. Application will install on all Android versions.
----------
Creating output directories if needed...
Created dir: C:\Users\HP\Documents\NetBeansProjects\haha\bin
Created dir: C:\Users\HP\Documents\NetBeansProjects\haha\bin\res
Created dir: C:\Users\HP\Documents\NetBeansProjects\haha\bin\rsObj
Created dir: C:\Users\HP\Documents\NetBeansProjects\haha\bin\rsLibs
Created dir: C:\Users\HP\Documents\NetBeansProjects\haha\gen
Created dir: C:\Users\HP\Documents\NetBeansProjects\haha\bin\classes
Created dir: C:\Users\HP\Documents\NetBeansProjects\haha\bin\dexedLibs
----------
Resolving Dependencies for haha...
Library dependencies:
No Libraries
------------------
----------
Building Libraries with 'debug'...
No sub-builds to iterate on
Merging AndroidManifest files into one.
Manifest merger disabled. Using project manifest only.
Handling aidl files...
No AIDL files to compile.
----------
Handling RenderScript files...
----------
Handling Resources...
Generating resource IDs...
----------
Handling BuildConfig class...
Generating BuildConfig class.
Compiling 3 source files to C:\Users\HP\Documents\NetBeansProjects\haha\bin\classes
input: C:\Users\HP\Documents\NetBeansProjects\haha\bin\classes
Converting compiled files and external libraries into C:\Users\HP\Documents\NetBeansProjects\haha\bin\classes.dex...
Crunching PNG Files in source dir: C:\Users\HP\Documents\NetBeansProjects\haha\res
To destination dir: C:\Users\HP\Documents\NetBeansProjects\haha\bin\res
Processing image to cache: C:\Users\HP\Documents\NetBeansProjects\haha\res\drawable-hdpi\ic_launcher.png => C:\Users\HP\Documents\NetBeansProjects\haha\bin\res\drawable-hdpi\ic_launcher.png
  (processed image to cache entry C:\Users\HP\Documents\NetBeansProjects\haha\bin\res\drawable-hdpi\ic_launcher.png: 87% size of source)
Processing image to cache: C:\Users\HP\Documents\NetBeansProjects\haha\res\drawable-ldpi\ic_launcher.png => C:\Users\HP\Documents\NetBeansProjects\haha\bin\res\drawable-ldpi\ic_launcher.png
  (processed image to cache entry C:\Users\HP\Documents\NetBeansProjects\haha\bin\res\drawable-ldpi\ic_launcher.png: 0% size of source)
Processing image to cache: C:\Users\HP\Documents\NetBeansProjects\haha\res\drawable-mdpi\ic_launcher.png => C:\Users\HP\Documents\NetBeansProjects\haha\bin\res\drawable-mdpi\ic_launcher.png
  (processed image to cache entry C:\Users\HP\Documents\NetBeansProjects\haha\bin\res\drawable-mdpi\ic_launcher.png: 78% size of source)
Processing image to cache: C:\Users\HP\Documents\NetBeansProjects\haha\res\drawable-xhdpi\ic_launcher.png => C:\Users\HP\Documents\NetBeansProjects\haha\bin\res\drawable-xhdpi\ic_launcher.png
  (processed image to cache entry C:\Users\HP\Documents\NetBeansProjects\haha\bin\res\drawable-xhdpi\ic_launcher.png: 85% size of source)
Crunched 4 PNG files to update cache
Creating full resource package...
Current build type is different than previous build: forced apkbuilder run.
Creating haha-debug-unaligned.apk and signing it with a debug key...
Running zip align on final apk...
Debug Package: C:\Users\HP\Documents\NetBeansProjects\haha\bin\haha-debug.apk
Creating new property file: C:\Users\HP\Documents\NetBeansProjects\haha\bin\build.prop
Updating property file: C:\Users\HP\Documents\NetBeansProjects\haha\bin\build.prop
Updating property file: C:\Users\HP\Documents\NetBeansProjects\haha\bin\build.prop
Updating property file: C:\Users\HP\Documents\NetBeansProjects\haha\bin\build.prop
debug:
BUILD SUCCESSFUL (total time: 12 seconds)

检查你的电脑规格。AVD真的很慢而且很重,所以启动Android需要很多时间(i7 3610qm和8GB ram运行linux,启动需要3分钟,一旦启动就非常缓慢)


试着用运行Android,它是一款类似AVD的Android虚拟设备,但在我看来,它工作得更好,速度更快。

检查您的电脑规格。AVD真的很慢而且很重,所以启动Android需要很多时间(i7 3610qm和8GB ram运行linux,启动需要3分钟,一旦启动就非常缓慢)


试着用运行Android,它是一款类似AVD的Android虚拟设备,但在我看来,它工作得更好,速度更快。

你的电脑规格是什么?AVD真的很慢而且很重,所以启动android需要很多时间(i7 3610qm和8GB ram运行linux,启动需要3分钟),你能试着使用吗?我正在用一台低规格的笔记本电脑、2M内存和core2due处理器来做这件事,这可能是原因。如果你愿意,你可以尝试使用Bluestack,这确实比AVDwell快得多,我会试试的,谢谢anywhere@BackSlash非常感谢,它与Bluestack完美配合。您的电脑规格是什么?AVD真的很慢而且很重,所以启动android需要很多时间(i7 3610qm和8GB ram运行linux,启动需要3分钟),你能试着使用吗?我正在用一台低规格的笔记本电脑、2M内存和core2due处理器来做这件事,这可能是原因。如果你愿意,你可以尝试使用Bluestack,这确实比AVDwell快得多,我会试试的,谢谢anywhere@BackSlash非常感谢,它与蓝钉完美搭配