Here's some code to test out...
//package com.examplecompany.exampleapp;
import org.andengine.engine.options.EngineOptions;
import org.andengine.entity.scene.Scene;
import org.andengine.ui.activity.SimpleBaseGameActivity;
import org.andengine.engine.camera.Camera;
import org.andengine.entity.scene.background.Background;
import org.andengine.engine.options.ScreenOrientation;
import org.andengine.engine.options.resolutionpolicy.FillResolutionPolicy;
import android.app.*;
import android.os.*;
import android.view.*;
import android.widget.*;
public class MainActivity extends SimpleBaseGameActivity
{
private Camera camera;
private static final int CAMERA_WIDTH = 800;
private static final int CAMERA_HEIGHT = 480;
@Override
public EngineOptions onCreateEngineOptions() {
camera = new Camera(0, 0, CAMERA_WIDTH, CAMERA_HEIGHT);
EngineOptions engineOptions = new EngineOptions(true, ScreenOrientation.LANDSCAPE_FIXED, new FillResolutionPolicy(), camera);
return engineOptions;
}
@Override
protected void onCreateResources() {
}
@Override
public Scene onCreateScene() {
Scene scene = new Scene();
scene.setBackground(new Background(0.09804f, 0.6274f, 0.8784f));
return scene;
}
}
The reason this works is because you're using a pre-compiled/packaged jar of AndEngine, and it just seems to work better with AIDE. The only issue with this is that it's much more difficult to update the jar (as opposed to just pulling from git again), but for app development on the go, this should be perfectly fine for most people to use the static jar.
If you run into issues while compiling the jar, try giving mine a shot. Just download it from the attachments.
If you guys have any issues, post them here and I'll try to address them.