久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

Eclipse 錯誤,“無法啟動選擇,并且最近沒有啟動

Eclipse error, quot;The selection cannot be launched, and there are no recent launchesquot;(Eclipse 錯誤,“無法啟動選擇,并且最近沒有啟動)
本文介紹了Eclipse 錯誤,“無法啟動選擇,并且最近沒有啟動"的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我剛開始 Android 編程,所以下載了 Eclipse 并開始使用.

I have just started Android programming so downloaded Eclipse and got started.

從這里按照教程創建了我的第一個項目:http://developer.android.com/training/basics/firstapp/creating-project.html#CommandLine

Created my first project following tutorial from here: http://developer.android.com/training/basics/firstapp/creating-project.html#CommandLine

當我在下一課從這里運行該應用程序時:http://developer.android.com/training/basics/firstapp/running-app.html

And when I was on next lesson to run that application from here: http://developer.android.com/training/basics/firstapp/running-app.html

我照他們說的做了.通過 USB 連接我的設備,也啟用了 USB 調試,但是當我在 Eclipse 上單擊運行時,出現上述錯誤.

I did as they said. Connected my device via USB, enabled USB debugging too, but when I clicked Run on eclipse, got the above error.

我做錯了什么?

推薦答案

Eclipse 無法計算出您想要運行的內容,并且由于您之前沒有運行過任何內容,因此它也無法嘗試重新運行.

Eclipse can't work out what you want to run and since you've not run anything before, it can't try re-running that either.

不要單擊綠色的運行"按鈕,而是單擊它旁邊的下拉菜單并選擇運行配置.在 Android 選項卡上,確保將其設置為您的項目.在目標"選項卡中,根據您的設備設置相應的復選框和選項.然后單擊運行.密切注意 Eclipse 中的 Console 選項卡——它會讓你知道發生了什么.設置好運行配置后,下次只需點擊綠色的運行"按鈕即可.

Instead of clicking the green 'run' button, click the dropdown next to it and chose Run Configurations. On the Android tab, make sure it's set to your project. In the Target tab, set the tick box and options as appropriate to target your device. Then click Run. Keep an eye on your Console tab in Eclipse - that'll let you know what's going on. Once you've got your run configuration set, you can just hit the green 'run' button next time.

有時,讓所有內容都與您的設備通信可能會出現問題.考慮使用 AVD(即模擬器)作為替代方案,至少在遇到問題時開始.您可以從 Eclipse 中的菜單 Window -> Android Virtual Device Manager 輕松創建一個.

Sometimes getting everything to talk to your device can be problematic to begin with. Consider using an AVD (i.e. an emulator) as alternative, at least to begin with if you have problems. You can easily create one from the menu Window -> Android Virtual Device Manager within Eclipse.

要查看您的項目在您的設備上安裝和啟動的進度,請檢查控制臺.它是 Eclipse 中的一個面板,帶有標簽 Problems/Javadoc/Declaration/Console/LogCat 等.它可以被最小化 - 檢查右下角的托盤.或者只是使用菜單中的 Window/Show View/Console 使其位于最前面.有兩個控制臺,Android 和 DDMS - 其圖標旁邊有一個下拉菜單,您可以在其中切換.

To view the progress of your project being installed and started on your device, check the console. It's a panel within Eclipse with the tabs Problems/Javadoc/Declaration/Console/LogCat etc. It may be minimised - check the tray in the bottom right. Or just use Window/Show View/Console from the menu to make it come to the front. There are two consoles, Android and DDMS - there is a dropdown by its icon where you can switch.

這篇關于Eclipse 錯誤,“無法啟動選擇,并且最近沒有啟動"的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Why would you choose Android API over Google APIs in the SDK on Eclipse?(為什么在 Eclipse 的 SDK 中選擇 Android API 而不是 Google API?)
Couchbase Bucket authentication error(Couchbase 存儲桶身份驗證錯誤)
admob 6.2.1 nullpointer exception(admob 6.2.1 空指針異常)
How to setup SDK in IntelliJ IDEA?(如何在 IntelliJ IDEA 中設置 SDK?)
My phone cannot be detected in eclipse to test run(eclipse 無法檢測到我的手機進行試運行)
platform-toolsaapt.exe directory missing in android SDK(android SDK 中缺少 platform-toolsaapt.exe 目錄)
主站蜘蛛池模板: 一区二区在线看 | 国产色视频网站 | 欧美一级片在线看 | 中文字幕一区二区三区四区五区 | 久久国产精品一区二区三区 | 91中文视频 | 亚洲欧美日韩精品久久亚洲区 | 美日韩精品 | 超碰成人免费 | 97精品超碰一区二区三区 | 特a毛片 | 日韩中文字幕在线观看视频 | 亚洲精品视频在线看 | 99久久久久| 亚洲国产精品va在线看黑人 | 久久夜视频 | 国产原创视频 | 精品中文在线 | 亚洲福利免费 | 妹子干综合 | 天天爽夜夜爽精品视频婷婷 | 国产美女一区 | 久久久久亚洲精品 | 亚洲精品一区二三区不卡 | 亚洲日本欧美日韩高观看 | 亚洲精品中文字幕在线 | 成人特级毛片 | 国产福利小视频 | av香蕉| 中文字幕av网站 | 99精品视频一区二区三区 | 亚洲网站免费看 | 九九久久在线看 | 国产免费一区二区三区免费视频 | 日韩激情在线 | 欧美日韩国产一区二区三区 | 性一爱一乱一交一视频 | 色婷婷精品久久二区二区蜜臂av | 伊人久久综合 | 97精品国产 | 婷婷毛片|