andengineaugmentedrealityextension.jar has some problems when using it to implement this example on emulator, so you can use some files to replace the .jar file
Create the package org.anddev.andengine.extension.augmentedreality and create 2 files like this
Here is the code of BaseAugmentedRealityGameActivity class
package org.anddev.andengine.extension.augmentedreality;import org.anddev.andengine.opengl.view.ComponentSizeChooser;import org.anddev.andengine.opengl.view.RenderSurfaceView;import org.anddev.andengine.ui.activity.BaseGameActivity;import android.graphics.PixelFormat;import android.os.Bundle;import android.view.ViewGroup.LayoutParams;