New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package install error #684
Comments
And due to this reason I can't able to ad my admob real data |
When exporting an APK, zipalign gets run to optimize the APK file. Somehow that currently ends up corrupting the signature though. To fix that, sign the .apk again with e.g. apk-signer. |
Can you give a advice in briefly how Can I currently fix the error currently because my app is live on Amazon app store and I have to update it with same signature |
|
I already did it but Ii can't fix😣😣😣 |
what? |
I have already tried it but it is not fixing |
This is my app : https://www.amazon.com/dp/B09PZVR7L7/ref=apps_sf_sta |
Did you turn on aligning in apk-signer? If yes, try turning that off. |
I tried both but did not working. |
@JavkhlanK I found a way to fix admob problem I replaced test id's to my real id's using XML and Java command block. |
Don't publish .apk files generated by the Run button. They should only be used for testing. |
Thanks for your information but why? |
They contain debug code, like test ad IDs or the debug logcat logger. There might even be more, but those .apk files just aren't meant to be shared with others. |
Ok but there is any hope to fix that? |
First you have edit the apk file with the help of apk editor ,just change anything like minimum SDK 20 then build the apk and sign the exported apk with apk signer it will work definitely. |
Seems like an issue in apk-signer, I don't know. Maybe try using MT Manager instead. |
That won't work. The app would still be using test ad IDs, no matter if it was signed or not. |
Bro just Export sign apk then edit with apk editor then sign with apk singer it will definitely work.I tested |
Not working bro |
Caution: If you sign your APK using apksigner and make further changes to the APK, the APK's signature is invalidated. If you use zipalign to align your APK, use it before signing the APK. it already said what is the problem here, if I sign the project, it sign first before the zipalign, kindly see the execution process in java code (I cant find the java files for the execution order so I cant a pull a request) |
That only applies when using apksigner, which isn't being used when exporting a signed APK or AAB. Sketchware Pro uses kellinwood's zipsigner instead, which should work like jarsigner, so it also aligns the file after signing just like that docs page tells to do. That apparently doesn't work though! 😩 |
😥 |
I think I've finally fixed this. Get the latest snapshot build as always if you'd like to test that out. |
Oh! Thanks a lot ❤ |
Can I close this issue? |
can I pull a request about this? I fixed it using this method, although I also fix the installation blocked by playstore, although it needs some testing before I pull a request for both this |
Don't, let's keep this open until v6.4.0-rc06 is released. |
I already did that with commit c5b3f09, even though the app doesn't use apksigner in some cases. |
When will release |
I am waiting for a long time😥 |
When it's ready. It just isn't possible to estimate when exactly. |
I used to create app and sign it from sketchware but when v6.4.0rc-05 miniApi 26 my app is run good but it is not signing I am sketchware sign my apk but the apk is not installing.
In old version(v6.4.0rc-04 miniApi 26) the apk is installing with no problem please guide me to fix it or if it is a bug please try to fix it.
The text was updated successfully, but these errors were encountered: