Jenkins was unable to create a new Android emulator: the AVD configuration file could not be resolved

Settings for Android Emulator when it fails

[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
@H_404_7@

但是,一旦我将Android OS版本输入到:6.0.它将成功创建新的模拟器并运行.

我的要求是需要Google Maps对模拟器的支持.

解决方法:

为64位计算机安装所需的库:

如果运行的是64位版本的Ubuntu,则需要使用以下命令安装一些32位库:

 sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 lib32bz2-1.0
@H_404_7@

如果运行的是64位Fedora,则命令为:

sudo yum install zlib.i686 ncurses-libs.i686 bzip2-libs.i686
@H_404_7@

来源:https://developer.android.com/studio/install.html

总结

以上是编程之家为你收集整理的Jenkins无法创建新的Android模拟器:无法解析AVD配置文件全部内容,希望文章能够帮你解决Jenkins无法创建新的Android模拟器:无法解析AVD配置文件所遇到的程序开发问题。

如果觉得编程之家网站内容还不错,欢迎将编程之家网站推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
喜欢与人分享编程技术与工作经验,欢迎加入编程之家官方交流群!

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>