Jenkins无法创建新的Android模拟器:无法解析AVD配置文件 [英] Jenkins fails to create new Android emulator: Failed to parse AVD config file
本文介绍了Jenkins无法创建新的Android模拟器:无法解析AVD配置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
[android] Using Android SDK: /opt/android-sdk-linux
[android] Creating Android AVD: /var/lib/jenkins/.android/avd/hudson_en-US_120_WVGA_Google_Inc._Google_APIs_23_google_apis-armeabi-v7a.avd
[android] /opt/android-sdk-linux/tools/android create avd -f -a -s WVGA800 -n hudson_en-US_120_WVGA_Google_Inc._Google_APIs_23_google_apis-armeabi-v7a -t "Google Inc.:Google APIs:23" --abi google_apis/armeabi-v7a
[android] Could not create Android emulator: Failed to parse AVD config file
但是,一旦我将Android OS版本输入到:6.0.它将成功创建新的模拟器并运行.
But as soon as I am entering Android OS Version to: 6.0 . It will succeed to create new emulator and it runs.
我的要求是模拟器需要Google Maps支持.
My requirement is that is need Google Maps support for emulator.
推荐答案
为64位计算机安装所需的库:
Install required libraries for 64-bit machines:
如果运行的是64位版本的Ubuntu,则需要使用以下命令安装一些32位库:
If you are running a 64-bit version of Ubuntu, you need to install some 32-bit libraries with the following command:
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 lib32bz2-1.0
如果运行的是64位Fedora,则命令为:
If you are running 64-bit Fedora, the command is:
sudo yum install zlib.i686 ncurses-libs.i686 bzip2-libs.i686
源: https://developer.android.com/studio/install.html
这篇关于Jenkins无法创建新的Android模拟器:无法解析AVD配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文