The reason is the exported project (from Unity) has the same package name "com.qualcomm/QCARUnityPlayer" as one defined in QCARUnityPlayer.jar.
Please take the steps as I did it successfully.
1) Create your activity that extends QCARPlayerNativeActivity
package com.example.unitytest;
import android.os.Bundle;
import android.util.Log;
import com.qualcomm.QCARUnityPlayer.QCARPlayerNativeActivity;
public class MyUnityAR extends QCARPlayerNativeActivity{
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Log.i("Test", "MyUnityAR is running.");
}
}
2) Modify AndroidManifest.xml
< manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.unitytest" android:versionName="1.0" android:versionCode="1" android:installLocation="preferExternal" >
...
< application android:icon="@drawable/app_icon" android:label="@string/app_name" android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
< activity android:name=".MyUnityAR" android:label="@string/app_name" android:screenOrientation="portrait" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" >
3) Clean and Build, then enjoy.
Reference: https://developer.vuforia.com/resources/dev-guide/extending-unity-android-activity-and-adding-custom-views-eclipse