linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] I tried to generate an apk with d ifferent pac


From: Sylvain Berfini
Subject: Re: [Linphone-developers] I tried to generate an apk with d ifferent package name, as seen in README, but without effec t. How to do?
Date: Fri, 07 Feb 2014 14:41:33 +0100
User-agent: Roundcube Webmail/0.9.5

Hi Rodrigo,

Changing the package name in the custom_rules file has for effect to call aapt with the --rename-manifest-package. Here's the documentation from aapt:
--rename-manifest-package
       Rewrite the manifest so that its package name is the package name
       given here.  Relative class names (for example .Foo) will be
       changed to absolute names with the old package so that the code
       does not need to change.

Basically it doesn't change anything in the code, it only change the package name used to identify the application (and so it changes the install path on the device), and it's also used when the app log messages in logcat.

Cheers.

---
Sylvain Berfini
Software Engineer @ Belledonne Communications

Le 2014-02-07 14:31, Rodrigo Pimenta Carvalho a écrit :
Hi.

I have followed the README file, changing the custom_rules.xml
accordingly (to generate a new apk with different package name), and
run the make clean + make.
The apk was generated. So I investigated it inside and I didn't see my
new package name in any file there. So, the changed custom_rules .xml
file did not take effect over the apk.

However, in folder gen, seen  via ADT, I see a new package and it has
exactly the new wanted name. So, I suspect that I still have to do
something with it. But, what?

Any hint will be very helpful!

Thanks a lot.

Rodrigo.
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers

!DSPAM:52f4dff119892607717058!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]