zoukankan      html  css  js  c++  java
  • Ubuntu 20.04 安装 Android Studio

    install via snapd

    sudo snap install android-studio --classic
    

    finish

    Preparing "Install SDK Patch Applier v4 (revision: 1)".
    Downloading https://dl.google.com/android/repository/3534162-studio.sdk-patcher.zip
    "Install SDK Patch Applier v4 (revision: 1)" ready.
    Installing SDK Patch Applier v4 in /home/kasumi/Android/Sdk/patcher/v4
    "Install SDK Patch Applier v4 (revision: 1)" complete.
    "Install SDK Patch Applier v4 (revision: 1)" finished.
    Preparing "Install Android Emulator (revision: 30.4.5)".
    Downloading https://dl.google.com/android/repository/emulator-linux_x64-7140946.zip
    "Install Android Emulator (revision: 30.4.5)" ready.
    Installing Android Emulator in /home/kasumi/Android/Sdk/emulator
    "Install Android Emulator (revision: 30.4.5)" complete.
    "Install Android Emulator (revision: 30.4.5)" finished.
    Preparing "Install Android SDK Platform-Tools (revision: 31.0.0)".
    Downloading https://dl.google.com/android/repository/platform-tools_r31.0.0-linux.zip
    "Install Android SDK Platform-Tools (revision: 31.0.0)" ready.
    Installing Android SDK Platform-Tools in /home/kasumi/Android/Sdk/platform-tools
    "Install Android SDK Platform-Tools (revision: 31.0.0)" complete.
    "Install Android SDK Platform-Tools (revision: 31.0.0)" finished.
    Preparing "Install Android SDK Tools (revision: 26.1.1)".
    Downloading https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip
    "Install Android SDK Tools (revision: 26.1.1)" ready.
    Installing Android SDK Tools in /home/kasumi/Android/Sdk/tools
    "Install Android SDK Tools (revision: 26.1.1)" complete.
    "Install Android SDK Tools (revision: 26.1.1)" finished.
    Preparing "Install Sources for Android 30 (revision: 1)".
    Downloading https://dl.google.com/android/repository/sources-30_r01.zip
    "Install Sources for Android 30 (revision: 1)" ready.
    Installing Sources for Android 30 in /home/kasumi/Android/Sdk/sources/android-30
    "Install Sources for Android 30 (revision: 1)" complete.
    "Install Sources for Android 30 (revision: 1)" finished.
    Preparing "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)".
    Downloading https://dl.google.com/android/repository/build-tools_r30.0.3-linux.zip
    "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" ready.
    Installing Android SDK Build-Tools 30.0.3 in /home/kasumi/Android/Sdk/build-tools/30.0.3
    "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" complete.
    "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" finished.
    Preparing "Install Google APIs Intel x86 Atom System Image (revision: 9)".
    Downloading https://dl.google.com/android/repository/sys-img/google_apis/x86-30_r09.zip
    "Install Google APIs Intel x86 Atom System Image (revision: 9)" ready.
    Installing Google APIs Intel x86 Atom System Image in /home/kasumi/Android/Sdk/system-images/android-30/google_apis/x86
    "Install Google APIs Intel x86 Atom System Image (revision: 9)" complete.
    "Install Google APIs Intel x86 Atom System Image (revision: 9)" finished.
    Preparing "Install Android SDK Platform 30 (revision: 3)".
    Downloading https://dl.google.com/android/repository/platform-30_r03.zip
    "Install Android SDK Platform 30 (revision: 3)" ready.
    Installing Android SDK Platform 30 in /home/kasumi/Android/Sdk/platforms/android-30
    "Install Android SDK Platform 30 (revision: 3)" complete.
    "Install Android SDK Platform 30 (revision: 3)" finished.
    Parsing /home/kasumi/Android/Sdk/build-tools/30.0.3/package.xml
    Parsing /home/kasumi/Android/Sdk/emulator/package.xml
    Parsing /home/kasumi/Android/Sdk/patcher/v4/package.xml
    Parsing /home/kasumi/Android/Sdk/platform-tools/package.xml
    Parsing /home/kasumi/Android/Sdk/platforms/android-30/package.xml
    Parsing /home/kasumi/Android/Sdk/sources/android-30/package.xml
    Parsing /home/kasumi/Android/Sdk/system-images/android-30/google_apis/x86/package.xml
    Parsing /home/kasumi/Android/Sdk/tools/package.xml
    Android SDK is up to date.
    Creating Android virtual device
    Android virtual device Pixel_3a_API_30_x86 was successfully created
    

    enable KVM

    see: https://developer.android.com/studio/run/emulator-acceleration?utm_source=android-studio#vm-linux

    $ kvm-ok
    
  • 相关阅读:
    【hihocoder】1237 : Farthest Point 微软2016校招在线笔试题
    POJ 1061青蛙的约会。求解(x+mT)%L=(y+nT)%L的最小步数T。
    Gym 100633G Nano alarm-clocks
    shell script 的追踪与 debug
    vim使用心得
    Linux修改vimrc配置文件,让vi更贴心
    shell script中的case……esac判断
    stl容器区别: vector list deque set map-底层实现
    const对象为什么可以在头文件中定义
    shell script中的syntax error near unexpected token `then' 问题
  • 原文地址:https://www.cnblogs.com/develon/p/14495030.html
Copyright © 2011-2022 走看看