---
title: "CentOS64位系统使用Android虚拟机问题"
author: "liyf155"
date: "2014-02-09T10:38:25Z"
tags: []
categories: ["移动开发"]
slug: "centos64-android"
draft: false
lastmod: "2014-02-09T10:38:25Z"
id: 2012864
url: "https://liyf155.iteye.com/blog/2012864"
---

在CentOS64位系统中，建立android虚拟机时是不会报错的，但是当你Launch这个虚拟机就会出现以下错误：

        Starting emulator for AVD 'android'  
Failed to start emulator: Cannot run program "/home/Kevin/Android/adt-bundle-linux-x86\_64-20131030/sdk//tools/emulator": error=2, No such file or directory

 

其原因是安装CentOS系统时，没有安装32位兼容库，貌似android虚拟机是32位的，在这种情况下运行虚拟机必须安装Linux的32位兼容库：ia32-libs。

       解决方法（CentOS64位系统）：

```
yum -y install glibc.i686,libstdc++.so.6
```