Oh, right. Too much context switching. The Gradle plugin is easy to build
as well and you don't need a linux system. It's just Java built with Gradle
so any system that can build Android should be able to build the plugin. I
forget the exact command, but it's documented on the tools site at the
prior link.


On Fri, Jun 13, 2014 at 8:35 AM, Diego Costantini <
[email protected]> wrote:

> It's just the gradle plugin, in particular the manifest merger.
> I could turn it off and use the old one, but then all the package name
> replacement would fail.
> I could try to prepare a Linux system to build the tools, but I'll wait
> until Monday when I'm back in the office, maybe something will happen in
> the meanwhile :D
>
> Sent from my Nexus 4
> On Jun 13, 2014 5:26 PM, "Jake Wharton" <[email protected]> wrote:
>
>> If the fix lands in AOSP then building your own Android Studio is easy. Clone
>> the project using repo
>> <http://tools.android.com/build#TOC-Getting-the-source-code>, cd
>> tools/idea, ant.
>> ​
>>
>>
>> On Fri, Jun 13, 2014 at 8:14 AM, Diego Costantini <
>> [email protected]> wrote:
>>
>>> I thought so, but even a mini tiny release with only that fix would be
>>> good, and affordable in the IO race ;)
>>>
>>> Sent from my Nexus 4
>>> On Jun 13, 2014 5:09 PM, "Jake Wharton" <[email protected]> wrote:
>>>
>>>> They usually update AS weekly(ish) if you're on the canary. The
>>>> impending I/O onslaught might slow things down, though.
>>>>
>>>>
>>>> On Fri, Jun 13, 2014 at 2:31 AM, Diego Costantini <
>>>> [email protected]> wrote:
>>>>
>>>>> Is a minor update coming out following the new AS 0.6.1?
>>>>> This issue here is blocking, and since the fix should be already
>>>>> reviewed... ;)
>>>>>
>>>>>
>>>>> On Wednesday, June 11, 2014 11:38:20 PM UTC+2, Xavier Ducrohet wrote:
>>>>>
>>>>>> yeah we identified the problem, fix is on its way. I was just
>>>>>> completely confused :)
>>>>>>
>>>>>>
>>>>>> On Tue, Jun 10, 2014 at 10:18 PM, Diego Costantini <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> According to the error, yes, and I think these are not conditions to
>>>>>>> fail the build.
>>>>>>> The other way around would be.
>>>>>>>
>>>>>>> Sent from my Nexus 4
>>>>>>> On Jun 11, 2014 6:54 AM, "Jake Wharton" <[email protected]> wrote:
>>>>>>>
>>>>>>>> The library in this case is min=8
>>>>>>>> <https://github.com/JakeWharton/double-espresso/blob/gradle/espresso/src/main/AndroidManifest.xml#L5>
>>>>>>>> and the app is min=15, from my understanding.
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Jun 10, 2014 at 9:49 PM, Diego Costantini <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>>  Doesn't it make sense to check the most restrictive combination
>>>>>>>>> and apply that one?
>>>>>>>>> As I see it, the lib should have at least all compatibilities
>>>>>>>>> required by the app.
>>>>>>>>> The problem is when the lib would be more restrictive, then I
>>>>>>>>> should be warned (at least).
>>>>>>>>>
>>>>>>>>> Sent from my Nexus 4
>>>>>>>>> On Jun 11, 2014 2:50 AM, "Xavier Ducrohet" <[email protected]>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>>  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 a topic
>>>>>>>>>> in the Google Groups "adt-dev" group.
>>>>>>>>>> To unsubscribe from this topic, visit
>>>>>>>>>> https://groups.google.com/d/topic/adt-dev/-Km7VgExKf4/unsubscribe
>>>>>>>>>> .
>>>>>>>>>> To unsubscribe from this group and all its topics, 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.
>>>>>>>>>
>>>>>>>>
>>>>>>>>  --
>>>>>>>> You received this message because you are subscribed to a topic in
>>>>>>>> the Google Groups "adt-dev" group.
>>>>>>>> To unsubscribe from this topic, visit https://groups.google.com/d/
>>>>>>>> topic/adt-dev/-Km7VgExKf4/unsubscribe.
>>>>>>>> To unsubscribe from this group and all its topics, 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.
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> 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.
>>>>>
>>>>
>>>>  --
>>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "adt-dev" group.
>>>> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d/topic/adt-dev/-Km7VgExKf4/unsubscribe.
>>>> To unsubscribe from this group and all its topics, 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.
>>>
>>
>>  --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "adt-dev" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/adt-dev/-Km7VgExKf4/unsubscribe.
>> To unsubscribe from this group and all its topics, 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.
>

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