書名: Mobile Test Automation with Appium作者名: Nishant Verma本章字數: 277字更新時間: 2021-07-02 20:34:40
Installing Android SDK (using Android command-line tool)
- Navigate to Android Studio page and download the Android Studio package (android-studio-bundle-xxx.xxxxx-windows.exe) for Windows (Link for Android Studio: https://developer.android.com/studio/index.html?hl=sk).
- Once downloaded, run the .exe and follow the install instructions:

- Click on Next >.
- Click on the I Agree button.
- Create a folder in C drive and name it android-sdk.
On the Configuration Settings Install Locations screen, choose the shown values for Android Studio and Android SDK:

- Click on Next.
- Finish the installation.
- Bring up the Windows program search box and type advanced system setting. Click on the View advanced system settings search result.
- On the system properties window, click on the Advanced tab and click on Environment Variables.
- Under the System variables section, click on New and add a variable name, ANDROID_HOME, and value, C:\Android-SDK.
- Under the System variables section, scroll to find PATH and click on edit. Add %ANDROID_HOME%\tools and %ANDROID_HOME%\platform-tools at the end.
- To create an Android Virtual Device, we need to follow these steps:
- Launch Android Studio from the installed programs on Windows.
- On the Android Studio home page, click on the Configure dropdown and select SDK Manager.
- Under SDK platform, choose the SDK platform you want to install, such as Android 5.1 (Lollipop), and select the checkbox.
- Click on Apply and confirm the installation.
- This will finish the installation of the new virtual device.
- Click on OK to close the popup.
- Follow the instructions here to set up the AVD on a Windows machine (https://developer.android.com/studio/run/managing-avds.html).
Once done, we can move on to the Node JS installation.
推薦閱讀
- GitLab Cookbook
- C語言程序設計實訓教程
- RTC程序設計:實時音視頻權威指南
- INSTANT CakePHP Starter
- Windows Presentation Foundation Development Cookbook
- JavaScript+Vue+React全程實例
- Mastering Google App Engine
- Python機器學習算法與實戰
- 網站構建技術
- 深度學習:Java語言實現
- Raspberry Pi Robotic Blueprints
- 從Excel到Python數據分析:Pandas、xlwings、openpyxl、Matplotlib的交互與應用
- WildFly Cookbook
- Java Hibernate Cookbook
- Learning Redux