Libraries should rarely specify a targetSdkVersion. You are better off omitting it.
On Sun, May 18, 2014 at 2:48 PM, Tobias N <[email protected]> wrote: > I ran into the same problem and could solve it, the problem lays in > different specification of uses-sdk in AndroidManifest.xml, e.g.: > > Main: > ... > <uses-sdk > android:minSdkVersion="9" > android:targetSdkVersion="19" /> > ... > Lib: > ... > <uses-sdk > android:minSdkVersion="9" > android:targetSdkVersion="18" /> > ... > Results in "Unkown error merging manifest". Fix this by specify the same > targetSdkVersion. > > Best Regards > > Am Sonntag, 27. April 2014 12:39:28 UTC+2 schrieb Adrian Ivasku: > >> I have the same problem. Did you found a solution ? >> >> Greetings, >> Adrian >> >> On Friday, July 26, 2013 5:50:54 PM UTC+2, Nikhil Shah wrote: >>> >>> Hi, >>> >>> I am on ADT 22. I am using the feature >>> >>> manifestmerger.enabled=true >>> >>> To merge the AndroidManifest files of my main Application and the Lib >>> Application. >>> >>> I am getting error >>> >>> Unknown error merging manifest >>> >>> Few details - >>> >>> In my Lib I have configuration for Android Google Maps v2.0 i.e. >>> uses-permission, uses-feature, and meta-data. >>> >>> In my mainApplications/bin/AndroidManifest.xml file I see that I have >>> no uses-feature added. >>> I can see the uses-permission, and activities added from my Lib's >>> AndroidManifest file. >>> >>> >>> Cheers >>> Nik >>> >>> >>> -- > You received this message because you are subscribed to the Google Groups > "adt-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
