Android的无法启动模拟器:不能运行程序 [英] android Failed to start emulator:Cannot run program

查看:769
本文介绍了Android的无法启动模拟器:不能运行程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了Android SDK和Android的日食在Ubuntu上成功的插件。

每一件事情是工作的罚款,直到我删除了Ubuntu和安装Linux Mint的。 我又安装了SDK,并用我用的是Ubuntu的,但现在所有的Andr​​oid应用程序包含错误,我不能启动模拟器相同的Eclipse副本。

在开始出现此消息模拟器

 启动模拟器的AVD测试无法启动模拟器:不能运行程序/家/阿纳斯/机器人//工具/仿真器:错误= 2,没有这样的文件或目录
 

而Android SDK安装在指定的路径和文件(模拟器)是存在于相同的路径。

还有我所有的应用程序中包含了同样的错误研究不能被解析为一个变量

有什么问题吗?

解决方案
  1. 安装Ubuntu的成功。 但不AVD运行

    如果您运行的是64位系统,您需要安装IA32-库

 命令和apt-get安装IA32-库
 

  1. 研究不能被解析为一个变量

这可能是由于下列原因

  • 类是不是该包的一部分,加适量包

  • 没有清单文件的类路径正确定义的正确定义它

清晰,运行AVD它将

I have installed android SDK and android eclipse plugin successfully on Ubuntu.

Every thing was working fine until I removed Ubuntu and installed Linux Mint. I installed the SDK again and used the same eclipse copy I was using on Ubuntu but now all the android applications contain errors and I can not start the emulator.

When starting the emulator this message appears

Starting emulator for AVD 'test' Failed to start emulator: Cannot run program "/home/anas/android//tools/emulator": error=2, No such file or directory

While the android SDK is installed in the specified path and the file (emulator) is exists in the same path.

Also all my applications contains the same error R can not be resolved to a variable

What is the problem here?

解决方案

  1. Installed on Ubuntu successfully. but not running avd

    If you're running a 64-bit system, you need to install ia32-libs

  sudo apt-get install ia32-libs

  1. R can not be resolved to a variable

This can be due to following Reason

  • class is not the part of that package add proper package

  • not properly defined in manifest file class path define it properly

clear and run the avd it will work

这篇关于Android的无法启动模拟器:不能运行程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