Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Support for aapt --rename-manifest-package #191

Open
migo opened this issue Sep 4, 2013 · 2 comments
Open

Support for aapt --rename-manifest-package #191

migo opened this issue Sep 4, 2013 · 2 comments

Comments

@migo
Copy link

migo commented Sep 4, 2013

Hi,

I'm trying to create two versions of my android app. That means that I have to have two different package names in the AndroidManifest file.

An easy solution to this problem would be to use aapt --rename-manifest-package, as described here:
http://www.piwai.info/renaming-android-manifest-package/

I think aaptGenerateTask in AndroidBase.scala would have to be changed to support this package name parameter.

@appamatto
Copy link
Collaborator

That's a good idea, I did this with --custom-package which is less useful because it doesn't resolve the .Foo class names.

@migo
Copy link
Author

migo commented Sep 5, 2013

Hi Matthew,

is the --custom-package option already possible with android-plugin? It does not seem to be.
Do you have some code that could be adapted to --rename-manifest-package?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants