getApplicationId() or getPackageName() behave exactly the same. This means:

- If the variant override its applicationId, it returns it.
- otherwise it returns the value from the manifest.

This has not changed. To get what you want, you'll need to parse the
Manifest file. This is fairly trivial with Groovy.

On Mon, Mar 23, 2015 at 1:28 PM, Mark Murphy <[email protected]>
wrote:

> On Mon, Mar 23, 2015, at 16:09, Xavier Ducrohet wrote:
> > packageName was only renamed applicationId. It's the same exact behavior
> > as
> > before. What's not working?
>
> FWIW, my interpretation is that they need the actual package name (where
> R gets generated), as found in the packageName attribute of the
> manifest.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 6.5:
> RecyclerView!
>
> --
> 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