'apksigner' is not recognized as an internal or external command, operable program or batch file. In Ionic v3

Viewed 5481

I'm trying build ionic android app using this Deploying to a Device

but showing error when i run this commend: apksigner verify HelloWorld.apk

Error:

D:\ionic\demoAds1>apksigner verify HelloWorld.apk
'apksigner' is not recognized as an internal or external command,
operable program or batch file.

D:\ionic\demoAds1>

Any Idea what to do?

2 Answers

Try running apksigner from the SDK build tools folder inside the folder where your Android SDK was installed:

D:\PATH-TO-ANDROID-SDK\build-tools\VERSION-NUMBER\apksigner.exe verify HelloWorld.apk

Also make sure that you are running the latest version of the build tools.

When I always try to sign and app I go to this page it has a few steps to do that sign with key tool and jarsigner

sign app

Related