错误:32 位 Linux Android 模拟器二进制文件已弃用 [英] ERROR: 32-bit Linux Android emulator binaries are DEPRECATED

查看:14
本文介绍了错误:32 位 Linux Android 模拟器二进制文件已弃用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 ubuntu 14.04 32 位上安装了最新版本的 ADT Bundle 32 位.我创建了一个 AVD,但它没有启动.当我按下开始按钮时,它会显示此消息:

I installed the latest version of the ADT Bundle 32 bit on my ubuntu 14.04 32 bit. I created an AVD, but it doesn't launch. When I press the start button it shows this message:

为 AVD 'NexusOne' 启动模拟器错误:32 位 Linux Android 模拟器二进制文件已弃用,请使用它们您必须至少执行以下操作之一:- 调用模拟器"时使用-force-32bit"选项.- 在您的环境中将 ANDROID_EMULATOR_FORCE_32BIT 设置为true".任何一种都允许您使用 32 位二进制文​​件,但请注意意识到这些将在未来的 Android SDK 版本中消失.考虑在此之前迁移到 64 位 Linux 系统.

Starting emulator for AVD 'NexusOne' ERROR: 32-bit Linux Android emulator binaries are DEPRECATED, to use them you will have to do at least one of the following: - Use the '-force-32bit' option when invoking 'emulator'. - Set ANDROID_EMULATOR_FORCE_32BIT to 'true' in your environment. Either one will allow you to use the 32-bit binaries, but please be aware that these will disappear in a future Android SDK release. Consider moving to a 64-bit Linux system before that happens.

我试图通过将 export ANDROID_EMULATOR_FORCE_32BIT=true 设置为 gedit .profile 文件和 gedit .bashrc 文件来修复它.什么都没有改变.

I tried to fix it by setting export ANDROID_EMULATOR_FORCE_32BIT=true to gedit .profile file and to gedit .bashrc file. Nothing changed.

感谢您尝试帮助我!

推荐答案

我有一个很好的解决方案.您可以使用 eclipse 或 netbeans 启动它.试试:

i have one great solution. you can start it with eclipse or netbeans. try :

  1. 在 Eclipse 中,单击您的 Android 项目文件夹,然后选择运行 > 运行配置...

  1. In Eclipse, click your Android project folder and then select Run > Run Configurations...

在运行配置"对话框的左侧面板中,选择您的 Android 项目运行配置或创建新配置.

In the left panel of the Run Configurations dialog, select your Android project run configuration or create a new configuration.

点击目标标签.

在附加模拟器命令行选项字段中,输入:

In the Additional Emulator Command Line Options field, enter:

-force-32bit

使用此运行配置运行您的 Android 项目.

Run your Android project using this run configuration.

在 netbeans 中,您:1.当你选择debuger时选择Customize...

in netbeans you : 1. wher you choose debuger chose Customize...

  1. 在模拟器选项中写入-force-32bit
  2. 点击确定.并运行应用程序

这篇关于错误:32 位 Linux Android 模拟器二进制文件已弃用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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