Demo projects not building - codenameone

Hi Ive been able to build my own hello project but ALL the demo projects fail with odd build error they cant find source which is in the Hello project see pics. Must be settings in Netbeans Project but I cant find appreciate any advice. Error /home/alistair/netbeansprojects/codenameone/CameraDemo/build.xml:51: taskdef class com.codename1.build.client.CodeNameOneBuildTask cannot be found
using the classloader AntClassLoader[]:
http://i.stack.imgur.com/gBkeb.png
http://i.stack.imgur.com/YpYIM.png

I got this error when moving a project to a new computer. On the new machine, I had installed JDK 9, whereas on the old machine I had been working with Java 1.8. I downloaded Java 1.8 and selected it as the project SDK, and the error went away.

Related

Resource "/projectnamehere/.settings' already exists in Eclipse

I downloaded the newest version of Eclipse on an M1 Macbook Pro.
I downloaded the plugin from the Eclipse Marketplace. It's version 6.0
I made a new project, and when I get to the "finish" screen, I get this error:
Then, if I click finish again I get this error, which is the error that keeps showing up no matter how many times I click finish:
Some stuff ends up actually getting built in the project:
My professor doesn't know how to fix it, and there's nothing on Google. How can I make this work normally like it's supposed to? Thanks :)
The plugin is no longer supported for newer versions of Eclipse as we migrated to maven a while back.
You have two options
Use an old Intel version of Eclipse that predated the change to work with a legacy project.
Migrate the project to a Maven project which will work with all IDEs and doesn't use the plugin at all.

IBM Watson assistant issue in Swift

I have followed IBM Watson Assistant (swift) tutorial. It was working properly before the iOS12 update. now when i take the build it says 'Reskit.framework is missing'.
I have manually tried to add Restkit.framework but the error still persist.
It worked perfectly on Xcode 9.4 & iOS 11.4.1. The error occurs when builded is taken Xcode10 and deployed in iOS12.
Since you're building your app with Xcode 10, go to Xcode preferences (Locations tab), and make sure that the Command Line Tools is set to the version of Xcode you are using (Xcode 10.1 if you're on the latest). Then in your project, delete the existing Carthage/ folder and Cartfile.resolved file, and re-run the carthage update --platform iOS command.

AIDE - Android IDE - SQLiteOpenHelper - Database

Can anybody help me how to create database use sqlite on android app (AIDE), i have try any source code and when i running the project, the project always force close,
You have to have the newest version of AIDEpro. Then clone https://github.com/mobilesiri/Android-Sqlite-Database-Tutorial
It is passing the build on my android device with AIDE pro. There is also a tutorial you are looking for in the github project mentioned above.

Codenameone designer doesnt launch from eclipse

IDE: Eclipse Luna
Desktop OS: Windows Server 2008 R2 Enterprise
Simulator : NA/default
Device: NA/default
Java: jdk1.8.0_40
Good afternoon everybody. I am a newbie and downloaded codenameone for the first time as a plugin in Eclipse IDE. The install went well, and I launched a new project, with Native theme and Hello World template. The project got created fine however, when I try to launch theme.res nothing happens. I dont see any errors or any signs of codenameone designer launching.
I searched through the forums and couldnt find anyone with similar problem.
What I have done to resolve (unsuccessfully):
Tried creating other projects with different themes and templates.
Tried uninstalling codenameone plugin and reinstalling it
Tried doing everything in a new workspace.
I have tried launching the designer jar from command line and that works:
java -Xmx256m -jar ~/.codenameone/designer_1.jar (This works)
I have double checked and eclipse is running the same version of JVM as commandline.
Nothing I do in eclipse has worked.
Could you please guide ?
Thanks
You need to switch the VM Eclipse is using to JDK 1.7 this also means the VM used to launch eclipse itself in the eclipse.ini file.

Google App Engine - recompile GWT module

I've created Google App Engine project in Java using Eclipse following the book Beginning Java Google App Engine
Before I bought this book I had created projects with unchecked option 'Use Google Web Toolkit' but for this project I checked it (following the book)
Eclipse generated several files for me and I run my applications, copy link to Web Browser (http://localhost:8888) and it gives me an error:
GWT module name_of_my_project may need to be (re)complied
I work on Ubuntu 10.04 (I was testing my application using Firefox and Chromium) and I was trying run my application on Windows XP (using the same Web Browsers) with the same effect (just one difference - Google Chrome made me install Web Toolkit...so I did it but it still gives the same error)
Thanks in advance :)
I get the same error message at unexpected times using development on IntelliJ with Chrome. The message still appears when I stop and start development mode. The problem is fixed after I delete the compiled files (class files, js files) in the out folder. On eclipse, you can try deleting files and folders generated in the war folder (delete the folder that has the project name, if it exists, and the classes folder under /war/WEB-INF/classes). Hope this helps.
Check in your "Java Build Path" if you have the correct Default output folder (something like /target/project-name/WEB-INF/classes).
In Eclipse, do a "Clean Build".
Click on the google blue button in the Eclipse menu and select "GWT Compile Project..."
Make sure the GWT plugin is compiling your project by checking the compiler output. The GWT compiler outputs lots of things, for example you will always see something like "Compiling 6 permutations.... Compiling permutation 0..."
If you still have problems, try this page on setting up Eclipse with GWT: http://code.google.com/webtoolkit/usingeclipse.html
Thanks for your comments and suggestions. I re-installed Eclipse on Ubuntu and I installed plugin one more time and it works :)
So, be careful which version of Eclipse you use - Eclipse 3.4 has problem with GWT.

Resources