I am using Unity3D 4.3.4 on a Mac.
I need to make some changes to the default androidmanifest.xml file that Unity produces.
I built my app without doing anything special yet and it runs fine on the Android device.
If I tell the build to generate an android project and then copy the androidmanifest.xml file into Plugins/Android and then build and run I get the following exception in logcat:
E/AndroidRuntime( 8539): FATAL EXCEPTION: main
E/AndroidRuntime( 8539): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.powerteq.ultra/com.powerteq.ultra.UnityPlayerNativeActivity}: java.lang.ClassNotFoundException: Didn't find class "com.powerteq.ultra.UnityPlayerNativeActivity" on path: /data/app/com.powerteq.ultra-1.apk
E/AndroidRuntime( 8539): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2106)
E/AndroidRuntime( 8539): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
E/AndroidRuntime( 8539): at android.app.ActivityThread.access$600(ActivityThread.java:141)
E/AndroidRuntime( 8539): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
I have not made ANY changes to the xml file yet. I just copied it and built. Can someone explain and help me fix this?
↧