このページでは

AVDの管理

Linux、macOS、Windows上でAndroidデバイスをエミュレートするには、Android Emulatorを使用します。Android Emulatorは、Android Virtual Device(AVD)と呼ばれる仮想マシンでAndroidオペレーティングシステムを実行します。

AVD を表示および追加するには、Preferences>Devices に進みます。

デバイス環境設定のAndroidデバイス

Device で AVD を選択すると、そのステータスがCurrent state に表示されます。

ステータス情報を更新するには、Refresh を選択します。

AVD の開始

AVD を開始するには、Start AVD を選択します。通常、Qt Creator は、キットセレクタでAVD を選択してアプリケーションを展開するときに起動します。

AVD を起動するための環境設定

AVD を起動するための環境設定を行うには、AVD Arguments を選択します。

AVDの起動オプション

Emulator command-line startup options で環境設定を設定します。使用可能なオプションについては、「コマンドラインからエミュレータを起動する」を参照してください。

ターミナルから手動でエミュレータを起動するには、次のように入力します:

cd <ANDROID_SDK_ROOT>/emulator
./emulator -avd <AVD_NAME>

AVD の削除

リストおよびキットセレクタから AVD を削除するには、Erase AVD を選択します。

How To: Develop for Android」および「Developing for Android」も参照して ください。

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.