NinthDecimal / unity-wrapper

A Unity wrapper for the Kiip iOS and Android SDK's.
http://docs.kiip.com
6 stars 7 forks source link

Can't create AndroidManifest #9

Open zombipark opened 7 years ago

zombipark commented 7 years ago

Hello. When i click "Generate AndroidManifest.xml File..." in Unity 4.6.3f1, i get empty file

application> android:theme="@android:style/Theme.NoTitleBar" android:icon="@drawable/app_icon" android:label="@string/app_name" android:debuggable="true"> activity android:name="com.unity3d.player.UnityPlayerNativeActivity" android:label="@string/app_name"> intent-filter> action android:name="android.intent.action.MAIN" /> category android:name="android.intent.category.LAUNCHER" /> category android:name="android.intent.category.LEANBACK_LAUNCHER" /> /intent-filter> meta-data android:name="unityplayer.UnityActivity" android:value="true" /> meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" /> /activity> /application>

uses-permission android:name="android.permission.INTERNET"/> uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>

When i click "Generate AndroidManifest.xml File..." in Unity 4.3.3p3 or Unity 5.4.2f2, i get error: "Exception: Could not find an AndroidManifest.xml file in your Unity application directory"

Will5 commented 7 years ago

I think the method is in the KiipMenuItem.dll file, so I can't see what's up, but I think you need to have an AndroidManifest.xml first, and "Generate AndroidManifest.xml File..." updates it with Kiip stuff. Do you have an AndroidManifest.xml in Assets/Plugins/Android?