Issue in Android build


#1

Hi,

I have an issue in android build. Please see the following error

WARNING: Cordova plugin nl.x-services.plugins.launchmyapp has been renamed to
cordova-plugin-customurlscheme as part of moving to npm. Please change
the App.configurePlugin call in mobile-config.js accordingly.
=> Errors executing Cordova commands:

While building Cordova app for platform Android:
Error:
/Users/username/project path/.meteor/local/cordova-build/platforms/android/cordova/build:
Command failed with exit code 2 Error output:
[Error: Android SDK not found. Make sure that it is installed. If it is not
at the default location, set the ANDROID_HOME environment variable.]
at ChildProcess.whenDone
(/Users/username/.meteor/packages/meteor-tool/.1.1.10.1r7kyto++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/cordova/superspawn.js:139:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:766:16)
at Socket. (child_process.js:979:11)
at Socket.emit (events.js:95:17)
at Pipe.close (net.js:466:12)


#2

What have you done about correcting that?


#3

@warehouseman:

I am done above procedure. But still i am getting the same issue.


#4

Windows? Linux? Apple?

If you do

meteor remove-platform android
meteor add-platform android

What gets displayed?

Did you run meteor install-sdk android?