如何将 Android SDK 安装到 Netbeans 8.0

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/25345939/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 09:21:21  来源:igfitidea点击:

How do I install the Android SDK into Netbeans 8.0

androidnetbeans

提问by user3185675

I have netbeans 8.0 installed and I have the android SDK file downloaded. How do I exactly install the android SDK? I don't see a .exe file or anything like that? Can someone please help me, this is really frustrating.

我安装了 netbeans 8.0 并且下载了 android SDK 文件。我如何准确安装android SDK?我没有看到 .exe 文件或类似的文件?有人可以帮助我吗,这真的很令人沮丧。

回答by sukhi

Netbeans is also a good environment for android developement, you can refer this link for setting android sdk into netbeans :

Netbeans 也是一个很好的android 开发环境,可以参考这个链接将android sdk 设置为netbeans:

https://forums.netbeans.org/topic51543.html

https://forums.netbeans.org/topic51543.html

回答by deinerson1

On a 14.10 Utopic Ubuntu amd64 desktop I had to place the following export in ~/.profile

在 14.10 Utopic Ubuntu amd64 桌面上,我必须在 ~/.profile 中放置以下导出

export ANDROID_HOME=/home/username/adt/sdk

Netbeans 8 didn't see the environment variable in the ~/.bashrc, but after exporting it in ~/.profile, Netbeans found the SDK. Be sure to replace the username and use your local adt install path.

Netbeans 8 在 ~/.bashrc 中没有看到环境变量,但是在 ~/.profile 中导出后,Netbeans 找到了 SDK。请务必替换用户名并使用您的本地 adt 安装路径。