# 軟測環境安裝 [TOC] ## Windows 1. 安裝python  2. 安裝robotframework ``` $ pip install --upgrade robotframework-appiumlibrary ```  ```$ python -mpip install --force-reinstall Appium-Python-Client==3.2.1 ``` Appium-Python-Client降版到3.2.1 3. 安裝pycharm and 下面兩個插件   4. android studio 安裝and開啟 emulator 5. ``` $ adb devices ```  6. 安裝appium ``` $ npm i -g appium $ appium driver install "uiautomator2" ```  7. 開啟appium ``` $ appium --allow-cors ``` 8. Connect to android emulator https://inspector.appiumpro.com/   ```json { "platformName": "Android", "appium:automationName": "uiautomator2", "appium:platformVersion": "", "appium:app": "", "appium:deviceName": "" } ``` ## ArchLinux 1. Install NodeJS & NPM ```shell # pacman -S npm nodejs ``` 2. Install Appium ```shell # npm install -g appium ``` 3. Install UIAutomator 2 ```shell $ appium driver install "uiautomator2" ``` 3. Verify the result ```shell $ appium -v 2.6.0 ``` 4. Change to target workdir 5. Create Python virtual environment ```shell $ python3 -m venv .venv ``` 6. Enter the Python virtual environment ```shell $ source .venv/bin/activate ``` 7. Install robotframework-appiumlibrary ```shell $ pip3 install --upgrade robotframework-appiumlibrary ``` 8. Install Android Studio ```shell $ yay -S android-studio --noconfirm ``` 9. Install other tools related to Android development ```shell # pacman -S android-tools android-udev libmtp --noconfirm ``` ## Build Joplin * [Unable to load script](https://chatgpt.com/share/4067b9b9-472f-48f1-97b6-15aaf3f9e756)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up