2

我正在使用 Linux(fedora 16)。我尝试安装 Android SDK 和 ADT。每次要运行Android SDKor Android Emulator,都必须从 Eclipse 中运行,但不知道如何直接运行。(不需要打开 Eclipse)

在 Windows 中,AndroidSDK 文件夹中有文件 exe,因此您可以直接在 Linux 中运行,AVD Manager.exeSDK Manager.exe不能在 Linux 中运行。

请帮我解决这个问题。

谢谢 :)

4

3 回答 3

10

You can launch android SDK manager by simply moving to android-sdk/tools folder and using the following command:

./android &

To launch the emulator, from the same folder you need to execute the following command:

./emulator -avd youravdname
于 2012-11-22T10:38:17.107 回答
3

最好将 Android SDK 存储在/opt/其中并运行: $ sudo /opt/android-sdk-linux/tools/android

您可以在末尾添加 & 以将其作为后台进程运行。

于 2014-03-27T12:56:18.493 回答
1

尝试使用以下命令,如果您已正确安装 sdk,这应该可以工作

  1. 打开终端
  2. 输入您的密码
  3. cd Android/SDK/tools (回车)
  4. ./emulator -noaudio @android_dev
于 2012-04-13T17:10:34.587 回答