2016-04-07 3 views
3

私は64ビットのUbuntuボックスを持っていて、AndroidStudioを初めて実行したときはエミュレータが正常に動作していました。Ubuntu Android Studioエミュレータの実行中にエラーが発生しました:ホストのビット数を決定できません。 32ビットが仮定されました

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.

どのように私が正しくそれは私の64ビットシステムを認識していることなどの$ SHELLを定義します:私はそれを実行した次回は、エミュレータが言って、起動することを拒否しましたか?

答えて

0

私はAndroidスタジオの代わりにAndroid-SDKを使用した最初の実行で同じ問題を抱えていましたが、原因は私がzshをデフォルトシェルとして使用していることです。このようにコマンド以下

cd $ANDROID_SDK_HOME 
SHELL=/bin/bash ./tools/android avd 

、私のために働く何SHELL=/bin/bashが先頭に追加しない場合、私は、AVDマネージャでエミュレータを起動することができ、私は同じ問題がありました。

希望に役立ちます。

関連する問題