Jenkins-Android-Docker
Jenkins-Android-Docker copied to clipboard
🚧: Support KVM Emulating
== IN-PROGRESS ==
- Plugin Site: https://plugins.jenkins.io/android-emulator/
- It seems to search environment variables follow ANDROID_SDK_ROOT / ANDROID_SDK_HOME / ANDROID_HOME / ANDROID_SDK
- So, adding 'ANDROID_SDK_ROOT' into environment variables will not help to this problem
Test after setting up the development environment locally
-
Showing [android] Outdated SDK Tools found. Upgrading from '26.1.1' to 'build 6609375' warning
- Use newer version of SDK Tools, commandlinetools-linux-6609375_latest.zip
- Sdkmanager should handle current state of Dockerfile, but it doesn't.
- After some googling, I find work-around of this. https://stackoverflow.com/a/60454207
- RUN echo yes | sdkmanager --sdk_root=${ANDROID_SDK_ROOT} "platform-tools" "build-tools;30.0.2"
-
SDK_ROOT problem is gone, but emulator: ERROR: x86_64 emulation currently requires hardware acceleration! is came out
- KVM is needed in emulate Android emulator in Linux
- But, some host doesn't support kvm on there host
- It seems that version separation is necessary.