From dd70f1bcfb148113d81d33dbd110db1437089008 Mon Sep 17 00:00:00 2001 From: Sean Barbeau Date: Wed, 18 Dec 2013 23:31:18 -0500 Subject: [PATCH] Add empty element to avoid a Gradle error Per Android Team (http://stackoverflow.com/a/17757200/937715), library manifests should include an empty `` element. Otherwise, the application cannot use a targetSdkVersion number that is different than the library when using Gradle/Android Studio. If the app uses a different targetSdkVersion, you get a compile error `Manifest merging failed. - Main manifest has but library uses targetSdkVersion='19'`. --- library/AndroidManifest.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/AndroidManifest.xml b/library/AndroidManifest.xml index 0e057cf..82a43d3 100644 --- a/library/AndroidManifest.xml +++ b/library/AndroidManifest.xml @@ -7,5 +7,7 @@ android:versionName="2.4.0"> + +