建立第一個Android程序 HelloWorld

直接上圖: android

-----------------------------------華麗的分割線----------------------------------------------- eclipse

完成以後,若是預覽layout.xml文件時提示:
This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in
致使沒法正常預覽佈局文件,問題:SDK版本太高,ADT版本低。
解決辦法多種,我用的是更新ADT:
Click Help > Install New Software.
在Work with中, 輸入:
https://dl-ssl.google.com/android/eclipse/
根據提示完成安裝。
佈局

若是在更新中,提示下面的信息,直接肯定就能夠。
you are installing software that contains unsigned content.The authenticity or validity of this software cannot be established. Do you want to continue with the installation?
(警告:你正在安裝一個擁有未註冊內容的軟件。它的真實性和有效性(不能獲得保證)。只要下載的是正規的東西不是病毒,無視就好。) this

相關文章
相關標籤/搜索