[Q] How to change apk package name - Android Q&A, Help & Troubleshooting

I just recently tried to upload an app to the play store that I made on a site.
But every time I try to upload the .apk it said that it failed to save changes, then it said that the package name is already on the store.
If anyone knows how to fix this please post below, As it would be a great help.
Picture and apk are attached.

Bump
Bump - Please help! :good:

M4ttz said:
I just recently tried to upload an app to the play store that I made on a site.
But every time I try to upload the .apk it said that it failed to save changes, then it said that the package name is already on the store.
If anyone knows how to fix this please post below, As it would be a great help.
Picture and apk are attached.
Click to expand...
Click to collapse
Change the package name in code and associated files with it, and then compile and execute the apk, sign it and then try to publish.
via Phone

I know that but there is so many files associated with it. It would take forever to do so!
Thanks for making the effort to help though.:good:

M4ttz said:
I know that but there is so many files associated with it. It would take forever to do so!
Thanks for making the effort to help though.:good:
Click to expand...
Click to collapse
you can right click the project in eclipse and there is android tools, you can change the package name there..
and oh you need to sign the package first before uploading it to playstore

Related

Can someone upload this app? [Detexify]

Hello,
I'm searching for an app. It's called detexify. You can find it in the link. It's free and it can be download from the market. But not from my phone (Tattoo with Cyanogenmod7). I have the market patched but can't still download it. Can someone download it and upload the apk here?
Thanks
no apks
Windoze can't find the apk. No surprise there. Maybe I can get it with Kies but not until next week. My linux machine is down and I have a conference this week. I hate non-responsive replies so I'll keep this part brief. You might want to get a rom and/or loader that will allow d/l from Playstore ..
supersx said:
Hello,
I'm searching for an app. It's called detexify. You can find it in the link. It's free and it can be download from the market. But not from my phone (Tattoo with Cyanogenmod7). I have the market patched but can't still download it. Can someone download it and upload the apk here?
Thanks
Click to expand...
Click to collapse
Here it is

How to install multiple instances of the same .apk

I was tinkering and editing an apk, and i managed to compile it and install it fine and it works and is suited to me. So i was wondering ( not too good with xmls ), is it possible to edit the manifest file to rename the apk so I can install multiple copies ( i.e. have the original unmodified one and the modified one at the same time ). I need this for testing purposes. Which lines do i need to edit exactly so the phone doesn't give me the "installing this application will replace the current..." warning, so I can multiple instances of it?
Hope I'm being clear on what exactly I need, any help is appreciated. Cheers
Edit : Just found a post from this guy on a simillar thread that i couldn't find using search
levenum said:
It is not a simple matter.
APKs are managed by package name, not by file name, but you can't simply change the package name in the manifest of a compiled APK.
Even assuming you manage to do it without messing up the file, which is not a simple task, there will still be code referring to the package name, so the app will crash.
Click to expand...
Click to collapse
So is this true ?
Yes it is, I've tried.
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
Yeah. Even if you could modify the package name, there could be hardcoded references to this application's intents within the source, which could cause problems when you realise you'll have to also change all of the intent-filters as well.
Its probably more trouble than its worth, as you'll be spending most of your time working out bugs introduced by your editing the APK.
I know its not exactly what you're after but why not try to run the modified app in the emulator on ur computer?
- chris
cttttt said:
Yeah. Even if you could modify the package name, there could be hardcoded references to this application's intents within the source, which could cause problems when you realise you'll have to also change all of the intent-filters as well.
Its probably more trouble than its worth, as you'll be spending most of your time working out bugs introduced by your editing the APK.
I know its not exactly what you're after but why not try to run the modified app in the emulator on ur computer?
- chris
Click to expand...
Click to collapse
Yeah, thought so myself. Used the emu for a while, but It's so damn slow, can't compare it to actual testing. Nvm, I've dropped the matter anyway. Thanks for the reply
Hey try this
http://forum.xda-developers.com/android/software/tool-android-multiple-apk-file-t3516849
akash45 said:
Hey try this
http://forum.xda-developers.com/android/software/tool-android-multiple-apk-file-t3516849
Click to expand...
Click to collapse
Is not that a multiple app apk installer ?
I think op wants a way to install multiple instances of the same APk.
Thanks
prudra said:
Is not that a multiple app apk installer ?
I think op wants a way to install multiple instances of the same APk.
Thanks
Click to expand...
Click to collapse
Okay my bad

