| View previous topic :: View next topic |
| Author |
Message |
ntuple
Joined: 03 May 2009 Posts: 2
|
Posted: Sun May 03, 2009 5:35 am Post subject: Android Platform |
|
|
Hi,
Has anyone run into problems getting the Android Platform recognized on Netbeans 6.5 ?
Using the nbandroid plugin I can get to the Platform setup screen but pointing to the Android folder or the Android/platforms folder or even the Android/platforms/Android-1.5 doesn't seem to have a valid platform file that Netbeans can use.
Am doing this on Kubuntu 9.04 if anyone's run into issues with the Netbeans package.
thanks,
R. |
|
| Back to top |
|
 |
mclarry
Joined: 04 May 2009 Posts: 1
|
Posted: Mon May 04, 2009 7:38 am Post subject: Android Platform |
|
|
| I have the same problem on XP SP3. And Android emulator doesnt work properly. Waiting for stable release... |
|
| Back to top |
|
 |
Brad Schmidt Posted via mailing list.
|
Posted: Mon May 04, 2009 1:10 pm Post subject: Android Platform |
|
|
The Android SDK is not officially supported in NetBeans. However there
is a plugin available that can help you get set up to use Android in
NetBeans.
http://kenai.com/projects/nbandroid/pages/Install
Cheers,
Brad
mclarry wrote:
| Quote: | I have the same problem on XP SP3. And Android emulator doesnt work properly. Waiting for stable release...
|
|
|
| Back to top |
|
 |
ntuple
Joined: 03 May 2009 Posts: 2
|
Posted: Mon May 04, 2009 1:32 pm Post subject: Android on Netbeans |
|
|
I am using the nbandroid plugin from that site and it works perfectly fine in doing its job. The problem is the next step of having the platform recognized by Netbeans so you can actually develop for Android.
Part of what I always liked about Netbeans is its openness and the ability to customize it to what you want to do. I can't see Netbeans simply staying out of Android letting Eclipse be the sole choice for Google's new mobile platform.
 |
|
| Back to top |
|
 |
Brad Schmidt Posted via mailing list.
|
Posted: Mon May 04, 2009 1:53 pm Post subject: Android Platform |
|
|
Unfortunately, Android not yet a supported platform in NetBeans and that
will not change for the 6.7 release. :(
But it is likely an issue that can be resolved with the plugin. You can
file an issue on the Kenai site for the problem you have observed. Even
better would be to add a fix yourself to the plugin and share the
successfull result with everyone. It's an open source project and
you might be able to see the issue in the source code.
-Brad
ntuple wrote:
| Quote: | I am using the nbandroid plugin from that site and it works perfectly fine in doing its job. The problem is the next step of having the platform recognized by Netbeans so you can actually develop for Android.
Part of what I always liked about Netbeans is its openness and the ability to customize it to what you want to do. I can't see Netbeans simply staying out of Android letting Eclipse be the sole choice for Google's new mobile platform.
:(
|
|
|
| Back to top |
|
 |
paolocorno
Joined: 14 May 2009 Posts: 2
|
Posted: Thu May 14, 2009 10:13 am Post subject: RE |
|
|
The problem is due to the fact that in sdk 1.5 the directory structure is changed, 1.1 and 1.5 are both included in a directory called platforms.
Do as follows
1) If you need release 1.1 download it as a single tarball an install it separately
2) Install the 1.5 sdk, enter the installation path, platforms, and release 1.5
3) move all the contents from this directory to the root of the installation path (some directories will be merged but no overwriting should happen)
4) try to register the platform again and it will allow you to do that.
I made some testings with simple project and it seems that this operation does not affect any functionality.
Cheers |
|
| Back to top |
|
 |
paolocorno
Joined: 14 May 2009 Posts: 2
|
Posted: Thu May 14, 2009 10:49 am Post subject: .... A cleaner way |
|
|
Go into android SDK directory
ln -s platforms/android-1.5/android.jar android.jar
cd tools
ln -s ../platforms/android-1.5/tools/aapt aapt
ln -s ../platforms/android-1.5/tools/aidl aidl
ln -s ../platforms/android-1.5/tools/dexdump dexdump
ln -s ../platforms/android-1.5/tools/dx dx
cd lib
ln -s ../../platforms/android-1.5/tools/lib/dx.jar dx.jar
Cheers |
|
| Back to top |
|
 |
markb
Joined: 15 Nov 2009 Posts: 1
|
Posted: Sun Nov 15, 2009 9:10 pm Post subject: Can't setup NB 2.0 platform |
|
|
I tried what was suggested here:
---> http://forums.netbeans.org/post-34943.html
but adapting it for 2.0 but that didn't help.
ln -s platforms/android-2.0/android.jar android.jar
cd tools
ln -s ../platforms/android-2.0/tools/aapt aapt
ln -s ../platforms/android-2.0/tools/aidl aidl
ln -s ../platforms/android-2.0/tools/dexdump dexdump
ln -s ../platforms/android-2.0/tools/dx dx
cd lib
ln -s ../../platforms/android-2.0/tools/lib/dx.jar dx.jar
This where I originally extracted the SDK:
~/downloads/Java/sdk/android/android-sdk-linux
When get to the point of adding the platform, and it's time to select the directory, I select this directory (the one I list above, where it was that I unzipped the SDK and used the android tool to download), netbeans enables the next>> button, but when I click on it, I get the “a platform target has to be selected” message.
Using netbeans 6.7.1
??? |
|
| Back to top |
|
 |
Karol Harezlak Posted via mailing list.
|
Posted: Mon Nov 16, 2009 12:59 pm Post subject: Re: Android Platform |
|
|
Hi,
Netbeans Mobility does not support Android platform because it is not
Java ME platform but you may try look for help here:
http://kenai.com/projects/nbandroid/forums/forum
Karol
markb wrote:
| Quote: | I tried what was suggested here:
---> http://forums.netbeans.org/post-34943.html
but adapting it for 2.0 but that didn't help.
ln -s platforms/android-2.0/android.jar android.jar
cd tools
ln -s ../platforms/android-2.0/tools/aapt aapt
ln -s ../platforms/android-2.0/tools/aidl aidl
ln -s ../platforms/android-2.0/tools/dexdump dexdump
ln -s ../platforms/android-2.0/tools/dx dx
cd lib
ln -s ../../platforms/android-2.0/tools/lib/dx.jar dx.jar
This where I originally extracted the SDK:
~/downloads/Java/sdk/android/android-sdk-linux
When I select this directory, netbeans enables the next>> button, but when I click on it, I get the “a platform target has to be selected” message.
|
|
|
| Back to top |
|
 |
barakobama
Joined: 18 Nov 2009 Posts: 1
|
Posted: Wed Nov 18, 2009 12:31 pm Post subject: |
|
|
But it is likely an issue that can be resolved with the plugin. You can
file an issue on the Kenai site for the problem you have observed. Even
better would be to add a fix yourself to the plugin and share the
successfull result with everyone. Smile It's an open source project and
you might be able to see the issue in the source code.
[url= http://www.pasangiklanmurah.com/kerja-keras-adalah-energi-kita/]Kerja Keras Adalah Energi Kita [/url]
[url= http:// www.iklanbarispro.com ] iklan gratis [/url] |
|
| Back to top |
|
 |
|