when targetSdkVersion is not specified, it default to minSdkVersion (which itself defaults to one if not specified). see : http://developer.android.com/guide/topics/manifest/uses-sdk-element.html
On Wed Jan 21 2015 at 1:34:45 PM Дмитрий Исаков <[email protected]> wrote: > Are you sure? You mean only targetVersion or minVersion should also be the > same? > I changed target version of the library to the app version but this doesnt > help. > > понедельник, 19 мая 2014 г., 2:48:45 UTC+5 пользователь Tobias N написал: > >> 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.
