Hello,
When I use the command: cordova build --release android
the CLI throws the following error:
Error: Cannot find module 'minimatch'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:286:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (C:\Users\sologic\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\glob\glob.js:44:17)
at Module._compile (module.js:434:26)
at Object.Module._extensions..js (module.js:452:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
But when I use Ionic Lab (Windows Installer) and using the Build option - it generates 'android-debug.apk'
& ‘android-debug-unaligned.apk
’ in the android\build\outputs\apk
folder.
What is wrong with the CLI ??
Also, can I use the android-debug-unaligned.apk for Signing and Aligning for submitting into Google Play ??
Please advice.