[ERROR] Unable to find 'aurelienribon/tweenengine.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
i followed every step in the libgdx wiki on how to install universal tween engine and it keeps giving me this error.
I have no idea what this aurelienribon.tweenengine.gwt.xml is since i cannot find it anywhere on my pc and i dont understand what i can do to fix it.
this is the guide i followed:
https://github.com/libgdx/libgdx/wiki/Universal-Tween-Engine
and i saw someone with the same problem on here who apparently fixed it but i could not deduct how exactly he did it from the details he gave.
thanks in advance.
Reason why it wasnt working was because i only had the tween-engine-api.jar in the libs folder created in the guide at:
https://github.com/libgdx/libgdx/wiki/Universal-Tween-Engine
it in fact needed to have the source jar as well which i did not have because i rarely use them. Turns out gwt needs them in order to compile.
so just to clarify, libs folder must have both tween-engine.api.jar and tween-engine-api-source.jar.
Related
I am attempting to create a JAR from IntelliJ using the build artifacts but when I do it is saying
Error: Invalid or corrupt jarfile
Im not sure what im doing wrong though?
Hard to tell from what you have posted. Intellij can be finicky at times especially with the Artifact jar build interface. There is a good tutorial on IntelliJ's website on how to set up the artifact. One area that may provide difficulty is pointing to the Main Class.
An issue I had in building a jar using the tool was selecting the Main Class. Ultimately I typed it in and it worked. Not sure if this is the advice that will solve your problem.
From the intellij website at: https://www.jetbrains.com/help/idea/creating-and-running-your-first-java-application.html
Note the image below.
Other potential issues could be that a dependency was corrupted, although doubtful.
Could also be the Manifest file is referencing a file that is causing the issue. Most Manifest files should be fairly simple and point to the main class. Last but not least email IntelliJ. They are good at responding and if the problem is one that intellij can solve, they will help. Unfortunately they only respond by email and sometimes can take up to a day.
I have been working on trying to use the openLogger tool which uses the OpenLog Database also available at openNTF, and I have hit a bit of a snag. My question is not about those databases explicitly, they are just a good example of what is going wrong!
My issue is that I wanted to rebuild the OpenLogger Demo/test database after making a few changes to the xsp.properties file, and I suddenly was presented the wonderful gift of 12 or more errors, all of which were that the com.ibm.xsp.extlib.util.ExtLibUtil class could not be resolved.
After a bit of googling, I found out that it sometimes helps to re-install Designer - done (three times)or to re-install the ExtLibs (done a few times and then upgraded to the 900_201305* version)
nothing.
I have really tried everything I can think of, and everything that I could find via google, but I cannot figure out how to get this thing to resolve. I remember once upon a time having to copy specific jar files into the designer install directory, but I cannot remember the details, nor can I find anything about that, nor do I know if this is my issue. I also thought about a specific designer variable not being set that would tell designer where to find the jar files, but I would not know where to begin searching for that.
Any help getting this thing to resolve would be a HUGE! help. It could also be that I wish to use this awesome looking class in my own applications. Thanks!
To make sure that the jar files is found and able to be used, try these things:
Use the package explorer to make sure the jar is in the "Referenced Libraries" folder
Check the build path, and add the jar to the build path if necessary
Examine the XSP properties file and make sure it looks correct, and then change something and resave it
Use Project | Clean which sometimes fixes issues like this
I'm following a basic tutorial for the android jni development at http://permadi.com/blog/2011/12/running-android-ndk-examples-using-eclipse-and-sequoyah/. Before moving to problem I solved building error by setting "cmd F:\Android\android-ndk-r8\ndk-build" to build command.
Changed build command
Hope it's not wrong. But now it gives following error. Iv'e added logcat here.
I can see two exceptions are shown here as java.lang.UnsatisfiedLinkError and java.lang.ExceptionInInitializerError. I can't figure out what is really caused. It is said that you can fix UnsatisfiedLinkError by adding libJniTest.so to correct path. But i can't find it. I've run a search on my windows machine to find libjnitest.so but it is nowhere. Is it the problem and if it is someone can say where it should be. There are more than thousand questions as same as this but i'm no where to figure it out solution after spending several hours.
Here is my code.
Java code
Please note that iv'e commented native function call but i can see problem is with the loading library.
Native code
Here i add the folder structure.
You need to run $(NDK)/ndk-build from the project's main directory in order to create the .so libraries, which should be automatically copied into the libs/ folder.
This assumes that you have a proper jni/ folder with an Android.mk in it alongside your source code.
You may want to see the hello-jni example from the ndk samples directory for an official example with all the requried pieces.
Clean and build the project again. It will be resolved. I solved it by just that.
I've been searching the web for a long time, and it seams that this VerifyError isn't that uncommon and can have multiple reasons for tripping. I have created a project, that I've exported as a jar file. It is built with android 2.2 (API 8). This part works fine. But I have a separate project that when I try to import it, I start having problems.
The only way I've been able to get it to work, is to import the jar into a libs folder I created. It then get's automatically added as an Android Dependency and I can use it fine, however I can't attach my javadoc file to it, and in my build configuration it says I can't modify the dependency. (Can't link to a javadoc).
What I thought I should be able to do is simply add it as an external jar, then link the javadoc and source. If I do this, the code that uses the jar shows no errors, and the javadoc comments work. However I keep getting a VerifyError when I run it. I've attached a stack trace that shows the errors. I'm completely out of ideas, does anyone have any suggestions? Am I building the jar file wrong? Am I importing it wrong?
If anyone can help point me in a constructive direction, it would be really appreciated.
Thanks
Stack trace:
Ok, so this was frustrating to solve. The solution took about 20 seconds when I spent over an hour researching the problem.
What I had to do was go to:
Properties -> Java Build Path -> Order and Export
But rather than just clicking the external jar, I had to move it up to the top of the list for the build path order.
Credit definitely goes to yorkw for pointing me in the right direction.
I believe that Android jar files are a little different.
You could try putting the JAR files into the Android "dx" tool
It's in the ~/android-sdk/platform-tools
I am taking over code someone else wrote and am having to find everything they used for this project manually because they didn't send everything that was needed. (One of those out of the country contract work deals.) Anyway, I'm having trouble finding something. They imported com.wavemaker.runtime.data, com.wavemaker.runtime.services and com.wavemaker.json.type and I can't figure out how to get these unresolved errors to go away. I've moved WaveMaker into the same folder as my project and I've searched high and low for a .jar file on my machine and on the internet to no avail. Please help?? (FYI I'm using Eclipse & Java)
This is easy, you have to add the jars to the eclipse configuration path (i.e: ~/WaveMaker/projects/wm_example_project/lib), when you find it, make sure that you add all those libs to your build path.