actionbarsherlock - Android Studio - Gradle Manifest Merging Failed -
i building demo app using actionbar sherlock in android studio , facing problem , mentioned in following link :- previous problem
now after following replies posted on above link did changes , facing
gradle: execution failed task ':sherlocktest:processdebugmanifest'. > manifest merging failed. see console more info.
my application manifest file :-
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.sherlocktest" android:versioncode="1" android:versionname="1.0" > <uses-sdk android:minsdkversion="10" android:targetsdkversion="16" /> <application android:allowbackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/apptheme" > <activity android:name="com.example.sherlocktest.mainactivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> </application> </manifest>
and actionbar sherlock manifest file :-
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versioncode="440" android:versionname="4.4.0" package="com.actionbarsherlock"> <uses-sdk android:minsdkversion="10" android:targetsdkversion="16"/> <application/> </manifest>
i not able figure out problem here, please
make sure in build.gradle scripts minsdkversion , targetsdkversion correspond have in manifests:
android { defaultconfig { minsdkversion 10 targetsdkversion 16 } }
this worked me, hope trick you, cheers.
Comments
Post a Comment