I think I added support for this, but I'll have to double check. You
shouldn't have to manually go and input this yourself. If the tested
variant is proguarded, the mapping file should be automatically injected
when compiling the test app.




On Mon, Feb 24, 2014 at 4:04 AM, Ivan Biryukov <[email protected]> wrote:

> Hello!
>
> We are investigating possibility to use ProGuard or DexGuard to obfuscate
> our code.
> We also have a bunch of Robotium automated tests. We have a problem when
> we build the app with obfuscation enabled.  The classes in the app project
> are obfuscated, but the references to those classes in the tests are not.
> Hence tests fail right away.
>
> In Proguard/DexGuard there is an option to apply mapping from previous
> build to the next one. But I can't find a place where to put this option
> for tests, so that classes will be renamed according to obfuscation
> mapping. I think we need to put this option into buildType used for
> building tests, but I can't find how to access it. Does anyone now how to
> do that?
>
> 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/groups/opt_out.
>



-- 
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/groups/opt_out.

Reply via email to