Hello,
First Thanks a lot for nbAndroid 0.7 which fixed the plateform and java exception.
I still have some trouble compiling my project :
After creating a new android project (1.1 or 1.5 android plateform) and compiling (didn't add anything into the program), i got the following message :
Compiling 2 source files to C:\Users\YaNiS\Documents\5IPPA\SE\AndroidApplication\build\classes
compile:
Created dir: C:\Users\YaNiS\Documents\5IPPA\SE\AndroidApplication\dist
Updating zip: C:\Users\YaNiS\Documents\5IPPA\SE\AndroidApplication\dist\AndroidApplication.apk_
Using keystore: C:\Users\YaNiS\.android\debug.keystore
Deleting: C:\Users\YaNiS\Documents\5IPPA\SE\AndroidApplication\dist\AndroidApplication.apk_
jar:
Result: -1
--> the program keeps running and the emulator don't shows up.
(the : "Using keystore: C:\Users\YaNiS\.android\debug.keystore" line is in red)
i searched on the web to find why the keystore was not correct. I changed my local time setting to English (USA) but nothing changed. I try to delete the key then create a new project (in 1.1 and 1.5 android plateform) but still no changes. I tryed to manually generate the keystore but failed.
Do you have an idea ? why the keystore line on the log is red ? why netbeans is instantly deleting my .apk and why the emulator won't show up ?
Thanks again, I am brand new to Android devs (and coding in general) so excuse my nwbiness.
As mentioned in http://kenai.com/projects/nbandroid/pages/Intro
you have to start emulator before you run the application. It also means that you probabl have to manually create android virtual device that can be used to launch the emulator.
The problem here is related to http://kenai.com/jira/browse/NBANDROID-24
- we are not aware of AVDs and the build script does not launch emulator correctly. Probably will be fixed soon (though not tomorrow).