The problem is that your app is declaring minSdkVersion 8 but you're
depending on something that require 15+

Since it's for a test app, we can fix this by making your test app only
work on API 15, but then we need to handle different minSdkVersion for the
main app and the test app (and of course this will restrict where you can
test your app).


On Tue, Jun 10, 2014 at 3:26 AM, Diego Costantini <
[email protected]> wrote:

> Opened a bug: https://code.google.com/p/android/issues/detail?id=71147
>
>
> On Tuesday, June 10, 2014 10:25:08 AM UTC+2, Diego Costantini wrote:
>>
>> Same issue :(
>>
>> On Monday, June 9, 2014 6:24:22 PM UTC+2, Edward Dale wrote:
>>>
>>> I'm using Jake Wharton's double-espresso (https://github.com/
>>> JakeWharton/double-espresso). I've just updated my app to version
>>> 0.11.1 of the gradle build tools and get the following error when building
>>> now:
>>>
>>> ...
>>> :app:processMyBadassAppDebugTestManifest
>>> /Users/scompt/MyBadassApp/android/build/intermediates/exploded-aar/com.jakewharton.espresso/espresso/1.1-r3/AndroidManifest.xml:0:0
>>>  Error:
>>>     uses-sdk:minSdkVersion 8 cannot be smaller than version 15 declared in 
>>> library test manifest
>>> :app:processMyBadassAppDebugTestManifest FAILED
>>>
>>> FAILURE: Build failed with an exception.
>>>
>>> * What went wrong:
>>> Execution failed for task ':app:processMyBadassAppDebugTestManifest'.
>>> > java.lang.RuntimeException: Manifest merger failed : 
>>> > uses-sdk:minSdkVersion 8 cannot be smaller than version 15 declared in 
>>> > library test manifest
>>>
>>> I can workaround the error by either using the old manifest merger:
>>>
>>> android {
>>>     useOldManifestMerger true
>>>     ...
>>> }
>>>
>>> or by setting the minSdkVersion of my app to 8, which obviously isn't a
>>> workable solution.
>>>
>>  --
> 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.
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
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.

Reply via email to