How to link android with netbeans 6.9.1

  2 posts   Feedicon  
Replies: 1 - Last Post: May 31, 2011 10:29
by: PSlat
showing 1 - 2 of 2
 
Posted: May 27, 2011 10:53 by dronix
Hello guys,

as it is mentioned in the subject, i have some difficulties to use netbeans with android. I have first download the SDK from the android project and I've made the different updates of the SDK. Unfortunately when I'm lauching netbeans and create a project with android it triggeres this error "package name must hae at least two parts (Android Bug)".

Can sombody explain me the error and how I can solve ?Thanks in advance

please excuse my English, It have been a long time I don't write it ...
If I am not clear please notify it
 
Posted: May 31, 2011 10:29 by PSlat
Hi dronix, I had the same problem when trying to create a new android project in Netbeans 6.9.1.
The package name needs to be in the format 'firstpart.secondpart' to be accepted, for example 'com.mycoolandroidpackage' but it seems it is more correct to name it like this: 'com.google.YourAndroidApplicationName' - I do not yet know the reason for this but it works and it will allow you to open your new application. Hope this helps.
Happy programming.
Replies: 1 - Last Post: May 31, 2011 10:29
by: PSlat
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close