1. 程式人生 > >android studio 代理設定

android studio 代理設定

During installation, Android Studio provides wizards and templates that verify your system requirements, such as the Java Development Kit (JDK) and available RAM, and configure default settings, such as an optimized default Android Virtual Device (AVD) emulation and updated system images. This document describes additional configuration settings you may want to use to customize your use of Android Studio.

Update channels

Android Studio provides four update channels to keep Android Studio up-to-date based on your code-level preference:

  • Canary channel: Canary builds provide bleeding edge releases, updated about weekly. While these builds do get tested, they are still subject to bugs, as we want people to see what's new as soon as possible. This is not recommended for production.
  • Dev channel: Dev builds are hand-picked older canary builds that survived the test of time. They are updated roughly bi-weekly or monthly.
  • Beta channel: Beta builds are used for beta-quality releases before a production release.
  • Stable channel: Used for stable, production-ready versions.

By default, Android Studio uses the Stable

 channel. Use File > Settings > Appearance & Behavior System Settings > Updates to change your channel setting.

主要說有四個升級選項,建議使用stable channel,

File > Settings > Appearance & Behavior System Settings > Updates

更改選項

Proxy Settings

Proxies serve as intermediary connection points between HTTP clients and web servers that add security and privacy to internet connections.

To support running Android Studio behind a firewall, set the proxy settings for the Android Studio IDE and the SDK Manager. Use the Android Studio IDE HTTP Proxy settings page to set the HTTP proxy settings for Android Studio. The SDK Manager has a separate HTTP Proxy settings page.

When running the Android Plugin for Gradle from the command line or on machines where Android Studio is not installed, such as continuous integration servers, set the proxy settings in the Gradle build file.

Note: After the initial installation of the Android Studio bundle, Android Studio can run with internet access or off-line. However, Android Studio requires an internet connection for Setup Wizard synchronization, 3rd-party library access, access to remote repositories, Gradle initialization and synchronization, and Android Studio version updates.

Setting up the Android Studio Proxy

Android Studio supports HTTP proxy settings so you can run Android Studio behind a firewall or secure network. To set the HTTP proxy settings in Android Studio:

  1. From the main menu choose File > Settings > Appearance & Behavior -- System Settings -- HTTP Proxy.
  2. In Android Studio, open the IDE Settings dialog.
  3. 設定ide http代理方法
    • On Windows and Linux, choose File > Settings > IDE Setting -- HTTP Proxy.
    • On Mac, choose Android Studio > Preferences > IDE Setting -- HTTP Proxy.
    The HTTP Proxy page appears.
  4. Select auto-detection to use an auto-configuration URL to configure the proxy settings or manual to enter each of the settings. For a detailed explanation of these settings, see HTTP Proxy.
  5. Click Apply to enable the proxy settings.

Android Plugin for Gradle HTTP proxy settings

When running the Android Plugin from the command line or on machines where Android Studio is not installed, set the Android Plugin for Gradle proxy settings in the Gradle build file.

相關推薦

android studio 代理設定

During installation, Android Studio provides wizards and templates that verify your system requirements, such as the Java Development Kit (JDK) and avail

