Open georgeherby opened 6 years ago
So running my yml
image: anthonymonori/android-ci-emulator-image:latest before_script: - /opt/scripts/create-devices.sh - cd $ANDROID_HOME/tools && emulator -avd Nexus6P -wipe-data -netfast -no-boot-anim -no-audio -no-snapshot -bootchart 120 - /opt/scripts/android-wait-for-emulator.sh - adb shell input keyevent 82
but i am getting the below error when running on Gitlab with CI
$ /opt/scripts/create-devices.sh Loading local repository... [========= ] 25% Loading local repository... [========= ] 25% Fetch remote repository... [========= ] 25% Fetch remote repository... [========= ] 25% Fetch remote repository... [=======================================] 100% Fetch remote repository... Parsing /opt/android/build-tools/27.0.3/package.xmlParsing /opt/android/emulator/package.xmlParsing /opt/android/extras/android/m2repository/package.xmlParsing /opt/android/extras/google/google_play_services/package.xmlParsing /opt/android/extras/google/m2repository/package.xmlParsing /opt/android/patcher/v4/package.xmlParsing /opt/android/platform-tools/package.xmlParsing /opt/android/platforms/android-23/package.xmlParsing /opt/android/system-images/android-23/google_apis/x86_64/package.xmlParsing /opt/android/tools/package.xmlLoading local repository... [========= ] 25% Loading local repository... [========= ] 25% Fetch remote repository... [========= ] 25% Fetch remote repository... [========= ] 25% Fetch remote repository... [=======================================] 100% Fetch remote repository... Parsing /opt/android/build-tools/27.0.3/package.xmlParsing /opt/android/emulator/package.xmlParsing /opt/android/extras/android/m2repository/package.xmlParsing /opt/android/extras/google/google_play_services/package.xmlParsing /opt/android/extras/google/m2repository/package.xmlParsing /opt/android/patcher/v4/package.xmlParsing /opt/android/platform-tools/package.xmlParsing /opt/android/platforms/android-23/package.xmlParsing /opt/android/system-images/android-23/google_apis/x86_64/package.xmlParsing /opt/android/tools/package.xml$ cd $ANDROID_HOME/tools && emulator -avd Nexus6P -wipe-data -netfast -no-boot-anim -no-audio -no-snapshot -bootchart 120 emulator: WARNING: cannot read adb public key file: /root/.android/adbkey.pub emulator: ERROR: Missing initial data partition file: /opt/android/system-images/android-23/google_apis/x86_64//userdata.img emulator: ERROR: x86_64 emulation currently requires hardware acceleration! Please ensure KVM is properly installed and usable. CPU acceleration status: KVM requires a CPU that supports vmx or svm ERROR: Job failed: exit code 1
Any ideas?
https://gitlab.com/gitlab-org/gitlab-runner/issues/2242#note_84469943
So running my yml
but i am getting the below error when running on Gitlab with CI
Any ideas?