Discussion Forums  >  BT.com Website, Account Questions

Replies: 5    Views: 74

Joe Sprott
Code is Art
Profile
Posts: 414
Reg: Aug 20, 2011
Melbourne, FL
10,290
10/21/12 06:42 AM (11 years ago)

package names 1.4

I have a 1.4 app that a client wants to change icons on. The problem is that the package name has changed and google will not accept the .APK upload the original upload to google has a package name of com.v1_4.BD505F659177FCCDCD47155D.com after changing the app name to Realty one and changing the icon now the package name on download is com.v1_4.realtyone.com It has been so long since 1.4 I don't remember much but i need the package name to be the same.. can someone tell me how to rename my package. I tried simply doing it in the manifest but that does not seem to work I can't say why the original app was named this extended number but I remember in the olden day they all downloaded with big numbers. I have taken the new package name and inserted it into the android manifest and saved the file. tons of errors so I started looking to see if the package name needed to be changed in the error locations. am I correct in making this change to correct the problem for upload to google if someone can tell me how to upload the .apk with new icon I would be saying a big thanks
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
10/21/12 07:27 AM (11 years ago)
Hi @web, A few questions first: Did u put the icon in the image folder also? Did u change the name in the control panel? Did google accept the original, because I believe apk name doesnt matter unless u change the name of apk file then google will handle it as a new one but I will refer this to another developer.
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
10/21/12 09:31 AM (11 years ago)
In the package explorer pane on the left of eclipse, expand the project in question, expand the src folder, right click on com.v1_4.realtyone.com, select refactor > rename. Rename it. Make sure 'update references' and 'rename subpackages' are ticked. No need to tick the other options. Click ok. Check manifest for any entries that need to be manually changed (maybe some third party integration you've done?) That should be it... Right click project and hit refresh. Right click project > Android Tools > Fix Project Properties. Project (tab along the top) > Clean. Potential issues... When you try to rename the project, it may fail because the original package is still in your workspace. Just delete from workspace. Also, the project may still be in the metadata directory in the workspace folder. Delete from there too. The path will show in the problems pane if you have it enabled. And you'll also need the original keystore.
 
Joe Sprott
Code is Art
Profile
Posts: 414
Reg: Aug 20, 2011
Melbourne, FL
10,290
like
10/23/12 06:30 AM (11 years ago)
awesome help. the APK was not the same LA. thanks you were correct. also raveyd this help was invaluable as it opened my eyes. thank you both web
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
10/23/12 06:41 AM (11 years ago)
np :)
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
10/23/12 07:18 AM (11 years ago)
@web...yw
 

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.