Android Studio代理設定(SDK下載代理設定

為啥Android Studio有代理一說呢。比如我們要下載某個外掛,但是這個外掛又被tc牆了,所以這個時候需要翻牆才能安裝。翻牆其中的一種方式就是使用VPN,配置如下圖: 輸入VPN的IP和PORT就可以了。 這裡順便也提下關於下載SDK build tools或者SD

android studio代理 gradle代理設定

android studio代理 0x01 選單File, Settings 輸入”proxy”, 顯示出代理設定面板. gradle代理 0x01 shadowsocks s

Android Studio 常用設定

介面設定 預設的 Android Studio 為灰色介面,可以選擇使用炫酷的黑色介面。Settings --> Appearance --> Theme ,選擇 Darcula 主題即可。  

Android Studio設定形狀

<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android">     <solid androi

Android Studio主題設定、顏色背景配置

效果展示 匯入方式 下載主題—xxx.jar 注意:如果我們下載下來的jar名字如果有空格,一定要把空格去掉,同時檔案路徑中不要含有中文 選擇File—>Import Settings—>把剛才下載好的jar包匯入 重啟Android Studi

android studio 模板設定

註釋的模板設定 檔案頭部註釋設定 1.File->OtherSetting->Default Setting(快捷鍵 cmd+,)開啟Preferences. 2.Editor->File and code Templates。在File H

Android Studio設定了按鈕,開發到手機上,點開按鈕,卻發現沒有跳到下一個介面,而是閃退的原因

如果你在介面設定了按鈕,開發到手機上,點開按鈕,卻發現沒有跳到下一個介面,而是閃退。 原因是因為你沒有在左圖的xml檔案裡把結果的目標activity這3行寫進去。寫進去之後再重新下載到手機上,就可以了。

如何在Android Studio設定*md檔案開啟方式

最近在Android Studio中寫一些Demo的時候,會順便在裡面建立一個.md檔案用來進行Demo筆記的書寫。然而Android Studio不帶有markdown預覽功能,所以我就琢磨如何在Android Studio中點選對應檔案時,自動開啟對應的編輯

android studio 如何設定程式碼區域的背景色

android studio 中通過設定主題可以改變程式碼區域的背景色,有的時候我們設定完主題後發現程式碼區域的背景色不是我們想要的效果,這個時候可以直接修改程式碼區域的背景色。 首先,開啟設定s

Android Studio簡單設定(1.5.1版本)

1、設定程式碼提示不限制大小寫 2、設定開啟Studio不預設開啟上次最後關閉的Project 3、單行程式碼長度提示線 Android Studio編輯區域,在中部會有一條豎線。這條線是用以提醒

Android 上網代理設定(瀏覽器)

1、adb連線上target  adb kill-server  adb connect target-ip  adb shell  2、切換到資料庫檔案目錄   cd /data/data/com.

Ubuntu將Android Studio圖示設定至左側欄

ubuntu中預設的是gnome桌面,也可以為你的程式設定快捷方式 下載好androidstudio並且配置好環境後, echo $PATH /home/yyb/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/us

Android studio設定按鈕點選變色效果的方法

一、在drawable下新建一個xml 名字"test" 程式碼如下: <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.androi

無法在Android Studio設定斷點

有時候在android studio中設定了斷點,但是當連結裝置後,看到的卻是一個帶x的斷點, 此時連結上手機,也是沒法停在斷點的,真是急人啊!!! 根據斷點失敗的提示: Warning: No executable code found at line 482 in c

Android studio 初始設定

1.compiler 勾選 Make project automatically(only works while not running/debugging) 自動編譯 2.設定File Encodings 中的編碼 IED ENcoding,Pr

Android Studio 代理問題總結(Gradle代理,模擬器代理)

如果這個博文有什麼嚴重不足, 比如不符合標題啊, 或者質量太低應該刪除啊, 請在評論指出, 畢竟我不做安卓了 我使用的是linux環境 和 shadowsocks,用的是http代理而不是SOCKS5代理 僅僅在使用 AndroidStudio開發安卓應用的時

Android Studio App設定TextView文字內容大小顏色

設定TextView文字內容大小顏色 1.第一種方法在activity_main.xml李設定,Java檔案不用改: android:text="這裡是文字" android:textSize="字

Android Studio 簡單設定

常用設定 匯入匯出配置包(自己常用雲盤) 配置黑色主題和選單欄的字型和大小 匯入第三方主題 和匯入配置的方式一樣,該主題網站提供了各種各樣IDE的主題樣式。 上面網站下的主題我發現有時候註解的字型顏色很難辨認,所以我用的自帶主題。

Android Studio App設定Activity背景圖片

愛看美女網(我搞的網站,幫忙點開一下吧) 1.首先PC上要有一張png格式的圖片,複製它,注意圖片名字(只能含小寫字母a~z和數字0~9,".png“要小寫),貼上進drawable資料夾。 2.在activity_main.xml裡新增下面一句,注意新增位置,/dr