Monday, March 28, 2016

ERROR: 32-bit Linux Android emulator binaries are DEPRECATED

Hello,

I am taking my first steps into trying to create an Android app.
In installed Android Studio 1.5.1 on Linux Mint 17.3 (kernel 3.19.0-32-generic, 64-bit). JRE version is 1.7.0_95-b00 amd64 (according to the about box).

I try to run the app in the emulator. I have created a virtual device, with the following details:
Code:

Name: Moto_X_Play_API_23
CPU/ABI: Google APIs Intel Atom (x86_64)
Path: /home/gewe/.android/avd/Moto_X_Play_API_23.avd
Target: Google APIs (API level 23)
Skin: nexus_5x
Snapshot: no
hw.lcd.density: 400
hw.dPad: no
avd.ini.encoding: UTF-8
hw.camera.back: none
disk.dataPartition.size: 200M
hw.gpu.enabled: yes
runtime.network.latency: none
skin.dynamic: yes
hw.keyboard: yes
runtime.network.speed: full
hw.device.hash2: MD5:3f75bdae5e6cbfeae9214f0ae67b97b4
hw.ramSize: 1536
tag.id: google_apis
tag.display: Google APIs
hw.sdCard: yes
hw.device.manufacturer: User
hw.mainKeys: no
hw.accelerometer: yes
hw.trackBall: no
hw.device.name: Moto X Play
hw.sensors.proximity: yes
hw.battery: yes
AvdId: Moto_X_Play_API_23
hw.sensors.orientation: yes
hw.audioInput: yes
hw.camera.front: none
hw.gps: yes
avd.ini.displayname: Moto X Play API 23
snapshot.present: no
vm.heapSize: 64
runtime.scalefactor: auto

If I select this virtual device I get the following error message:
Code:

Cannot launch AVD in emulator.
Output:
WARNING: Cannot decide host bitness because $SHELL is not properly defined; 32 bits assumed.
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.

I downloaded an example app, but that results in the same error.

Why does Android Studio or the emulator think it is running on a 32-bit system?
How can I get rid of this error?


from xda-developers http://ift.tt/1ShcdbE
via IFTTT

No comments:

Post a Comment