下載安裝Android Studio
創(chuàng)新互聯(lián)服務(wù)項(xiàng)目包括烏當(dāng)網(wǎng)站建設(shè)、烏當(dāng)網(wǎng)站制作、烏當(dāng)網(wǎng)頁(yè)制作以及烏當(dāng)網(wǎng)絡(luò)營(yíng)銷策劃等。多年來,我們專注于互聯(lián)網(wǎng)行業(yè),利用自身積累的技術(shù)優(yōu)勢(shì)、行業(yè)經(jīng)驗(yàn)、深度合作伙伴關(guān)系等,向廣大中小型企業(yè)、政府機(jī)構(gòu)等提供互聯(lián)網(wǎng)行業(yè)的解決方案,烏當(dāng)網(wǎng)站推廣取得了明顯的社會(huì)效益與經(jīng)濟(jì)效益。目前,我們服務(wù)的客戶以成都為中心已經(jīng)輻射到烏當(dāng)省份的部分城市,未來相信會(huì)繼續(xù)擴(kuò)大服務(wù)區(qū)域并繼續(xù)獲得客戶的支持與信任!
Android Studio 中文社區(qū)
1.Install Android Studio
Download Android Studio and Launch the downloaded EXE file.
Needs JDK 6 or greater.
安裝JDK:
JAVA_HOME | 指明JDK安裝路徑,就是剛才安裝時(shí)的路徑C:\Program Files\Java\jdk1.8.0_05,此路徑下包括lib,bin,jre等文件夾(此變量最好設(shè)置,因?yàn)橐院筮\(yùn)行tomcat,eclipse,ant 等都需要使用此變量) |
PATH | Path使得系統(tǒng)可以在任何路徑下識(shí)別java命令,設(shè)為: %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin |
CLASSPATH | CLASSPATH為java加載類(class or lib)路徑,只有類在classpath中,java命令才能識(shí)別,設(shè)為: .;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar (要加.表示當(dāng)前路徑) |
>javac -version
2.Adding SDK Packages
Android SDK Manger: Tools > Android > SDK Manager(From Android Studio)
3.Recommended Packages:
1)SDK Tools(Required): Keep this up to date.
2)SDK Platform-tools(Required): Must install this package when first install the SDK.
3)SDK Platform(Required): Recommend use the latest version as your build target. To run your app on older version, you must build against the latest version in order.
Get to know minSDKversion vs. Build Target, refer to uses-sdk-element <uses-sdk>
What API level should I target?
4)System Image(Recommended):Using the Emulator
It is recommended to download system p_w_picpaths of all versions of Andorid your app supports and test your app running on them with the emulator.
5)Android Support(Recommended): Includes a static library that supports older versions.
6)SDK Samples(Recommended): The source code you can use to learn about Android or reuse in your own app. One sample package for one Android platform version.
Tip: For easy access to the SDK tools from a command line, add the location of the SDK's tools/ and platform-tools to your PATH environment variable.
附:
A Problems connecting to the SDK repository
使用SDK Manager下載packages遇到connection problem,可以使用http代替https。
With the Android SDK Manager window open, select "Settings" in the left pane.
On the right, in the "Misc" section, check the checkbox labeled "Force https://... sources to be fetched using http://..."
Click Save & Apply.
B Adding New Sites
在第三方設(shè)備制造商的Android設(shè)備使用提供的第三方API庫(kù),安裝他們的Android SDK add-on。如果SDK add-on repository 在他們的網(wǎng)站上,則在SDK Manager上添加他們的site:
Select Available Packages in the left panel.
Click Add Add-on Site and enter the URL of the repository.xml
file. Click OK.
Any SDK packages available from the site will now be listed under a new item named User Add-ons.
1.Creating an Android Project
本文標(biāo)題:AndroidStudio--Installationanduseage
本文網(wǎng)址:http://www.chinadenli.net/article16/jogegg.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供域名注冊(cè)、定制開發(fā)、網(wǎng)站設(shè)計(jì)公司、外貿(mào)網(wǎng)站建設(shè)、用戶體驗(yàn)、網(wǎng)站建設(shè)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)