91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

Android Studio -- Installation and useage

發布時間:2020-07-28 13:27:41 來源:網絡 閱讀:515 作者:xjhznick 欄目:移動開發

    下載安裝Android Studio

    Android Studio 中文社區

1.Install Android Studio

    Download Android Studio and Launch the downloaded EXE file.

    Needs JDK 6 or greater.

安裝JDK:

JAVA_HOME指明JDK安裝路徑,就是剛才安裝時的路徑C:\Program Files\Java\jdk1.8.0_05,此路徑下包括lib,bin,jre等文件夾(此變量最好設置,因為以后運行tomcat,eclipse,ant 等都需要使用此變量)
PATH

Path使得系統可以在任何路徑下識別java命令,設為:

%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin

CLASSPATH

CLASSPATH為java加載類(class or lib)路徑,只有類在classpath中,java命令才能識別,設為:

.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar

(要加.表示當前路徑) 
%JAVA_HOME%就是引用前面指定的JAVA_HOME。

    >javac -version

Android Studio -- Installation and useage

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。

  1. With the Android SDK Manager window open, select "Settings" in the left pane.

  2. On the right, in the "Misc" section, check the checkbox labeled "Force https://... sources to be fetched using http://..."

  3. Click Save & Apply.

B Adding New Sites

在第三方設備制造商的Android設備使用提供的第三方API庫,安裝他們的Android SDK add-on。如果SDK add-on repository 在他們的網站上,則在SDK Manager上添加他們的site:

  1. Select Available Packages in the left panel.

  2. 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.


Building Your First App

1.Creating an Android Project



    

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

招远市| 德阳市| 临猗县| 平安县| 望都县| 内黄县| 永定县| 阿勒泰市| 镶黄旗| 镇宁| 梓潼县| 兴国县| 基隆市| 阳谷县| 崇阳县| 京山县| 南汇区| 宜章县| 阿合奇县| 西林县| 遵化市| 西平县| 肇庆市| 白银市| 华蓥市| 方山县| 沙河市| 嘉兴市| 报价| 八宿县| 获嘉县| 德清县| 高雄市| 慈利县| 佛学| 荆州市| 瓦房店市| 玛多县| 准格尔旗| 天门市| 镇原县|