-
Notifications
You must be signed in to change notification settings - Fork 526
-
Notifications
You must be signed in to change notification settings - Fork 526
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
You uploaded an APK that is not zip aligned. You will need to run a zip align tool on your APK and upload it again. #3324
Comments
Hi @jrahma,
If you could record a diagnostic build log that would also help. |
Yes I am using the publishing UI using Archive and the Distribute and select the Keystore, enter the password then apk will be generated I am using Visual Studio 2019 Version 16.1.5 for Windows
Compile Using : Android 9.0 Minimum Android Version: Android 7.1 (API Level 25) Target Android Version : Android 9.0 (API Level 28) |
Diagnostic build log is attached Thanks |
Sorry @jrahma you might have to record the build log while deploying to device or emulator. It doesn't look like the signing steps are in this log. 😞 |
No worries @jonathanpeppers It's attached here now |
/cc @joj I think whatever is happening here is from the publishing workflow in VS, and we don't actually need an MSBuild log. Is there a log he can grab from the publishing UI that would help here? |
guys if this is going to take longer time then is there any workaround? I am supposed to publish the app this month and my hands are tied now because all apps giving the same problem. |
@jrahma you can configure your <AndroidKeyStore>True</AndroidKeyStore>
<AndroidSigningKeyStore>filename.keystore</AndroidSigningKeyStore>
<AndroidSigningStorePass>keystore.filename password</AndroidSigningStorePass>
<AndroidSigningKeyAlias>keystore.alias</AndroidSigningKeyAlias>
<AndroidSigningKeyPass>keystore.alias password</AndroidSigningKeyPass> And then build your APK with just the
|
@jrahma Thank you for your feedback! Given that you have a clear repro of the issue and in order to continue investigating, we would really like you to please report the error using the VisualStudio Here you can see the instructions https://docs.microsoft.com/en-us/visualstudio/ide/report-a-problem?view=vs-2019. When you report problems using this tool within VisualStudio, the IDE collects several diagnostic information that helps our investigation, like the IDE logs and environment configuration. Also, as there is some build specific information that is not automatically attached and can be useful to investigate this case, we would also ask you to please install the To start the tool please use the menu option The tools show up a start button that starts recording all the queries executed. After that please try to reproduce the problem creating the archive and trying to distribute it. Please attach to the reported error the content of the build output pane, the content of the Xamarin output pane and the logs detected by the tool related to the targets PackageForAndroid\SignAndroidPackage`. With all this information, we should be able to move forward with the investigation. Thank you for taking the time to report this problem, we look forward to hearing from you! |
Hi,
Why all my new projects shows shows:
when uploading the APK to Google Play?
and when I try:
zipalign.exe -v -p 4 C:\Temp\zipalign\com.jafaria.app.apk C:\Temp\zipalign\com.jafaria.app-aligned.apk
and upload the APK then I get:
I never shows these errors before
VS bug #976385
The text was updated successfully, but these errors were encountered: