- Mobile Test Automation with Appium
- Nishant Verma
- 214字
- 2021-07-02 20:34:37
Installing Android SDK (using the Android command-line tool)
- Navigate to the Android Studio page and download the command-line tools (for more information visit this link: https://developer.android.com/studio/index.html?hl=sk).
- Once downloaded, extract the same in a folder of your choice.
- Rename the extracted file, for your convenience, to Android SDK.
- Android SDK contains only the basic SDK tools and does not contain any platform or library; we need to download the same before we start using it:
- Launch the terminal and navigate to the folder where the ZIP file was extracted. In the terminal, type android and press enter.
- Android SDK Manager will start with a new window.
- Select one of the android platform Android 7.0 (API 24) and choose the given packages: ARM EABI v7a System Image, Intel x86 Atom System Image, and SDK Platform.
- Under the Tools section, select Android SDK, Android SDK Platform-tools, and Android SDK Build-tools.
- Under the Extra section, select Google Play Services.
- Open the .bash_profile file and enter the following lines at the bottom:
export ANDROID_HOME={YOUR_PATH}
export PATH=$PATH:$ANDROID_HOME/tools:
$ANDROID_HOME/platform-tools
- Save the file and run this command:
source ~/.bash_profile
Run the next command to check whether the Android home is set properly:
echo $ANDROID_HOME
推薦閱讀
- Advanced Splunk
- HTML5+CSS3+JavaScript從入門到精通:上冊(微課精編版·第2版)
- Qt 5 and OpenCV 4 Computer Vision Projects
- C語言程序設(shè)計(jì)(第2 版)
- YARN Essentials
- Spring Boot Cookbook
- 大模型RAG實(shí)戰(zhàn):RAG原理、應(yīng)用與系統(tǒng)構(gòu)建
- RISC-V體系結(jié)構(gòu)編程與實(shí)踐(第2版)
- R Data Analysis Cookbook(Second Edition)
- 青少年信息學(xué)競賽
- Visual Basic程序設(shè)計(jì)教程
- 區(qū)塊鏈技術(shù)進(jìn)階與實(shí)戰(zhàn)(第2版)
- Vue.js 3應(yīng)用開發(fā)與核心源碼解析
- UX Design for Mobile
- Mastering ASP.NET Core 2.0