I installed Netbeans and did the following:
- Create a CN1 Library project
- Copy the json.zip into the lib folder
- Right click on the lib folder and include the json.zip into the project
- Copy the src files from the Github into the project
- Copy the Native files from Github
- Copy the codenameone_library_appended file from Github
- Copy the build.xml file from Github
- Copy the BTDemo folder into the Netbeans project folder
Then I did a clean and build. The build was successful. I then:
Deleted the CN1Bluethooth CN1Lib from my app project
- Refreshed libs
- Copied my newly built from sources CN1Bluetooth.cn1lib into the lib folder of the project
- Refreshed libs
- Android build -> build successful but app crashes/locks up with black screen on startup (same as before)
- iOS debug build - > same build error as above
I'm also trying to copy an app project to Netbeans and see if uploading it from there has any effect, but I must be doing something wrong as it gives me the error below even though I've logged in through the settings UI and I definitely don't have a build in process.
Prompting for password
Building for username: (redacted)
You have a build in progress within the queue. Only one build may be active at a time
/Users/James/NetBeansProjects/OBD2Relay/build.xml:338: Login failed
BUILD FAILED (total time: 1 second)