2012-01-31 77 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