[Q] 2nd Facebook app.

hi all,
I want to log 2 FB accounts on my phone. the 1st acc, im using native FB app on playstore, and i did try several apps for the 2nd account. but after all, IMO, native FB app is still the best now, and i want to use it too for the 2nd acc.
it means i have to install FB app twice on my phone. i google for some days and find out, changing the package name and app name of FB app to something else would let me install it twice. so this what i did:
- decompile latest FB app version 3.2.1.
- change package name from com.facebook.kanata to com.facebook.kanata2
- change app name from Facebook to Facebook2 in string file.
- recompile & sign.
all successful, but i cant install that modified app. my phone shows app not installed.
so do i miss something in modifying or it is just impossible to do that?
Thanks in advance and im looking forward to your help.
p.s: Im sorry if my thread isnt meant to be here.
Nope your thread isn't meant to be here. It should be in q and a. Report it and have it moved.
Regards
N
up, and looking for help
yaibakt said:
up, and looking for help
Click to expand...
Click to collapse
you should have changed it to
com.facebook2.kanata
i needed and done the same as you but changed mines to
com.fb.kanata
and changed the app name to fb
parenti2k9 said:
you should have changed it to
com.facebook2.kanata
i needed and done the same as you but changed mines to
com.fb.kanata
and changed the app name to fb
Click to expand...
Click to collapse
thank you. would you mind upload your modified fb app to any host and give me the link, in case i still couldnt make my app work?
update:
i did the exactly same thing as you said:
package="com.fb.katana"
Click to expand...
Click to collapse
in AndroidManifest.xml
and
<string name="app_name">FB</string>
Click to expand...
Click to collapse
in strings.xml
but after recompile and sign, i still couldnt install it.
could you please share me your modified apk file that could work?

[Q] Edit .apk wirh winRAR possible?

Hey guys,
I was searching for a tool to edit an apk file and i found Apk Tool on xda but i think it's not
that much easy to work with this program. (for a n00b, like me.. )
I managed to open and edit te file with winRAR,
but is this program also capable of proper compiling the app again, ready to use?
I tried it and it worked well i think, but is this possible with any app or other kinds of changes?
If this is stupid or something, please tell me. I am not very experienced in these kinds of things.. (neither in english, sorry.. )
Somebody any ideas?
Thanks in advance!
bart1996 said:
Hey guys,
I was searching for a tool to edit an apk file and i found Apk Tool on xda but i think it's not
that much easy to work with this program. (for a n00b, like me.. )
I managed to open and edit te file with winRAR,
but is this program also capable of proper compiling the app again, ready to use?
I tried it and it worked well i think, but is this possible with any app or other kinds of changes?
If this is stupid or something, please tell me. I am not very experienced in these kinds of things.. (neither in english, sorry.. )
Somebody any ideas?
Thanks in advance!
Click to expand...
Click to collapse
It all depends on what you edit,obviously you didnt make a fatal change,so it must have been small,no its not possible to edit anything else as far as the manifest and xml files.You'll get a parsing error.
Diablo67 said:
It all depends on what you edit,obviously you didnt make a fatal change,so it must have been small,no its not possible to edit anything else as far as the manifest and xml files.You'll get a parsing error.
Click to expand...
Click to collapse
Okay, that's true i only changed those kinds of files and it wasn't a problem yet.
I changed somethings in an demo version of an app and now it recognizes it as the full version so winRAR can be pretty usefull for apk edit if you keep things simple like this..
bart1996 said:
Okay, that's true i only changed those kinds of files and it wasn't a problem yet.
I changed somethings in an demo version of an app and now it recognizes it as the full version so winRAR can be pretty usefull for apk edit if you keep things simple like this..
Click to expand...
Click to collapse
It only really works for editing images.
Admitting this is a nice way to get banned
Wayne Tech Nexus

