开发者

I cannot install android-sdk on linux(centos)

http://developer.android.com/sdk/installing.html here it's said "If you downloaded a .zip or .tgz package (instead of the SDK installer), unpack it to a safe location on your machine. By default, the SDK files are unpacked into a directory named android-sdk-." I untar this archive and I'm trying to add a new avd device by running tools开发者_如何转开发/android, but it doesn't see any target platform(which means android sdk wasn't installed). Moreover, when I'm trying to set android-sdk target from eclipse to the unpacked folder, it says that it cannot find android-sdk there. So what is the solution? I'm downloading the latest version.


The thing you installed is just the AVD Manager, not the SDK itself.

You can install the SDK from the AVD Manager, go to "Available Packages" and expand "Android Repository":

I cannot install android-sdk on linux(centos)

From there you can choose the SDK version you want, along with samples to install.

I'd recommend installing the "SDK Tools" also.

Just click through the dialogs and accept any license agreements. Once that's installed,you will be able to create a virtual machine and point Eclipse to the SDK.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