Posts

Showing posts with the label android-manifest

Unity: Unabe to merge Android Manifests

Image
Clash Royale CLAN TAG #URR8PPP Unity: Unabe to merge Android Manifests I am trying to make Android game using Unity. where I m using two modules which will use Plugin/Android feature 1. sqlite.so 2. SimpleNotification.aar It's giving me error : TempStagingAreaAndroidManifest-main.xml:4:58-89 Error: Attribute application@icon value=(@mipmap/app_icon) from AndroidManifest-main.xml:4:58-89 is also present at AndroidManifest.xml:10:3-36 value=(@drawable/app_icon). Suggestion: add 'tools:replace="android:icon"' to element at AndroidManifest-main.xml:4:3-12:17 to override. After searching net for many hours, tried many things: 1. tools:replace="android:icon” in 2. xmlns:tools=http://schemas.android.com/tools in 3. targetSdkVersion set in player Settings enter image description here But I have few queries like 1. How to know min/target Android API level for my libraries like .aar file or .so file which I m using 2. I have no Android Manifest file in...

How do I specify a .Preference activity in the manifest.xml of a library activity

Image
Clash Royale CLAN TAG #URR8PPP How do I specify a .Preference activity in the manifest.xml of a library activity I modeled my code after the TicTacToe sample application, so my setup is that I have an Application which is basically a shell that starts a common Activity which is in a separate eclipse project flagged as a shared library ( properties->IsALibrary ). I have add the the library to the calling activity's properties. I invoke the shared library code as follows: private void startGame() { Intent i = new Intent( this, calendar.class ); startActivityForResult( i, START_APPLICATION ); } my AndroidManifest for the calling activity is as follows: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.calendar" android:screenOrientation="portrait" android:versionCode="1" android:versionName="1.0"> <application a...