MM2000
Aspiring developer
Profile
Posts: 207
Reg: Sep 06, 2011
Los Angeles
2,820
12/20/12 10:43 AM (13 years ago)

Can't Rename Package without the app crashing

Hey all. I'm trying to rename my package so I can do an update from my BT 1.4 to BT 2.0. The problem is, for some reason whenever I rename the package, the app crashes when it tries to open. I've followed the following directions: Right click package Select Refractor Renamed package to old package checked 'update references' checked 'rename subpackage' refreshed clean It didn't put out any errors when i did this, but when I tried to use the app on my phone to test it, it wouldn't open and crashed right away. Am I missing something? Is there a place in the manifest or strings I need to change? Thanks in advance!
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
12/20/12 12:22 PM (13 years ago)
Do you want to just rename the project or the actual classes? To rename the project just do what you've outlined above. If you want to rename the classes, that'll be tough, not even sure it's possible? I bet you'll have issues with the generated r.java file, the app delegate file, the references to the app delegate in all the class files, the package name in the manifest and so on and so on. The point is, it's easy to clone or re-name a regular android project, but not so easy to rename a paid service (if it can be easily renamed, it can easily be cloned).
 
CRTaylor
Aspiring developer
Profile
Posts: 71
Reg: Mar 16, 2012
Perth, Western ...
10,310
like
01/05/13 08:52 AM (13 years ago)
If you are still having problems maybe try uninstalling the app on your phone first. Cheers Carlos
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.