Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49237

When publish android apk iget zipalign error

$
0
0

@safaAlshaarri wrote:

hi everyone, when i publish app and do this step zipalign -v 4 app-release-unsigned.apk app.apk i get this error

 zipalign -v 4 app-release-unsigned.apk app.apk
zipalign : The term 'zipalign' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a
path was included, verify that the path is correct and try again.
At line:1 char:1
+ zipalign -v 4 app-release-unsigned.apk afanin.apk
+ ~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (zipalign:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException


Suggestion [3,General]: The command zipalign was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\zipalign". See "get-help about_Command_Precedence" for more details.```


my sdk is 8 and i tried to change it to 10 but nothing change

this is my ionic info

Ionic:


   ionic (Ionic CLI)  : 4.1.2 (C:\Users\sofe9\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.2.0

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : android 7.0.0, ios 4.5.5
   Cordova Plugins       : cordova-plugin-ionic-webview 2.1.3, (and 6 other plugins)

System:

   Android SDK Tools : 26.1.1 (C:\Users\sofe9\.android\sdk)
   NodeJS            : v10.11.0 (C:\Program Files\nodejs\node.exe)
   npm               : 6.4.1
   OS                : Windows 10


Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49237

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>