2013-03-14 96 views
0

我有一些空閒時間,並決定嘗試Android開發。應用程序加載但不運行

使用adt bundle將ADT加載到Windows 7中。 創建一個名爲FirstApp的空應用程序。

定義了一個名爲FirstApp的Android 4.2.2虛擬設備。 開始縮放設備大小。 從ADT屏幕中選擇「RUN」。 ....在控制檯上得到以下...

Android Launch! 
adb is running normally. 
Performing com.example.firstapp.MainActivity activity launch 
Automatic Target Mode: Preferred AVD 'firstapp' is available on emulator 'emulator-5554' 
Uploading FirstApp.apk onto device 'emulator-5554' 
Installing FirstApp.apk... 
Failed to install FirstApp.apk on device 'emulator-5554! 
(null) 
Launch canceled! 

我不知道下一步該怎麼做。

jim murray

+0

logcat是否包含這些行的其他內容? – DigCamara 2013-03-14 15:44:18

回答

1

退出所有模擬器並重新啓動項目! 窗口 - >首選項,然後它在Android的DDMS中,並把10000上的亞行連接,並嘗試重新啓動!

+0

@jim murray:如果我的回答問你的問題,請點擊我答案的V,它可以騙別人!謝謝 – clement 2013-03-15 09:30:36

相關問題