android - Cordova missing ANDROID_HOME variable to emulate -
how can emulator working? cordova missed android_home environment variable, set terminal output below shows
in netbeans works debug using browser of device, not emulation of app apk
yves@dell-xps:~/netbeansprojects/motion$ sudo cordova emulate [sudo] password yves: running command: /home/yves/netbeansprojects/motion/platforms/android/cordova/run --emulator error: error: android sdk not found. make sure installed. if not @ default location, set android_home environment variable. error: /home/yves/netbeansprojects/motion/platforms/android/cordova/run: command failed exit code 2 @ childprocess.whendone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:134:23) @ childprocess.eventemitter.emit (events.js:98:17) @ maybeclose (child_process.js:743:16) @ process.childprocess._handle.onexit (child_process.js:810:5) yves@dell-xps:~/netbeansprojects/motion$ echo $android_home /home/yves/android/sdk
Comments
Post a Comment