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

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

问题描述

我最近将我的 ubuntu 13.10 64 位升级到了 14.04 64 位.Android Studio 在 13.10 上始终运行良好.

I recently upgraded my ubuntu 13.10 64-bit to 14.04 64-bit. Android Studio always worked well on 13.10.

在 14.04 上,我遇到了 gradle 问题(这个),这是缺少 libz.so.1 的问题.按照 这个链接,我必须安装 32 位这个包的版本,它解决了我的问题.

On 14.04 I had a problem with gradle (this one), which was a problem with missing libz.so.1. Following this link, I had to install the 32-bit version of this package, and it fixed my problem.

现在(我认为这是相关的),在尝试启动设备模拟器时,我收到以下消息:

Now (I thought it was related), when trying to launch a device emulator, I have this message :

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

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.

但我的系统是 64 位的(顺便说一下,-force-32bit 技巧不起作用).

But my system is 64-bit (and by the way -force-32bit trick doesn't work).

奇怪的是,我删除了我安装的 32 位包,没有任何变化(我的 gradle 问题没有再次出现,我的模拟器问题仍然存在).

Strangely, I removed the 32-bit package I installed, and nothing changed (my gradle problem didn't show up again and my emulator problem is still here).

我该怎么办?

谢谢

推荐答案

昨天,我在更新 Ubuntu 后遇到了同样的问题.今天它在新的更新中得到修复.只需更新您的 Ubuntu 并在更新后运行模拟器.它应该可以工作.

Yesterday, I had the same problem after updating my Ubuntu. Today it is fixed in the new update. Just update your Ubuntu and run the emulator after the update. It should work.

更新后的当前内核版本为:3.13.0-61-generic

Current kernel version after the update is: 3.13.0-61-generic

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

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