andengine Template for Android Studio

This contains andEngine and andEnginePhysics2DExtension Template for Android Studio.You can directly build your game from this project. You can call it a bootstrap for andEngine and its Box2D Extension. This can useful if you want to create andEngine game but you are using Android Studio,then this project is defenitely for you.

Steps:

1) this code project and unrar it.

2) Import the project to Android Studio.

Video Demonstration:


This is 100% working in my Android Studio.If there is any error occured. Please comment below :)

 

For andEngine Wallpaper Extension : http://goo.gl/uBZex3

 

 

 

 

  • Shikher Verma

    Ah, finally found what I was looking for!! Thanks Basil I had been searching for something like this since the last two weeks.

    • https://themakeinfo.com makeinfo14

      You are welcome Shikher Verma,We also added andengine WallpaperExtension for android Studio

    • makeinfo14

      its happy to know that everything is fine for you :)

  • bambangIndonesia

    I got same error with your template.. if you using physicsWorld on your game you can get some error llike me, Because your native library not include after build

    • makeinfo14

      please show your error message..

  • LSDhillon

    Thanx for template .
    this Loaded up well. No errors

    But when run on emulator it gives following

    9623-9623/com.makeinfo.andenginetemplate E/AndroidRuntime﹕ FATAL EXCEPTION: main

    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.makeinfo.andenginetemplate/com.makeinfo.andenginetemplate.MainActivity}: java.lang.NullPointerException

    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2211)

    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)

    at android.app.ActivityThread.access$600(ActivityThread.java:141)

    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)

    at android.os.Handler.dispatchMessage(Handler.java:99)

    at android.os.Looper.loop(Looper.java:137)

    at android.app.ActivityThread.main(ActivityThread.java:5103)

    at java.lang.reflect.Method.invokeNative(Native Method)

    at java.lang.reflect.Method.invoke(Method.java:525)

    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)

    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)

    at dalvik.system.NativeStart.main(Native Method)

    Caused by: java.lang.NullPointerException

    at org.andengine.engine.Engine.(Engine.java:142)

    at org.andengine.ui.activity.BaseGameActivity.onCreateEngine(BaseGameActivity.java:90)

    at org.andengine.ui.activity.BaseGameActivity.onCreate(BaseGameActivity.java:80)

    at android.app.Activity.performCreate(Activity.java:5133)

    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)

    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)

    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)

    at android.app.ActivityThread.access$600(ActivityThread.java:141)

    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)

    at android.os.Handler.dispatchMessage(Handler.java:99)

    at android.os.Looper.loop(Looper.java:137)

    at android.app.ActivityThread.main(ActivityThread.java:5103)

    at java.lang.reflect.Method.invokeNative(Native Method)

    at java.lang.reflect.Method.invoke(Method.java:525)

    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)

    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)

    at dalvik.system.NativeStart.main(Native Method)

    Any suggestions please?