Issue Details (XML | Word | Printable)

Key: NBANDROID-36
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: radim
Reporter: gilad_no
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
nbandroid

Unable to install

Created: 06/Jul/09 09:02 PM   Updated: 08/Jul/09 07:01 AM   Resolved: 07/Jul/09 04:10 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Text File messages.log (156 kB) 07/Jul/09 02:53 PM - gilad_no
2. Text File messages.log (76 kB) 06/Jul/09 09:02 PM - gilad_no
3. File org-netbeans-modules-android-platform.nbm (39 kB) 07/Jul/09 03:43 PM - radim

Image Attachments:

1. screenshot-1.jpg
(43 kB)

2. screenshot-2.jpg
(64 kB)
Environment:

Windows XP SP2


Tags:


 Description  « Hide

I've tried to install nbandroid 0.4 and 0.5 on NetBeans 6.5.1.

I select my SDK folder and then I get to the page with the 3 SDK options (1.1, 1.5, 1.5+ Google Map API).

I select the second option (SDK 1.5) and hit the "Finish" button. It just becomes disabled again and nothing happens.

Attached is my log file of NetBeans.

P.S.
I've tried to install NetBeans 6.7 on the same machine, and then I was able to install nbandroid 0.5. But I still unable to install it on version 6.5.1.



radim added a comment - 06/Jul/09 09:34 PM

Thanks, now it is obvious -

java.lang.NoSuchMethodError: org.openide.filesystems.FileUtil.getConfigFile(Ljava/lang/String;)Lorg/openide/filesystems/FileObject;
at org.netbeans.modules.android.platform.PlatformConvertor.create(PlatformConvertor.java:228)

This method got added in 6.7. I will revert the change and need to fix the build to run against 6.5.1.


radim added a comment - 07/Jul/09 04:10 AM

Incompatibility between 6.5.1 and 6.7 is fixed now.


gilad_no added a comment - 07/Jul/09 02:51 PM

Still doesn't work. When clicking "Next", it switches to the next category (on the left panel), but the form itself still stays on the "Select platform type".

I'm attaching log file, as well as a screenshot.


gilad_no added a comment - 07/Jul/09 02:52 PM

you can see I've moved to the second step (folder), but the form is still the platform type.


radim added a comment - 07/Jul/09 03:43 PM

Here is slightly updated version of one plugin (though it still has the same version number) that can fix the NPE). Out of curiosity - what is path to your SDK?


gilad_no added a comment - 07/Jul/09 03:45 PM

My SDK is at: c:\Programming\android-sdk-windows-1.5_r2


gilad_no added a comment - 07/Jul/09 03:49 PM

This one installs, but I don't have android option in the "New Project" option.


radim added a comment - 07/Jul/09 04:45 PM

does it mean that the platform can be installed now?

no new project? is it persistent problem? I mean update of *platform module has to disable project module and enable it later using the dependency on a new platform support. So it might disappear after restart. if it doesn't can you attach messages.log again?


gilad_no added a comment - 07/Jul/09 09:04 PM

On NB 6.7, the installation overrides the Java SE project (look at the description at the bottom)


radim added a comment - 08/Jul/09 12:55 AM

The description of Android project is wrong (result of original copy & paste from Java SE project). Fixed now.