我的問題是,我永遠無法在模擬器或真實設備中運行我的android應用程序。Android應用程序運行失敗
我已經日食太陽神作爲
Eclipse IDE for Java Developers
Version: Helios Service Release 2
Build id: 20110301-1815
(c) Copyright Eclipse contributors and others 2000, 2011. All rights reserved.
Visit http://eclipse.org/
This product includes software developed by the
Apache Software Foundation http://apache.org/
最新的SDK和AVD適當配置。但是,這個問題是在創建應用程序時。 我請按照下列步驟
1) File > New > Android Application Project
Here a diaglog box appears where I put application name etc, The finish button is disabled in this step.
2)On clicking next the "Configure Launcher Icon" dialog appears, here too the finish button is disabled
3) In the third step "Create activity" dialog appears, here also the "Finish" button is disabled.
I select "blank activity" from the list box and click next
4) On the fourth step "New blank Activity" dialog box appears as shown in the figure.
在分層父字段中輸入的東西后,完成按鈕被激活。點擊完成後,創建應用程序框架。
現在,當我運行應用程序,我面向兩個問題 1)有時說有在項目中的錯誤,並要求修復 2)如果它運行時,會出現仿真器和避談應用正在運行。
我下載了apk文件並安裝在我的Samsung Galaxy S2中,但打開/運行按鈕在此處被禁用。
您是否遵循了在android的hello world教程的所有步驟? http://developer.android.com/training/basics/firstapp/index.html – mrucci 2012-08-08 12:04:56
@mrucci,是的,但沒有關於我在圖片中顯示的最後一個對話框。 – 2012-08-08 12:12:38
其他人也有同樣的問題。看來你必須更新eclipse:http://stackoverflow.com/questions/11717294/hierarchical-parent-error-when-create-new-android-project – mrucci 2012-08-08 12:46:09