Android開發環境搭建

來源:互聯網
上載者:User

標籤:bsp   start   tin   details   could   https   建立   載入   ati   

Android Studio:

1. 下載Android Studio , 解壓縮到本地,vi bin/idea.property, 添加isable.android.first.run=true, 開啟 Andriood studio 歡迎介面

2. Configure->settings->http proxy 設定本地代理 mirrors.neusoft.edu.cn:80

3. 下載 Android SDK 最新版本  解壓縮到本地

4. 設定Android SDK liang 環境變數.

export ANDROID_HOME=/opt/Software/android-sdk
export PATH=${PATH}:${ANDROID_HOME}/tools

5. Configure -》Settings->SDK Manager 配置SDK PATH到第三部的目錄.

6. 開啟SDK Manager Standalone Console 選擇要載入的組建

開始學習 ReactNative方式:

https://facebook.github.io/react-native/docs/getting-started.html

1. 安裝 npm 和node 參照網上資源

2. npm install -g react-native-cli 安裝reactnative

3. react-native init HelloWorld2 建立工程

4. cd Hell

5. react-native run-android

一開始編譯的時候報錯

 Could not find com.android.support:appcompat-v7:23.0.1.

 

Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html

 

Android開發環境搭建

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.