Hello !t
Is the package name important or I can write any package name in my app
and if I need update my app is package name required or just key store
please help me
When you create a new java project, no matter if it is android or not, you need a package name but you can choose your own using the pattern your.custom.packagename.bla.bla and even more additions if you want. It is used to identify your app in an app store, hierarchically order your code etc.
Your package name is used in any java class inside your project and it should stay the same all the time.
When you update your app, you create an updated apk file from your project so it automatically contains your package name
--------------------
Phone: Nexus 4
OS: rooted Lollipop LRX21T
Bootloader: unlocked
Recovery: TWRP 2.8.2.0
Thanks
But now If I upload my app to google play, Is possible change the name of package name in source code or I must put old package name
In this case what is importance of the key store and If any one know my package name is that problem or not ?
thanks
You must use the one from the source code
No don't worry, the package name serves for identification of the app so it actually is rather good if people know it.
The keystore is used to digitally sign your apk file and makes sure that people cannot pretend that their app is yours.
For example if anybody else would make a duplicate app that has the same package name and they tell users of your app that they should install this apk file because it is an "update" for your app (but it actually is a malicious duplicate), then android will refuse to install that app and tell theuser that the bad app isn't signed with your original signature and is potentially bad.
--------------------
Phone: Nexus 4
OS: rooted Lollipop LRX21T
Bootloader: unlocked
Recovery: TWRP 2.8.2.0
thanks so much
Related
I've been looking for a way to do this for the past couple days with no luck. Just to get any suspicions out of the way, I am not using this to steal someone else's work, it's for a workaround for a game that I'm trying to accomplish using two save files. I've tried going into the android manifest, editing the package name, and then resigning the apk with no luck (i just get parsing errors when I try to install). Is there any way that this can be done? or am I missing something?
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.
To put it simply, you would be better off getting your device rooted (if you don't already have root) and playing with the application data files if you want to cheat at some game.
Hi
I have a folder with +2000 apk files and they named like 'app.apk' , 'app1.apk' , and many more like this. so I want to make a software that rename these files like this
app.apk ---> <ApplicationName> <version> .apk
so I need a way to get the application name from the package
I already tried decompiling xml file but there is only package name
I searched xda and google for this matter and no luck....
can you help me to get the application name?
Run "aapt d badging some.apk" and search for "application: label=". aapt is a part of SDK.
Brut.all said:
Run "aapt d badging some.apk"
Click to expand...
Click to collapse
Thanx for this very useful.
There is a script by phsorx that automates this
If you're really in a pickle you can put the apk on your device's sd card and run it. It will show you the app name and permissions before actually installing.
This method would be tedious and painful, but effective.
Comin' at you from Dead Space. 2, that is.
apkspy
or run this:
http://forum.xda-developers.com/showthread.php?p=14523375
it does exactly what you want.
I'm the author btw.
I use aapt.exe from latest SDK. Some apk doesn't show a label or a valid english label.
(Android Asset Packaging Tool, v0.2-3303571)
Your have to use the old version of aapt.exe that work great!
(Android Asset Packaging Tool, v0.2)
Im trying to upload a app to the market and when signing my APK`s im using signapk and I CANT do it. It says
Google Play does not accept apks signed with certificates issued by Android team. Create a new certificate that is valid for at least 50 years.
But I`m able to upload it without signing it, But then it DOESNT work it wont install.
Im able to sign it and get it to install on my phone but market place wont take it!
Can anyone Create me a key.pk8 and a certificite.pem? Cause I cant ive tried the past 5 hours. The only thing ive been able to do is make some keyfile using cmd. Can someone atleast create me one or PM me to create me one? using the Name Hunter under it.
Ive tried all guides with no luck
You should really make your own... instead of trusting strangers to handle your private key. I make my keystores using keytool, and sign using the Ant-based build process.
Incidentally: did you change the name of your package? I believe the Play store does not accept conflicting keys for the same package, for security reasons. Or maybe you need to remove the app completely and start over.
Hopefully this helps you out
http://developer.android.com/guide/publishing/app-signing.html
regaw_leinad said:
Hopefully this helps you out
http://developer.android.com/guide/publishing/app-signing.html
Click to expand...
Click to collapse
Nope. Already read. Goes right over my head
Sent from my SGH-I717R using xda premium
hyelton said:
Nope. Already read. Goes right over my head
Sent from my SGH-I717R using xda premium
Click to expand...
Click to collapse
Weel you said you already made your key w/ the keytool, so follow steps 3 & 4 EXACTLY. The JarSigner is part of the Java JDK, so you should already have that.
http://developer.android.com/guide/publishing/app-signing.html#signapp
regaw_leinad said:
Weel you said you already made your key w/ the keytool, so follow steps 3 & 4 EXACTLY. The JarSigner is part of the Java JDK, so you should already have that.
http://developer.android.com/guide/publishing/app-signing.html#signapp
Click to expand...
Click to collapse
can someone just make me one?
I`m about to give up. I was gonna use eclipse but NO couldn't down the add on had to do it manually. And now I gotta update a few other things which I cant cause the location im at is painfully slow at the moment
hyelton said:
can someone just make me one?
I`m about to give up. I was gonna use eclipse but NO couldn't down the add on had to do it manually. And now I gotta update a few other things which I cant cause the location im at is painfully slow at the moment
Click to expand...
Click to collapse
Well, it's your private key, and you don't want anyone else to get a hold of it, because if they do, they can release applications under your id. Without releasing that key to someone, there is no other way to have someone sign your apk with your private key.
regaw_leinad said:
Well, it's your private key, and you don't want anyone else to get a hold of it, because if they do, they can release applications under your id. Without releasing that key to someone, there is no other way to have someone sign your apk with your private key.
Click to expand...
Click to collapse
I know this. Thats why I would want to see if someone would make me one and Just PM me.
Hi
I am also try to create .pk8 and .pem file using my keystore .jks file.
I have created my .jks keystore file through android studio. But when i create .pem and .pk8 file using keystore tool and openssl tool, files created has some certification issue because when i try to sign the apk using these generated certificates got some signature exception.
Please help how can i create my private .pem and .pk8 file using generated .jks keystore file.
I am also try to create .pk8 and .pem file using my keystore .jks file.
I have created my .jks keystore file through android studio. But when i create .pem and .pk8 file using keystore tool and openssl tool, files created has some certification issue because when i try to sign the apk using these generated certificates got some signature exception.
Please help how can i create my private .pem and .pk8 file using generated .jks keystore file.
How can you guys know enough to develop an app, but can't figure out how to sign it??
Like he's trying to tell you oh, it would be like giving somebody your credit card number and CCV code. The purpose of a private key is just that, it's private.
Fire Hound 8.1
compile the below source and use according to usage.
I know that I am answering a 2012 thread, but it would be useful for others too.
I know that during the installation process, xaps are scanned for any "illegal" capabilities in the WMAppManifest.xml file. Does anyone know what purpose this file serves after an xap has been installed on the device?
My thought is this:
Install an app with a non-elevated WMAppMAnifest.xml. Then when you launch the installed app, it updates the xml file with additional capabilities (Interop Services, for example) and exits. Then when the app is relaunched, it will have access to the new capabilities in the xml file?
What do you guys think? Has this been done before? is that xml file only used during installation?
compu829 said:
I know that during the installation process, xaps are scanned for any "illegal" capabilities in the WMAppManifest.xml file. Does anyone know what purpose this file serves after an xap has been installed on the device?
My thought is this:
Install an app with a non-elevated WMAppMAnifest.xml. Then when you launch the installed app, it updates the xml file with additional capabilities (Interop Services, for example) and exits. Then when the app is relaunched, it will have access to the new capabilities in the xml file?
What do you guys think? Has this been done before? is that xml file only used during installation?
Click to expand...
Click to collapse
i think i tried this way and app returned failure error
i'm sure about that any app have to check capabalities during installation but in launch times i don't know that phone check caps again or no.
best work to test is changing this file in an interop unlock full fs phone and see the re-action
Caps are written to package manager database & global account database. WMAppManifest isn't used after installation is finished.
Yeah, this method was tried long, long ago.
Besides, even if it worked and the file was checked later, all that would mean is that you couldn't launch the app anymore. The capabilities-vs.-unlock-level appears to be checked at every startup, not just at install.
@GoodDayToDie @ultrashot I figured as much, thanks for the info.
On a semi-related note, I just received a completely different HTC 8x (T-Mobile branded) back from HTC (5th time in for repair). If this one really works, maybe I can have some fun with my Lumia 521 and/or try to figure out how to unbrand/mod the 8x. I really want to add WiFi calling to the 8x, but I need to add some certs, a missing dll, and some reg keys.
Hi,
I wanted to decompile, modify XMLs only of the Google Maps app and add one asset, and recompile the APK (only for personal use). I don't need to edit any of the source code. I already tried this process but the package will not install on my Galaxy S5. I just added an extra permission (may not be used since the code doesn't use it) and when I try to install the new APK it tells me that it requires the new permission (which is good), but when I click 'install' it tries to do it but ultimately says "app not installed."
Does anyone have any idea as to what is going on? I understand that once I sign the package with my own keystore, the Google API will stop working. I tried to create my own Google API key that is linked to my keystore, but that didn't seem to resolve the issue. I would appreciate any help from someone who has done this previously.
Thank you very much!
i'll do and tell you the results ...
Sent from my MI 4LTE using Tapatalk