2015-12-30 13 views
5

Android SDKとJDKをUbuntu Server 14.04 x64にインストールしました。しかし、私はAVDを実行したとき、私はUbuntu ServerのShellからAndroid Emulatorを実行する方法

error: 'SDL init failure, reason is: No available video device'

を得た私は、このhttps://stackoverflow.com/a/6965679 sudo apt-get install ia32-libs に従うが、うまくいきませんでした。

デスクトップをUbuntu Serverにインストールする必要がありますか?

+0

Androidエミュレータはグラフィカルアプリケーションであるため、デスクトップを実行する必要があります。なぜそれをサーバー上で実行していますか? – 1615903

+0

ウェブページを使用してapkをリモートサーバにアップロードして実行することができないため、この質問をhttp://askubuntu.com/ – Todd

+0

@ 1615903にお寄せください。 – sumy

答えて

-1

Ubuntuのサーバ版でエミュレータを実行することはできません。エミュレータにはGUIが必要です。どのOSが持っていないのか。

むしろ、network your Server and Desktopその後Ubuntu Desktop OS

を使用するAPKを取得し、それをアップロードします。

GUIでUbuntu Serverを使用する場合は、thisを参照して、Ubuntu Serverタグで質問を再投稿してください。

8

以下の手順に従ってGUIなしでエミュレータを実行してみます:

から:http://paulemtz.blogspot.com/2013/05/android-testing-in-headless-emulator.html

Then, to run the headless emulator:

emulator -avd test -no-skin -no-audio -no-window 

The '-no-skin' option removes the emulator buttons such as the home and other hardware keyboard buttons.

The '-no-audio' option disables the audio support.

Finally, the '-no-window' option disables the emulator's graphical window display.

-avd testがあなたの特定のエミュレータイメージを参照するように変更する必要があることに注意してください( AVD)。

+0

解決策がある場合は、他の人を助けるための回答として確認してください – piotrek1543

関連する問題