开发者

how to add Android platform into Netbeans 7.0, after installed android plugin

开发者 https://www.devze.com 2023-03-09 04:36 出处:网络
I installed Android plugin using Tools/Plugins/Settings and copied the link there, and so on. In the next step, I would get to Tools/Java Platforms/Add platform, then it pope up with \"1.Choose the pl

I installed Android plugin using Tools/Plugins/Settings and copied the link there, and so on. In the next step, I would get to Tools/Java Platforms/Add platform, then it pope up with "1.Choose the platform folder" instead of "1.Select platform type". Because of that, I couldn't proceed into the next steps.

I tried to remove and reinstall Java SDK and Ne开发者_StackOverflow中文版tbeans several times using different methods. But nothing has changed. I really appreciate the answer.

Thanks


You are following one of outdated install guides/tutorials. Current version of Android support only needs to know where your Android SDK is. Go to Tools | Options | Misc | Android and set the location there. You can find more details at http://www.nbandroid.org/

It can even detect this location automatically if you open some configured project but it seems this is not your case.


After installing the plugin the sdk and the platform then choose from netbeans file new project android project next choose the target platform listed under target name input package name and voila.


Installing the platform is a seperate step. Look in the sdk folder and read the readme. On linux, at least, it says to run the "android" program, which is in the tools folder. After installing the platform through this it should let you progress in setting up netbeans.

It's not an obvious step if you're a noob and head straight to google with "setup netbeans for android"

0

精彩评论

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