AndEngine TUTORIALS - [ 71 Articles! ]

  ... tutorials on how to use AndEngine.

Re: AndEngine TUTORIALS - Check!

Postby nvasilescu » Tue Jul 24, 2012 12:40 pm

i am not using gles1 . i just downloaded from git . fixed the errors . Made new class and copy paste the code from the tutorial hello world . And this method doesn't exist
nvasilescu
 
Posts: 4
Joined: Mon Jul 23, 2012 12:50 pm

Re: AndEngine TUTORIALS - Check!

Postby ABoss » Thu Jul 26, 2012 3:13 pm

Thanks, this is great, I'm new to this site and new to Android development. And this is my first post, just letting you know I will definitely use your site as a tutorial to indroduce myself to AndEngine.
ABoss
 
Posts: 2
Joined: Thu Jul 26, 2012 3:10 pm

Re: AndEngine TUTORIALS - Check!

Postby Mathew » Thu Jul 26, 2012 10:38 pm

Glad you like it.
User avatar
Mathew
 
Posts: 1073
Joined: Sun Jul 31, 2011 2:49 pm
Location: Tarnów, Poland

Re: AndEngine TUTORIALS - Check!

Postby SeelenGeier » Fri Jul 27, 2012 11:19 am

nvasilescu wrote:i am not using gles1 . i just downloaded from git . fixed the errors . Made new class and copy paste the code from the tutorial hello world . And this method doesn't exist


Hi,

I just had the same problem.
To fix this, go to "your project" -> "properties" -> "Java Compiler" and set your "Compiler compliance level" to 1.6
This fixed the problem for me.

After compiling, I still get errors though:
07-27 09:11:24.138: E/Trace(848): error opening trace file: No such file or directory (2)
07-27 09:11:25.767: E/AndroidRuntime(848): FATAL EXCEPTION: GLThread 87
07-27 09:11:25.767: E/AndroidRuntime(848): java.lang.IllegalArgumentException: No EGLConfig found!
07-27 09:11:25.767: E/AndroidRuntime(848): at org.andengine.opengl.view.ConfigChooser.chooseConfig(ConfigChooser.java:183)
07-27 09:11:25.767: E/AndroidRuntime(848): at org.andengine.opengl.view.ConfigChooser.chooseConfig(ConfigChooser.java:157)
07-27 09:11:25.767: E/AndroidRuntime(848): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1024)
07-27 09:11:25.767: E/AndroidRuntime(848): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1401)
07-27 09:11:25.767: E/AndroidRuntime(848): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)

I am using the exact file from your tutorial with the first line (package) changed to "package com.vulture.simpledefencealpha;" and the name of the activity is "MainActivity" instead of "TestActivity".
I am using the API 8(2.2) to 16(4.1) and changed this in both manifests (AndEngine and my project "SimpleDefenceAlpha").

Eclipse, Java JDK, Android SDK and AndEngine are up to date (I just installed them all on a new Win7 machine)).

Thank you very much for the tutorials, they are a great help and very easy to understand and reproduce.

Cheers,
SeelenGeier

PS: yay first post :P
SeelenGeier
 
Posts: 2
Joined: Fri Jul 27, 2012 10:58 am

Re: AndEngine TUTORIALS - Check!

Postby OzLark » Fri Jul 27, 2012 11:37 am

Welcome to the AE forums!

SeelenGeier wrote:07-27 09:11:25.767: E/AndroidRuntime(848): java.lang.IllegalArgumentException: No EGLConfig found!


A No EGLConfig found error typically indicates that you're running on a device that does not support OpenGL ES2.

What device are you using?

If you're using an AVD then you need to enable GFX hardware acceleration on the virtual device. A search on these forums (use google) for "site:andengine.org No EGLConfig found" will find lots of threads discussing this and details on how to enable GFX acceleration on an AVD.
Did this post help you? Feel free to return the gesture by downloading Ninja Bees, creating a level (or more) and sharing it to the Ninja Bees website!

Ninja Bees - Our latest Android game, check it out on Google Play (free) or paid with no ads
OzLark
 
Posts: 1130
Joined: Sun Feb 05, 2012 3:19 am

Re: AndEngine TUTORIALS - Check!

Postby SeelenGeier » Fri Jul 27, 2012 11:48 am

Thanks for the quick answer. I should have searched for the problem, there is even a google tutorial on this:
http://developer.android.com/tools/devices/emulator.html#acceleration
I am using an AVD with Android 4.1 and did not set the GPU Emulation.

Now it works (its flashing black and blue like crazy, but I should be able to fix this with a few config changes)

Thanks again :)

PS: a little advice for your Tutorial Blog. You should add a "next" and "previous" button to the bottom of the page. It is also not displaying correct on my "Samsung Galaxy S2+ (I9001)" with Dolphin HD. Took some effort to navigate, but the tutorial itself is great.
SeelenGeier
 
Posts: 2
Joined: Fri Jul 27, 2012 10:58 am

Re: AndEngine TUTORIALS - Check!

Postby Mathew » Fri Jul 27, 2012 6:06 pm

Probably I will use wordpress or something more advanced, because google sites is really limited and shitty.
User avatar
Mathew
 
Posts: 1073
Joined: Sun Jul 31, 2011 2:49 pm
Location: Tarnów, Poland

Re: AndEngine TUTORIALS - Check!

Postby samnish » Mon Jul 30, 2012 6:15 am

Very useful tutorial. Thanks you :)
samnish
 
Posts: 1
Joined: Mon Jul 30, 2012 5:34 am

Re: AndEngine TUTORIALS - Check!

Postby Mathew » Fri Aug 03, 2012 8:08 pm

up
User avatar
Mathew
 
Posts: 1073
Joined: Sun Jul 31, 2011 2:49 pm
Location: Tarnów, Poland

Re: AndEngine TUTORIALS - Check!

Postby Mathew » Wed Aug 08, 2012 10:53 pm

up
User avatar
Mathew
 
Posts: 1073
Joined: Sun Jul 31, 2011 2:49 pm
Location: Tarnów, Poland

PreviousNext

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 7 guests