Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Allow overriding the package of the R class #607

Description

@adrianroos

Currently, the package of the R class is derived from the AndroidManifest.xml.

The aapt tools allows overriding the application package without changing the locations of the BuildConfig or R classes to avoid having to change the code. This behaviour breaks AndroidAnnotation's R lookup.

As an enhancement, it should be possible to specify the package of the R class similar to how the path to the AndroidManifest.xml file can be overriden.

Activity

  1. DayS commented on Jun 3, 2013

    @DayS
    Contributor

    I never try this kind of things. @pyricau @mathieuboniface @JoanZapata any idea about that ?

  2. JoanZapata commented on Jun 3, 2013

    @JoanZapata
    Contributor

    I can't say, I always build with Maven, which provides an alternative for this that doesn't break AA.

  3. DayS commented on Jun 6, 2013

    @DayS
    Contributor

    I didn't test the PR but the code seems ok to me

  4. added a commit that references this issue on Jun 9, 2013
  5. DayS commented on Jun 9, 2013

    @DayS
    Contributor

    Merged. Thanks :)

  6. adrianroos commented on Jun 10, 2013

    @adrianroos
    ContributorAuthor

    Cool thanks guys :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions