Hi, Guilaume

Thanks for using Crosswalk.
Besides renaming the src folder and AndroidManifest.xml. There are java 
imports, class path in layout.xml need to be updated as well.
You may check all these references by doing a grep and replace them with 
updated package name and app name.
Another option is to import your project into eclipse, and use the “rename” 
function in eclipse which will automatically do all replacing for you.

Thanks,
Shiliu.

From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of 
Guillaume Lepinay
Sent: Monday, August 25, 2014 5:01 AM
To: [email protected]
Subject: [Crosswalk-help] How to rename the package name and the application 
name safely

Hello every one,

I'm creating an application and I have a "dev" version that connects a testing 
server dedicated for the test. The app is nammed "AppDev" and its package is 
com.company.dev.app

Now I would like to create the final version of this app. I copied the existing 
app to another folder, and since I would like to run the dev app and the final 
app, I would like to rename the package and app name for the new copied app.

How can I rename the package (from com.company.dev.app to com.company.app) and 
the app name (from AppDev to App) ?

I think I can changed some details in AndroidManifest.xml, and rename the 
folders in src to match the new package... but I think it's not enough because 
after that my app crashes...

Thank you for your help about this.

​Regards
,
Guillaume
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to