-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method addObjectsTo(World, GLFactory) must override or implement a supertype #29
Comments
Ok since it says "The method addObjectsTo(World, GLFactory) of type new Simon On Wed, Jul 16, 2014 at 12:14 PM, Ionea [email protected] wrote:
|
Hi, Simon. java.lang.NullPointerException [More automatically received system infos]:
I receive the same error on my tablet, as well as on Samsung Galaxy SII Plus (GT-I9105P). |
And this is the error that I'm receiving on my phone (Samsung Galaxy SII Plus (GT-I9105P).): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.travelar/system.ArActivity}: android.view.InflateException: Binary XML file line #35: Error inflating class android.support.v7.internal.widget.ActionBarView [More automatically received system infos]:
My MainActivity.java is: package com.example.travelar; //@SuppressLint("ClickableViewAccessibility")
} And the AndroidManifest.xml is:
Thank you, once again, for your help. |
java.lang.NullPointerException this means that the device you are executing on has no camera On Mon, Aug 18, 2014 at 10:49 PM, Ionea [email protected] wrote:
|
Caused by: android.content.res.Resources$NotFoundException: Resource is not i think this is the root problem for your exception On Mon, Aug 18, 2014 at 11:25 PM, Ionea [email protected] wrote:
|
Indeed, this was the problem. I searched a little bit on google and eventually managed to find the cause of my problem.
Now I have another issue. I want to use the ModelLoaderAdapters so I can display a .obj file that I've created with Google Sketchup, but I can't manage to find all the files on the LibGDX repository, and that's because they've switched to Gradle. I've tried downloading gdx and gdx-extension, searched on google for model-loaders (because they didn't have it anymore on the repository) and eventually managed to complete my missing projects, but unfortunately, I get some errors because the gdx-backend-android are missing some java files (such as: AndroidGL10.java, AndroidGL11.java, AndroidGLU and others), and I can't seem to find a proper solution for doing this. Later edit:
But the ModelLoaderAdapters is still not working. |
Hello! I'm trying to use your library for my bachelor degree, and seem to have some issues regarding the demo that you've posted.
I'm trying to test the solar system, placed at 10m distance from the user, and I keep getting this error. If I correct the error, then this part of code:
@OverRide
public void addObjectsTo (World world, GLFactory objectFactory) {
//GeoObj o = new GeoObj();
// o.setComp(objectFactory.newArrow());
world.add(objectFactory.newSolarSystem(new Vec(10,0,0)));
}
is never used and the app isn't doing anything. The following screenshot shows what I can see on the display with the errors corrected.
The error I get is this:
Multiple markers at this line
- Method breakpoint:Main [entry] - addObjectsTo(World, GLFactory)
- The method addObjectsTo(World, GLFactory) of type new DefaultARSetup(){} must override or implement a supertype
I read some articles saying that it might be a compatibility issue, and to try it with compiler version 1.6 and the project build target to be Android 4.0.3. I tried this, and didn't worked. I've tried a couple more versions, and still nothing.
Could you help me regarding this issue?
Thank you!
P.S. Keep up the good work :)
The text was updated successfully, but these errors were encountered: