Installing Android Support Repository offline

前端 未结 6 1001
星月不相逢
星月不相逢 2021-01-30 17:18

I am trying to setup Android Studio + Android SDK on Linux. I was able to setup Android Studio and SDK Tools and other components except \"Android Support Repository\" (The down

6条回答
  •  春和景丽
    2021-01-30 17:55

    I ran into this problem for the version of Android 2.3.1 and the android_m2repository_r47 package.

    1. Download android_m2repository_r47.zip manually.
    2. Download xml - https://dl.google.com/android/repository/addon2-1.xml
    3. Copy this 2 files to %\Android Studio\plugins\sdk-updates\offline-repo\
    4. Modify addon2-1.xml: delete all "remotePackage" tags exclude tag with android_m2repository_r47
    5. In Android Studio need add new repository. As URL need to write path to your modificated %\Android Studio\plugins\sdk-updates\offline-repo\addon2-1.xml

提交回复
热议问题