Android deployment with 1.6


#1

I am stuck on deploying to Android, if I use crosswalk, I get errors and if I remove it I still get errors.

Without crosswalk plugin, it seems its still using chromium
I20180305-09:10:08.390(-6)? 03-05 07:10:07.866 20842 20894 E chromium: [ERROR:instance.cc(49)] Unable to locate service manifest for metrics
I20180305-09:10:08.391(-6)? 03-05 07:10:07.866 20842 20894 E chromium: [ERROR:service_manager.cc(890)] Failed to resolve service name: metrics

With crosswalk
[ERROR:runtime_javascript_dialog_manager.cc(70)] Not implemented reached in virtual void xwalk::RuntimeJavaScriptDialogManager::ResetDialogState(content::WebContents*)


#2

I’m having this error too. Did you fix it?


#3

I just did an Android build and submitted to Google Play last night.
Am on 1.6.1 and everything went smoothly.

I did however, do a meteor reset before meteor build, so that may have something to do with it.
Give it a go and see…


#4

I had to add cordova-android-support-gradle-release@1.3.0 not sure why this fixed my problem.
I’m on 1.6.1.1
using

cordova-plugin-applepay-stripe@https://github.com/ricepo/cordova-plugin-applepay-stripe.git#8638b00d8a6755eec0e82052ed474e467a6cb3dd
cordova-plugin-camera@4.0.3
cordova-plugin-crosswalk-webview@2.2.0
cordova-android-support-gradle-release@1.3.0
cordova-plugin-device@2.0.2
cordova-plugin-dialogs@2.0.1
cordova-plugin-fullscreen@1.2.0
cordova-plugin-geolocation@4.0.1
cordova-plugin-inappbrowser@3.0.0
cordova-plugin-meteor-webapp@1.6.0
cordova-plugin-splashscreen@5.0.2
cordova-plugin-statusbar@2.4.2
cordova-plugin-tts@0.2.3
cordova-plugin-vibration@2.1.6
phonegap-plugin-push@1.6.4

#5

Here, I’ve made a ready to use docker image to bundle android
Tutorials included, hope it helps
https://hub.docker.com/r/rikyperdana/meteor-android/


#6

@rikyperdana awesome

Even after SU I am getting

meteor@fa9ef693d871:/buzzy7$ su meteor
Password: 
meteor@fa9ef693d871:/buzzy7$ meteor --settings ../buzzy-settings/settings.json -p 3000
/home/meteor/.meteor/packages/meteor-tool/.1.6.1_1.c76v6p.io9tw++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:218
      throw error;
      ^

Error: EACCES: permission denied, mkdir '/buzzy7/.meteor/local'
    at Object.fs.mkdirSync (fs.js:885:18)
    at Object.wrapper [as mkdir] (/tools/fs/files.js:1564:35)
    at Object.files.mkdir_p (/tools/fs/files.js:428:11)
    at Object.writeFileAtomically (/tools/fs/files.js:1019:11)
    at ProjectContext._saveResolverResultCache (/tools/project-context.js:597:11)
    at /tools/project-context.js:572:14
    at /tools/utils/buildmessage.js:359:18
    at exports.EnvironmentVariable.withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:352:34

any ideas?


#7

Maybe it’s something with your settings json? Have you tried it step by step as written in my tutorial?


Nearing end of tether trying to build Meteor 1.6.1.1 for Android
#8

Got it sorted I had cloned the repo into the wrong (hight leverl) directory/folder.

That said I am still in a world of pain trying to get this to work… nTeh current error in the Docker container is

%% apple-ios version check failed ("/home/meteor/buzzy7/.meteor/local/cordova-build/platforms/ios/cordova/apple_ios_version"), continuing anyways.
Subproject Path: CordovaLibns                [===                       ] 13% 59.6s
%% apple-ios version check failed ("/home/meteor/buzzy7/.meteor/local/cordova-build/platforms/ios/cordova/apple_ios_version"), continuing anyways.
%% apple-xcode version check failed ("/home/meteor/buzzy7/.meteor/local/cordova-build/platforms/ios/cordova/apple_xcode_version"), continuing anyways.
Subproject Path: CordovaLibns                [====                     ] 17% 806.5s
Google Sign-In prerequisitess                [====                     ] 17% 807.3s
START Running hook to add iOS Keychain Sharing entitlements (required since iOS 10)
Will add iOS Keychain Sharing entitlements to project 'Buzzy'          ] 17% 830.6s
END Running hook to add iOS Keychain Sharing entitlements (required since iOS 10)0s
%% Plugin doesn't support this project's cordova-android version. cordova-android: 6.4.0, failed version requirement: 
      <6.3.0
%% Skipping 'cordova-plugin-compat' for android                                    
npm WARN deprecated cordova-plugin-console@1.1.0: This plugin has been deprecated since it is now included in the latest versions of cordova-ios
%% Plugin doesn't support this project's cordova-ios version. cordova-ios: 4.5.4, failed version requirement: <4.5.0
%% Skipping 'cordova-plugin-console' for ios                                       
Subproject Path: CordovaLibns                [========                 ] 30% 404.5s
Subproject Path: CordovaLibns                [============             ] 47% 203.6s
Subproject Path: CordovaLibns                [==============           ] 56% 143.2s
cordova-android-support-gradle-release.after-prepare: ERROR: EXCEPTION: TypeError: Cannot read property 'length' of undefined
Subproject Path: CordovaLibns                [=================         ] 65% 99.8s
%% Plugin doesn't support this project's cordova-android version. cordova-android: 6.4.0, failed version requirement: 
      <6.3.0
%% Skipping 'cordova-plugin-compat' for android                                    
%% Plugin doesn't support this project's cordova-android version. cordova-android: 6.4.0, failed version requirement: 
      <6.3.0
%% Skipping 'cordova-plugin-compat' for android                                    
%% Plugin doesn't support this project's cordova-android version. cordova-android: 6.4.0, failed version requirement: 
      <6.3.0
%% Skipping 'cordova-plugin-compat' for android                                    
Subproject Path: CordovaLibns                [========================= ] 95% 11.0s
cordova-android-support-gradle-release.after-prepare: ERROR: EXCEPTION: TypeError: Cannot read property 'length' of undefined
cordova-android-support-gradle-release.before-prepare: ERROR: EXCEPTION: TypeError: Cannot read property 'length' of undefined
cordova-custom-config: Skipping auto-restore of config file backup(s)
cordova-android-support-gradle-release.after-prepare: ERROR: EXCEPTION: TypeError: Cannot read property 'length' of undefined
ANDROID_HOME=/home/meteor/android/d          /                                     
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
   Building Cordova app for Android          \        

BUILD SUCCESSFUL in 7s
1 actionable task: 1 executed
Subproject Path: CordovaLib Android          /
Downloading https://services.gradle.org/distributions/gradle-4.1-all.zip
   Building Cordova app for Android          | 
Unzipping /home/meteor/.gradle/wrapper/dists/gradle-4.1-all/bzyivzo6n839fup2jbap0tjew/gradle-4.1-all.zip to /home/meteor/.gradle/wrapper/dists/gradle-4.1-all/bzyivzo6n839fup2jbap0tjew
Set executable permissions for: /home/meteor/.gradle/wrapper/dists/gradle-4.1-all/bzyivzo6n839fup2jbap0tjew/gradle-4.1/bin/gradle
Starting a Gradle Daemon (subsequent builds will be faster)
Download https://maven.google.com/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.pom                                           Building Cordova app for Android          |
Download https://maven.google.com/com/android/tools/build/gradle-core/3.0.0/gradle-core-3.0.0.pom
Download https://maven.google.com/com/android/tools/build/builder/3.0.0/builder-3.0.0.pom
Download https://maven.google.com/com/android/tools/build/gradle-api/3.0.0/gradle-api-3.0.0.pom
Download https://maven.google.com/com/android/tools/external/org-jetbrains/uast/26.0.0/uast-26.0.0.pom
Download https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.1.3-2/kotlin-stdlib-1.1.3-2.pom
Download https://maven.google.com/com/android/databinding/compilerCommon/3.0.0/compilerCommon-3.0.0.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm/5.1/asm-5.1.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-analysis/5.1/asm-analysis-5.1.pom
Download https://maven.google.com/com/android/tools/lint/lint/26.0.0/lint-26.0.0.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-commons/5.1/asm-commons-5.1.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-parent/5.1/asm-parent-5.1.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-util/5.1/asm-util-5.1.pom
Download https://jcenter.bintray.com/org/jacoco/org.jacoco.core/0.7.4.201502262128/org.jacoco.core-0.7.4.201502262128.pom
Download https://jcenter.bintray.com/org/jacoco/org.jacoco.report/0.7.4.201502262128/org.jacoco.report-0.7.4.201502262128.pom
Download https://jcenter.bintray.com/net/sf/proguard/proguard-gradle/5.3.3/proguard-gradle-5.3.3.pom
Download https://jcenter.bintray.com/org/jacoco/org.jacoco.build/0.7.4.201502262128/org.jacoco.build-0.7.4.201502262128.pom       Building Cordova app for Android          -
Download https://jcenter.bintray.com/net/sf/proguard/proguard-parent/5.3.3/proguard-parent-5.3.3.pom                              Building Cordova app for Android          -
Download https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.0.0/protobuf-java-3.0.0.pom
Download https://jcenter.bintray.com/com/google/protobuf/protobuf-parent/3.0.0/protobuf-parent-3.0.0.pom
Download https://maven.google.com/com/android/tools/build/builder-test-api/3.0.0/builder-test-api-3.0.0.pom
Download https://maven.google.com/com/android/tools/sdklib/26.0.0/sdklib-26.0.0.pom
Download https://maven.google.com/com/android/tools/build/builder-model/3.0.0/builder-model-3.0.0.pom
Download https://maven.google.com/com/android/tools/sdk-common/26.0.0/sdk-common-26.0.0.pom
Download https://maven.google.com/com/android/tools/common/26.0.0/common-26.0.0.pom
Download https://maven.google.com/com/android/tools/build/manifest-merger/26.0.0/manifest-merger-26.0.0.pom
Download https://maven.google.com/com/android/tools/ddms/ddmlib/26.0.0/ddmlib-26.0.0.pom
Download https://maven.google.com/com/android/tools/analytics-library/protos/26.0.0/protos-26.0.0.pom
Download https://jcenter.bintray.com/org/bouncycastle/bcpkix-jdk15on/1.56/bcpkix-jdk15on-1.56.pom
Download https://jcenter.bintray.com/org/bouncycastle/bcprov-jdk15on/1.56/bcprov-jdk15on-1.56.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-tree/5.1/asm-tree-5.1.pom
Download https://jcenter.bintray.com/it/unimi/dsi/fastutil/7.2.0/fastutil-7.2.0.pom
Download https://jcenter.bintray.com/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1.pom
Download https://maven.google.com/com/android/tools/analytics-library/shared/26.0.0/shared-26.0.0.pom
Download https://maven.google.com/com/android/tools/analytics-library/tracker/26.0.0/tracker-26.0.0.pom
Download https://maven.google.com/com/android/tools/build/apksig/3.0.0/apksig-3.0.0.pom
Download https://jcenter.bintray.com/org/eclipse/jdt/core/compiler/ecj/4.6.1/ecj-4.6.1.pom
Download https://maven.google.com/com/android/tools/lint/lint-checks/26.0.0/lint-checks-26.0.0.pom
Download https://jcenter.bintray.com/com/google/guava/guava/22.0/guava-22.0.pom
Download https://jcenter.bintray.com/com/google/guava/guava-parent/22.0/guava-parent-22.0.pom                                     Building Cordova app for Android          -
Download https://maven.google.com/com/android/databinding/baseLibrary/3.0.0/baseLibrary-3.0.0.pom
Download https://jcenter.bintray.com/org/jetbrains/annotations/13.0/annotations-13.0.pom
Download https://jcenter.bintray.com/net/sf/proguard/proguard-base/5.3.3/proguard-base-5.3.3.pom
Download https://jcenter.bintray.com/com/google/code/gson/gson/2.3/gson-2.3.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-compress/1.12/commons-compress-1.12.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/39/commons-parent-39.pom                                   Building Cordova app for Android          /
Download https://jcenter.bintray.com/org/apache/apache/16/apache-16.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.2.6/httpclient-4.2.6.pom
Download https://maven.google.com/com/android/tools/dvlib/26.0.0/dvlib-26.0.0.pom
Download https://maven.google.com/com/android/tools/layoutlib/layoutlib-api/26.0.0/layoutlib-api-26.0.0.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-client/4.2.6/httpcomponents-client-4.2.6.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/project/7/project-7.pom                                            Building Cordova app for Android          |
Download https://maven.google.com/com/android/tools/repository/26.0.0/repository-26.0.0.pom
Download https://maven.google.com/com/android/tools/lint/lint-api/26.0.0/lint-api-26.0.0.pom                                      Building Cordova app for Android          /
Download https://jcenter.bintray.com/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.pom
Download https://jcenter.bintray.com/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.pom
Download https://jcenter.bintray.com/com/google/errorprone/error_prone_annotations/2.0.18/error_prone_annotations-2.0.18.pom      Building Cordova app for Android          -
Download https://jcenter.bintray.com/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.pom
Download https://jcenter.bintray.com/org/codehaus/mojo/animal-sniffer-parent/1.14/animal-sniffer-parent-1.14.pom
Download https://jcenter.bintray.com/org/codehaus/mojo/mojo-parent/34/mojo-parent-34.pom                                          Building Cordova app for Android          -
Download https://jcenter.bintray.com/com/google/errorprone/error_prone_parent/2.0.18/error_prone_parent-2.0.18.pom
Download https://jcenter.bintray.com/org/codehaus/codehaus-parent/4/codehaus-parent-4.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.2.5/httpcore-4.2.5.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-core/4.2.5/httpcomponents-core-4.2.5.pom
Download https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-reflect/1.1.3-2/kotlin-reflect-1.1.3-2.pom
Download https://maven.google.com/com/android/tools/external/com-intellij/intellij-core/26.0.0/intellij-core-26.0.0.pom
Download https://jcenter.bintray.com/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom
Download https://maven.google.com/com/android/tools/annotations/26.0.0/annotations-26.0.0.pom
Download https://maven.google.com/com/android/tools/build/builder/3.0.0/builder-3.0.0.jar
Download https://maven.google.com/com/android/tools/build/gradle-core/3.0.0/gradle-core-3.0.0.jar                                 Building Cordova app for Android          |
Download https://maven.google.com/com/android/tools/lint/lint/26.0.0/lint-26.0.0.jar                                              Building Cordova app for Android          /
Download https://maven.google.com/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.jar                                           Building Cordova app for Android          -
Download https://maven.google.com/com/android/tools/lint/lint-checks/26.0.0/lint-checks-26.0.0.jar                                Building Cordova app for Android          |
Download https://maven.google.com/com/android/tools/lint/lint-api/26.0.0/lint-api-26.0.0.jar                                      Building Cordova app for Android          /
Download https://maven.google.com/com/android/tools/external/org-jetbrains/uast/26.0.0/uast-26.0.0.jar                            Building Cordova app for Android          |
Download https://maven.google.com/com/android/tools/build/gradle-api/3.0.0/gradle-api-3.0.0.jar
Download https://maven.google.com/com/android/databinding/compilerCommon/3.0.0/compilerCommon-3.0.0.jar                           Building Cordova app for Android          -
Download https://maven.google.com/com/android/tools/build/manifest-merger/26.0.0/manifest-merger-26.0.0.jar                       Building Cordova app for Android          |
Download https://maven.google.com/com/android/tools/sdk-common/26.0.0/sdk-common-26.0.0.jar                                       Building Cordova app for Android          -
Download https://maven.google.com/com/android/tools/sdklib/26.0.0/sdklib-26.0.0.jar                                               Building Cordova app for Android          |
Download https://maven.google.com/com/android/tools/repository/26.0.0/repository-26.0.0.jar                                       Building Cordova app for Android          |
Download https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-reflect/1.1.3-2/kotlin-reflect-1.1.3-2.jar                       Building Cordova app for Android          |
Download https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.1.3-2/kotlin-stdlib-1.1.3-2.jar                         Building Cordova app for Android          |
Download https://jcenter.bintray.com/org/ow2/asm/asm-analysis/5.1/asm-analysis-5.1.jar                                            Building Cordova app for Android          -
Download https://jcenter.bintray.com/org/ow2/asm/asm-commons/5.1/asm-commons-5.1.jar                                              Building Cordova app for Android          -
   Building Cordova app for Android          -sm/asm-util/5.1/asm-util-5.1.jar                                              
   Building Cordova app for Android          -sm/asm-tree/5.1/asm-tree-5.1.jar                                              
   Building Cordova app for Android          |sm/asm/5.1/asm-5.1.jar                                              
Download https://jcenter.bintray.com/org/jacoco/org.jacoco.report/0.7.4.201502262128/org.jacoco.report-0.7.4.201502262128.jar     Building Cordova app for Android          \
Download https://jcenter.bintray.com/org/jacoco/org.jacoco.core/0.7.4.201502262128/org.jacoco.core-0.7.4.201502262128.jar         Building Cordova app for Android          \
Download https://jcenter.bintray.com/net/sf/proguard/proguard-gradle/5.3.3/proguard-gradle-5.3.3.jar                              Building Cordova app for Android          |
Download https://maven.google.com/com/android/tools/analytics-library/tracker/26.0.0/tracker-26.0.0.jar                           Building Cordova app for Android          /
Download https://maven.google.com/com/android/tools/analytics-library/shared/26.0.0/shared-26.0.0.jar                             Building Cordova app for Android          \
Download https://maven.google.com/com/android/tools/analytics-library/protos/26.0.0/protos-26.0.0.jar                             Building Cordova app for Android          /
Download https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.0.0/protobuf-java-3.0.0.jar                              Building Cordova app for Android          \
Download https://maven.google.com/com/android/tools/build/builder-model/3.0.0/builder-model-3.0.0.jar                             Building Cordova app for Android          \
Download https://maven.google.com/com/android/tools/build/builder-test-api/3.0.0/builder-test-api-3.0.0.jar                       Building Cordova app for Android          -
Download https://maven.google.com/com/android/tools/ddms/ddmlib/26.0.0/ddmlib-26.0.0.jar                                          Building Cordova app for Android          -
Download https://maven.google.com/com/android/tools/layoutlib/layoutlib-api/26.0.0/layoutlib-api-26.0.0.jar                       Building Cordova app for Android          /
   Building Cordova app for Android          \tools/dvlib/26.0.0/dvlib-26.0.0.jar                                              
Download https://maven.google.com/com/android/tools/common/26.0.0/common-26.0.0.jar                                               Building Cordova app for Android          /
Download https://maven.google.com/com/android/tools/build/apksig/3.0.0/apksig-3.0.0.jar                                           Building Cordova app for Android          /
Download https://jcenter.bintray.com/org/bouncycastle/bcpkix-jdk15on/1.56/bcpkix-jdk15on-1.56.jar                                 Building Cordova app for Android          -
Download https://jcenter.bintray.com/org/bouncycastle/bcprov-jdk15on/1.56/bcprov-jdk15on-1.56.jar                                 Building Cordova app for Android          /
Download https://jcenter.bintray.com/it/unimi/dsi/fastutil/7.2.0/fastutil-7.2.0.jar                                               Building Cordova app for Android          -
Download https://jcenter.bintray.com/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1.jar                               Building Cordova app for Android          /
Download https://jcenter.bintray.com/org/eclipse/jdt/core/compiler/ecj/4.6.1/ecj-4.6.1.jar                                        Building Cordova app for Android          -
   Building Cordova app for Android          /e/guava/guava/22.0/guava-22.0.jar                                              
Download https://maven.google.com/com/android/databinding/baseLibrary/3.0.0/baseLibrary-3.0.0.jar                                 Building Cordova app for Android          -
Download https://maven.google.com/com/android/tools/annotations/26.0.0/annotations-26.0.0.jar
Download https://jcenter.bintray.com/org/jetbrains/annotations/13.0/annotations-13.0.jar                                          Building Cordova app for Android          |
Download https://jcenter.bintray.com/net/sf/proguard/proguard-base/5.3.3/proguard-base-5.3.3.jar                                  Building Cordova app for Android          -
   Building Cordova app for Android          \e/code/gson/gson/2.3/gson-2.3.jar                                              
Download https://jcenter.bintray.com/org/apache/commons/commons-compress/1.12/commons-compress-1.12.jar                           Building Cordova app for Android          \
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.2.6/httpclient-4.2.6.jar                              Building Cordova app for Android          -
Download https://jcenter.bintray.com/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar                                       Building Cordova app for Android          -
Download https://jcenter.bintray.com/com/google/errorprone/error_prone_annotations/2.0.18/error_prone_annotations-2.0.18.jar      Building Cordova app for Android          \
Download https://jcenter.bintray.com/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar                          Building Cordova app for Android          /
Download https://jcenter.bintray.com/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar        Building Cordova app for Android          /
Download https://maven.google.com/com/android/tools/external/com-intellij/intellij-core/26.0.0/intellij-core-26.0.0.jar           Building Cordova app for Android          \
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.2.5/httpcore-4.2.5.jar                                  Building Cordova app for Android          |
Download https://jcenter.bintray.com/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.jar                                  Building Cordova app for Android          \
nulluilding Cordova app for Android          -
+-----------------------------------------------------------------
| cordova-android-support-gradle-release: 27.+
+-----------------------------------------------------------------
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
	at build_9skewjivp2upjuc3le4nim5nh.run(/home/meteor/buzzy7/.meteor/local/cordova-build/platforms/android/build.gradle:145)
Configuration 'compile' in project ':' is deprecated. Use 'implementation' instead.
org.xwalk:xwalk_core_library:22+oid          /
Download https://jcenter.bintray.com/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.pom
   Building Cordova app for Android          |rcesImpl/2.9.1/xercesImpl-2.9.1.jar                                              
publishNonDefault is deprecated and has no effect anymore. All variants are now published.
   Building Cordova app for Android          |                       
:preBuild
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preReleaseBuild UP-TO-DATE
:CordovaLib:checkReleaseManifest
   Building Cordova app for Android          /                                  
   Building Cordova app for Android          /                     
Download https://maven.google.com/com/google/android/gms/play-services-auth/maven-metadata.xml
Download https://maven.google.com/com/google/android/gms/play-services-auth/15.0.1/play-services-auth-15.0.1.pom
Download https://maven.google.com/com/google/android/gms/play-services-identity/maven-metadata.xml
Download https://maven.google.com/com/google/android/gms/play-services-identity/15.0.1/play-services-identity-15.0.1.pom
Download https://maven.google.com/com/android/support/support-v13/maven-metadata.xml
Download https://maven.google.com/com/android/support/support-v13/27.1.1/support-v13-27.1.1.pom
Download https://maven.google.com/com/google/android/gms/play-services-gcm/maven-metadata.xml
Download https://maven.google.com/com/google/android/gms/play-services-gcm/11.8.0/play-services-gcm-11.8.0.pom
Download https://maven.google.com/com/android/support/support-v4/maven-metadata.xml                                               Building Cordova app for Android          -
Download https://maven.google.com/com/android/support/support-v4/27.1.1/support-v4-27.1.1.pom                                     Building Cordova app for Android          -
Download https://maven.google.com/com/android/support/appcompat-v7/maven-metadata.xml
Download https://maven.google.com/com/android/support/appcompat-v7/27.1.1/appcompat-v7-27.1.1.pom
Download https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml
Download https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/22.52.561.4/xwalk_core_library-22.52.561.4.pom
Download https://jcenter.bintray.com/me/leolin/ShortcutBadger/1.1.14/ShortcutBadger-1.1.14.pom
Download https://maven.google.com/com/google/android/gms/play-services-auth-api-phone/maven-metadata.xml
Download https://maven.google.com/com/google/android/gms/play-services-auth-api-phone/15.0.1/play-services-auth-api-phone-15.0.1.pom
Download https://maven.google.com/com/google/android/gms/play-services-auth-base/maven-metadata.xml
Download https://maven.google.com/com/google/android/gms/play-services-auth-base/15.0.1/play-services-auth-base-15.0.1.pom
Download https://maven.google.com/com/google/android/gms/play-services-base/maven-metadata.xml
Download https://maven.google.com/com/google/android/gms/play-services-base/15.0.1/play-services-base-15.0.1.pom
Download https://maven.google.com/com/google/android/gms/play-services-basement/maven-metadata.xml
Download https://maven.google.com/com/google/android/gms/play-services-basement/15.0.1/play-services-basement-15.0.1.pom
Download https://maven.google.com/com/google/android/gms/play-services-tasks/maven-metadata.xml                                   Building Cordova app for Android          /
Download https://maven.google.com/com/google/android/gms/play-services-tasks/15.0.1/play-services-tasks-15.0.1.pom
Download https://maven.google.com/com/android/support/support-annotations/maven-metadata.xml
Download https://maven.google.com/com/android/support/support-annotations/27.1.1/support-annotations-27.1.1.pom
Download https://maven.google.com/com/google/android/gms/play-services-iid/11.8.0/play-services-iid-11.8.0.pom
Download https://maven.google.com/com/google/android/gms/play-services-gcm-license/11.8.0/play-services-gcm-license-11.8.0.pom
Download https://maven.google.com/com/android/support/support-compat/maven-metadata.xml
Download https://maven.google.com/com/android/support/support-compat/27.1.1/support-compat-27.1.1.pom
Download https://maven.google.com/com/android/support/support-media-compat/maven-metadata.xml
Download https://maven.google.com/com/android/support/support-media-compat/27.1.1/support-media-compat-27.1.1.pom
Download https://maven.google.com/com/android/support/support-core-utils/maven-metadata.xml
Download https://maven.google.com/com/android/support/support-core-utils/27.1.1/support-core-utils-27.1.1.pom
Download https://maven.google.com/com/android/support/support-core-ui/maven-metadata.xml
Download https://maven.google.com/com/android/support/support-core-ui/27.1.1/support-core-ui-27.1.1.pom
Download https://maven.google.com/com/android/support/support-fragment/maven-metadata.xml
Download https://maven.google.com/com/android/support/support-fragment/27.1.1/support-fragment-27.1.1.pom
Download https://maven.google.com/com/android/support/support-vector-drawable/maven-metadata.xml
Download https://maven.google.com/com/android/support/support-vector-drawable/27.1.1/support-vector-drawable-27.1.1.pom
Download https://maven.google.com/com/android/support/animated-vector-drawable/maven-metadata.xml
Download https://maven.google.com/com/android/support/animated-vector-drawable/27.1.1/animated-vector-drawable-27.1.1.pom
Download https://maven.google.com/com/google/android/gms/play-services-iid-license/11.8.0/play-services-iid-license-11.8.0.pom
Download https://maven.google.com/android/arch/lifecycle/runtime/1.1.0/runtime-1.1.0.pom
Download https://maven.google.com/android/arch/lifecycle/livedata-core/1.1.0/livedata-core-1.1.0.pom
Download https://maven.google.com/android/arch/lifecycle/viewmodel/1.1.0/viewmodel-1.1.0.pom
Download https://maven.google.com/android/arch/core/common/1.1.0/common-1.1.0.pom
Download https://maven.google.com/android/arch/lifecycle/common/1.1.0/common-1.1.0.pom
Download https://maven.google.com/android/arch/core/runtime/1.1.0/runtime-1.1.0.pom
Download https://maven.google.com/com/google/android/gms/play-services-gcm/11.8.0/play-services-gcm-11.8.0.aar                    Building Cordova app for Android          -
Download https://maven.google.com/com/google/android/gms/play-services-auth/15.0.1/play-services-auth-15.0.1.aar                  Building Cordova app for Android          \
Download https://maven.google.com/com/android/support/support-v13/27.1.1/support-v13-27.1.1.aar
Download https://maven.google.com/com/google/android/gms/play-services-identity/15.0.1/play-services-identity-15.0.1.aar          Building Cordova app for Android          \
Download https://jcenter.bintray.com/me/leolin/ShortcutBadger/1.1.14/ShortcutBadger-1.1.14.aar                                    Building Cordova app for Android          |
Download https://maven.google.com/com/google/android/gms/play-services-auth-api-phone/15.0.1/play-services-auth-api-phone-15.0.   Building Cordova app for Android          |     
Download https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/22.52.561.4/xwalk_cor   Building Cordova app for Android          -                         
Download https://maven.google.com/com/google/android/gms/play-services-iid/11.8.0/play-services-iid-11.8.0.aar
Download https://maven.google.com/com/google/android/gms/play-services-auth-base/15.0.1/play-services-auth-base-15.0.1.aar        Building Cordova app for Android          -
Download https://maven.google.com/com/google/android/gms/play-services-base/15.0.1/play-services-base-15.0.1.aar                  Building Cordova app for Android          \
Download https://maven.google.com/com/google/android/gms/play-services-tasks/15.0.1/play-services-tasks-15.0.1.aar                Building Cordova app for Android          /
Download https://maven.google.com/com/google/android/gms/play-services-basement/15.0.1/play-services-basement-15.0.1.aar          Building Cordova app for Android          /
Download https://maven.google.com/com/android/support/support-v4/27.1.1/support-v4-27.1.1.aar
Download https://maven.google.com/com/android/support/appcompat-v7/27.1.1/appcompat-v7-27.1.1.aar
Download https://maven.google.com/com/android/support/support-media-compat/27.1.1/support-media-compat-27.1.1.aar                 Building Cordova app for Android          |
Download https://maven.google.com/com/android/support/support-fragment/27.1.1/support-fragment-27.1.1.aar                         Building Cordova app for Android          |
Download https://maven.google.com/com/android/support/support-core-ui/27.1.1/support-core-ui-27.1.1.aar                           Building Cordova app for Android          /
Download https://maven.google.com/com/android/support/animated-vector-drawable/27.1.1/animated-vector-drawable-27.1.1.aar         Building Cordova app for Android          -
Download https://maven.google.com/com/android/support/support-core-utils/27.1.1/support-core-utils-27.1.1.aar                     Building Cordova app for Android          |
Download https://maven.google.com/com/android/support/support-vector-drawable/27.1.1/support-vector-drawable-27.1.1.aar
Download https://maven.google.com/com/android/support/support-compat/27.1.1/support-compat-27.1.1.aar                             Building Cordova app for Android          -
Download https://maven.google.com/com/google/android/gms/play-services-iid-license/11.8.0/play-services-iid-license-11.8.0.aar
Download https://maven.google.com/com/google/android/gms/play-services-gcm-license/11.8.0/play-services-gcm-license-11.8.0.aar
Download https://maven.google.com/android/arch/lifecycle/runtime/1.1.0/runtime-1.1.0.aar                                          Building Cordova app for Android          \
Download https://maven.google.com/android/arch/lifecycle/viewmodel/1.1.0/viewmodel-1.1.0.aar
Download https://maven.google.com/android/arch/core/runtime/1.1.0/runtime-1.1.0.aar                                               Building Cordova app for Android          -
Download https://maven.google.com/android/arch/lifecycle/livedata-core/1.1.0/livedata-core-1.1.0.aar
:CordovaLib:compileReleaseAidldroid          /
   Building Cordova app for Android          /                        
:CordovaLib:packageReleaseRenderscript NO-SOURCE
   Building Cordova app for Android          -                                


#9

Continued…

:checkArmv7ReleaseManifest
:generateArmv7ReleaseBuildConfig
:prepareLintJar
:mergeArmv7ReleaseShaders
   Building Cordova app for Android          -                           
:generateArmv7ReleaseAssets
:CordovaLib:mergeReleaseShaders
:CordovaLib:compileReleaseShaders
:CordovaLib:generateReleaseAssets
:CordovaLib:mergeReleaseAssets
   Building Cordova app for Android          |                        
   Building Cordova app for Android          /                                       
:generateArmv7ReleaseResValues
:generateArmv7ReleaseResources
   Building Cordova app for Android          /                                      
:CordovaLib:generateReleaseResValues
:CordovaLib:generateReleaseResources
:CordovaLib:packageReleaseResources
   Building Cordova app for Android          |                           
   Building Cordova app for Android          |                                            
   Building Cordova app for Android          /                            
:splitsDiscoveryTaskArmv7Release
   Building Cordova app for Android          /                                 
:CordovaLib:generateReleaseBuildConfig
:CordovaLib:prepareLintJar
   Building Cordova app for Android          /                                 
:CordovaLib:processReleaseJavaRes NO-SOURCE
:compileArmv7ReleaseNdk NO-SOURCE
:mergeArmv7ReleaseJniLibFolders
   Building Cordova app for Android          -                                   
   Building Cordova app for Android          /                             
:generateArmv7ReleaseSources
:CordovaLib:generateReleaseSources
Note: Some input files use or override a deprecated API.                             
Note: Recompile with -Xlint:deprecation for details.
   Building Cordova app for Android          \
   Building Cordova app for Android          \epareIntermediateJarsForRelease                                              
   Building Cordova app for Android          |                           
Download https://maven.google.com/com/android/support/support-annotations/27.1.1/support-annotations-27.1.1.jar
Download https://maven.google.com/android/arch/lifecycle/common/1.1.0/common-1.1.0.jar                                            Building Cordova app for Android          |
   Building Cordova app for Android          \/core/common/1.1.0/common-1.1.0.jar                                              
Note: Some input files use or override a deprecated API.                       
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
   Building Cordova app for Android          \
:compileArmv7ReleaseSources
=> Errors executing Cordova commands:                                                   
                                              
   While building Cordova app for platform Android:
   Error: /home/meteor/buzzy7/.meteor/local/cordova-build/platforms/android/gradlew: Command failed with exit code null Error
   output:
   Note: Some input files use or override a deprecated API.
   Note: Recompile with -Xlint:deprecation for details.
   Note: Some input files use or override a deprecated API.
   Note: Recompile with -Xlint:deprecation for details.
   Note: Some input files use unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   at ChildProcess.whenDone
   (/home/meteor/buzzy7/.meteor/local/cordova-build/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
   at emitTwo (events.js:126:13)
   at ChildProcess.emit (events.js:214:7)
   at maybeClose (internal/child_process.js:925:16)
   at Socket.stream.socket.on (internal/child_process.js:346:11)
   at emitOne (events.js:116:13)
   at Socket.emit (events.js:211:7)
   at Pipe._handle.close [as _onclose] (net.js:567:12)
meteor@fa9ef693d871:~/buzzy7$ 

I noticed it installed Gradle 4.1


#10

Whoa, so much error there. But yet I haven’t found any error on my docker image. I’m afraid I can’t give you further helps :sweat_smile:


#11

meteor@fa9ef693d871:/buzzy7$ su meteor
Password:
meteor@fa9ef693d871:/buzzy7$ meteor --settings …/buzzy-settings/settings.json -p 3000
/home/meteor/.meteor/packages/meteor-tool/.1.6.1_1.c76v6p.io9tw++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:218
throw error;
^
Error: EACCES: permission denied, mkdir ‘/buzzy7/.meteor/local’
at Object.fs.mkdirSync (fs.js:885:18)
at Object.wrapper [as mkdir] (/tools/fs/files.js:1564:35)
at Object.files.mkdir_p (/tools/fs/files.js:428:11)
at Object.writeFileAtomically (/tools/fs/files.js:1019:11)
at ProjectContext._saveResolverResultCache (/tools/project-context.js:597:11)
at /tools/project-context.js:572:14
at /tools/utils/buildmessage.js:359:18
at exports.EnvironmentVariable.withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:352:34