Re Create APK File

Hey Everyone ! Guys Firstly If I Posted In Wrong Section Im Sory For That But I Need To Some Help. I Got Source Codes Of An Android APK File I Want To Edit That As I Want. There Is "Class Files" I Have Edited In Text File And Converted Back To Class File But IDK If It Works So How Can I Edit That Codes In A Class File ? And Second After DoThat How Can I Make It APK Again I Mean How to Re Create APK File With That My Own Codes. Someone Can Help Me ? Its So Much Important , Thanks Everyone
I think, if have all necessary files, you need to compile a project from android studio.
There are several topics that will help you.
Rierei said:
I think, if have all necessary files, you need to compile a project from android studio.
There are several topics that will help you.
Click to expand...
Click to collapse
its an anroid game so animations , graphics etx hard to do so i just want to change dex file of apk , is that possible and how , i just wondwer it
umutt1905 said:
Hey Everyone ! Guys Firstly If I Posted In Wrong Section Im Sory For That But I Need To Some Help. I Got Source Codes Of An Android APK File I Want To Edit That As I Want. There Is "Class Files" I Have Edited In Text File And Converted Back To Class File But IDK If It Works So How Can I Edit That Codes In A Class File ? And Second After DoThat How Can I Make It APK Again I Mean How to Re Create APK File With That My Own Codes. Someone Can Help Me ? Its So Much Important , Thanks Everyone
Click to expand...
Click to collapse
From the way you worded it it sounds more like you have a decompiled apk, not the source code for the apk. Depending on what you want to edit you may need the actual source code to make the changes. What are you trying to do?
zelendel said:
From the way you worded it it sounds more like you have a decompiled apk, not the source code for the apk. Depending on what you want to edit you may need the actual source code to make the changes. What are you trying to do?
Click to expand...
Click to collapse
I m trying to get admin permissions by editing codes. i got some codes with dex2jar from classses.dex file . and game got commands ... some commands like give money , health , energy etc need admin or modarator permissions. for example "super("Armor", SocialEnums.UserRole.Admin);" in codes its admin but i can change it to Player so then i can use that comman.
if i cant get admin - modarator permissins then i can edit prices of items to free but as i said i need to learn how to re-create apk
umutt1905 said:
I m trying to get admin permissions by editing codes. i got some codes with dex2jar from classses.dex file . and game got commands ... some commands like give money , health , energy etc need admin or modarator permissions. for example "super("Armor", SocialEnums.UserRole.Admin);" in codes its admin but i can change it to Player so then i can use that comman.
if i cant get admin - modarator permissins then i can edit prices of items to free but as i said i need to learn how to re-create apk
Click to expand...
Click to collapse
What you are trying to do is considered cracking an app which makes it warez. This is banned on this site. You will find no help doing what you want. As for decompiling and recompiling an apk there are tut all over the site. Search and you fill find what you need. But take this as your warning. Asking for help cracking the app will get you banned. Take this as your only warning.
zelendel said:
What you are trying to do is considered cracking an app which makes it warez. This is banned on this site. You will find no help doing what you want. As for decompiling and recompiling an apk there are tut all over the site. Search and you fill find what you need. But take this as your warning. Asking for help cracking the app will get you banned. Take this as your only warning.
Click to expand...
Click to collapse
ok , thanks for warning but im working on hack so asked here. working on money hack and btw i know developers of that game so i have no bad goal to do on servers and already cant if i could get admin permissions. then can you guidance me to recomplng apk , i coudnt find on forums its so complex to find tnx

Categories

Resources