HI,
I have a problem trying to run my app project in the emulator.
I get the following:
Emulating your Cordova Project for android …
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=C:\Users\Mark\AppData\Local\Android\Sdk (recommended setting)
ANDROID_HOME=C:\Users\Mark\AppData\Local\Android\sdk (DEPRECATED)
Waiting for emulator to start…
Waiting for emulator to boot (this may take a while)…BOOT COMPLETE
Using apk: G:\Wappler_Projects\FANZP-2020-2\platforms\android\app\build\outputs\apk\release\app-release-unsigned.apk
Package name: nz.org.airnzpilots
(node:23360) UnhandledPromiseRejectionWarning: CordovaError: Error executing “adb -s emulator-5584 install -r “G:\Wappler_Projects\FANZP-2020-2\platfo
rms\android\app\build\outputs\apk\release\app-release-unsigned.apk””: adb: failed to install G:\Wappler_Projects\FANZP-2020-2\platforms\android\app\bu
ild\outputs\apk\release\app-release-unsigned.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Package /data/app/vmdl1271356668.tmp/base.apk has no
certificates at entry AndroidManifest.xml]
at G:\Wappler_Projects\FANZP-2020-2\platforms\android\cordova\lib\emulator.js:480:41
at ChildProcess.exithandler (child_process.js:279:5)
at ChildProcess.emit (events.js:160:13)
at maybeClose (internal/child_process.js:943:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
(node:23360) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function witho
ut a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:23360) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will te
rminate the Node.js process with a non-zero exit code.
Error emulating your Cordova Project for android!
It mentions a Deprecation Warning, the only deprecation I can see is the ANDROID_HOME, which is not in my enviromental variables, not sure where that is being driven from.
Any Suggestions.
Thanks Mark
Last updated: