Hey,
I am currently setting up jenkins on azure with meteor.
I installed all dependencies and did everything described here: https://github.com/meteor/meteor/wiki/Mobile-Development-Install:-Android-on-Linux
But I am running into a problem when I do the following command:
meteor build ../build --server http://my-server:3001 --mobile-settings ./private/mySettings.json --verbose
The output of the verbose reveal this:
Status of the requirements:
✓ Java JDK
✓ Android SDK
✗ Android target: Android SDK not found. Make sure that it is installed. If it
is not at the default location, set the ANDROID_HOME environment variable.
✓ Gradle
ANDROID_HOME is defined as well as path is extended by “tools” and “platform-tools” folders.
Later in the building process I got the following error:
/
home/tomcat/.meteor/packages/meteor-tool/.1.1.8.2btx7t++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/fibers/future.js:278
throw(ex);
^
TypeError: Cannot read property 'func' of undefined
at Object.exception (/tools/utils/buildmessage.js:498:18)
at /tools/cli/commands.js:947:22
at /tools/utils/buildmessage.js:268:13
at [object Object]._.extend.withValue (/tools/utils/fiber-helpers.js:114:14)
at /tools/utils/buildmessage.js:261:29
at [object Object]._.extend.withValue (/tools/utils/fiber-helpers.js:114:14)
at /tools/utils/buildmessage.js:259:18
at [object Object]._.extend.withValue (/tools/utils/fiber-helpers.js:114:14)
at /tools/utils/buildmessage.js:250:23
at [object Object]._.extend.withValue (/tools/utils/fiber-helpers.js:114:14)
at Object.capture (/tools/utils/buildmessage.js:249:19)
at Object.main.captureAndExit (/tools/cli/main.js:268:29)
at buildCommand (/tools/cli/commands.js:940:10)
at Command.main.registerCommand._.extend.name [as func] (/tools/cli/commands.js:791:12)
at /tools/cli/main.js:1378:23
Can aynone help or have some advice for me.
I did meteor reset and also meter remove and afterwards add platforms as well.