I am getting the following error:
Error:(18, 0) Could not find property 'outputFile' on
com.android.build.gradle.internal.api.ApplicationVariantImpl_Decorated@2bbea216.
Even thought code inspection is showing the `variant` is having a field
`outputFile` ... what gives?!
(I am using `com.android.tools.build:gradle:1.1.1`)
On Wednesday, 11 June 2014 09:00:27 UTC+2, Stefan Hoth wrote:
>
> Hi Jean-Michel,
>
> sorry for the late reply. My current configuration looks like this and
> still works https://gist.github.com/stefanhoth/faedeb4c58615992937d
>
> Hope that helps. If not, please do as Xavier says and post the exact error
> messages.
>
> Cheers,
> Stefan
>
>
>
> On Tuesday, June 10, 2014 9:35:38 AM UTC+1, Jean-Michel Cazaux wrote:
>>
>> Some help on this would really be much apopreciated ;)
>>
>> JM
>>
>> Le mardi 3 juin 2014 19:52:39 UTC+2, Jean-Michel Cazaux a écrit :
>>>
>>> Hi there,
>>> I am trying to achieve teh same thing (renaming the apk file), but it
>>> seems the sample code does not work anymore with a recent Android plugin...
>>>
>>> Both variant.packageApplication.outputFile and variant.outputFile are
>>> erroring out.
>>>
>>> Any pointers to get this working on the last android plugin version ?
>>> Has it been replaced by something else ?
>>>
>>> Many thanks in advance,
>>> JM
>>>
>>>
>>> Le jeudi 11 avril 2013 13:59:36 UTC+2, Stefan Hoth a écrit :
>>>>
>>>> Hi again,
>>>>
>>>> I was trying to get the version number of the
>>>> "installMyFlavorRelease"-build. I was trying to modify the outputFile
>>>> property in build variants but this is read only.
>>>>
>>>> My prefered output format would be
>>>> <projectname>-<flavor>-<version>-<build type>.apk
>>>>
>>>> How can I do this?
>>>>
>>>> - Stefan
>>>>
>>>
--
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.