2012-01-31 71 views
0

我是新来创建Android应用程序。我一直使用Netbeans,所以我下载了一个插件,以及Android SDK。起初,我设立了AVD,一切似乎都很好。Neatbeans不运行Android项目

当我编译并运行我的项目时,我没有遇到任何错误,AVD运行并且虚拟环境在那里,但是我的项目没有。我无法让我的项目在AVD中运行。

我正在使用Netbeans 6.9.1。 我的Android SDK是2.3.3,API 10.

任何帮助将不胜感激。这可能与改变我的PATH变量有关吗?谢谢。

以下是我在控制台中获得的内容;

Gathering info for MyAndroidApp... 
Android SDK Tools Revision 16 
Project Target: Android 2.3.3 
API level: 10 
------------------ 
Resolving library dependencies: 
No library dependencies. 

------------------ 

WARNING: No minSdkVersion value set. Application will install on all Android versions. 
Creating output directories if needed... 
---------- 
Handling aidl files... 
No AIDL files to compile. 
---------- 
Handling RenderScript files... 
No RenderScript files to compile. 
---------- 
Handling Resources... 
Found Deleted Target File 
Generating resource IDs... 
Compiling 1 source file to C:\Users\Harry\Documents\IndianaJonesy\MyAndroidApp\bin\classes 
Found Deleted Target File 
Converting compiled files and external libraries into C:\Users\Harry\Documents\IndianaJonesy\MyAndroidApp\bin\classes.dex... 
Crunching PNG Files in source dir: C:\Users\Harry\Documents\IndianaJonesy\MyAndroidApp\res 
To destination dir: C:\Users\Harry\Documents\IndianaJonesy\MyAndroidApp\bin\res 
Crunched 0 PNG files to update cache 
Found Deleted Target File 
Creating full resource package... 
Found Deleted Target File 
Creating MyAndroidApp-debug-unaligned.apk and signing it with a debug key... 
Running zip align on final apk... 
Debug Package: C:\Users\Harry\Documents\IndianaJonesy\MyAndroidApp\bin\MyAndroidApp-debug.apk 
debug: 
Updating property file: C:\Users\Harry\Documents\IndianaJonesy\MyAndroidApp\bin\build.prop 
Updating property file: C:\Users\Harry\Documents\IndianaJonesy\MyAndroidApp\bin\build.prop 
Updating property file: C:\Users\Harry\Documents\IndianaJonesy\MyAndroidApp\bin\build.prop 
Updating property file: C:\Users\Harry\Documents\IndianaJonesy\MyAndroidApp\bin\build.prop 
BUILD SUCCESSFUL (total time: 3 seconds) 
+0

是你在日志文件中或在控制台的任何消息? – 2012-01-31 14:16:09

+1

我用** Eclipse IDE **来估计我的项目。 – 2012-01-31 14:24:44

回答

0

看来你必须做手工的应用程序的安装,如果你使用的是NetBeans IDE

读它here