I have problems building my app. I already implemented these suggestions from here:
build.gradle with
android { lintOptions {
abortOnError false
}
}
and build-extra.gradle with
android {
lintOptions {
disable 'MissingTranslation’
disable ‘ExtraTranslation’
}
}
=> Errors executing Cordova commands:
While adding plugin cordova-plugin-device@1.0.1 to Cordova project:
Cordova error: The provided path “/Users/ild/Meteor/pichapp/.meteor/local/cordova-build/platforms/android” is not an
Android project.
(If the error message contains suggestions for a fix, note that this may not apply to the Meteor integration. You can try running again
with the --verbose option to help diagnose the issue.)
ilds-MBP:pichapp ild$ sudo meteor build …/Android-APK-Builds/pichapp --server=pichapp.meteor.com
Password:
% Failed to install ‘cordova-plugin-device’:CordovaError: The provided path “/Users/ild/Meteor/pichapp/.meteor/local/cordova-build/platforms/android” is not an Android project.
at new android_parser (/Users/ild/.meteor/packages/meteor-tool/.1.1.10.gs1cdx++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/cordova/metadata/android_parser.js:35:15)
at new PlatformProjectAdapter (/Users/ild/.meteor/packages/meteor-tool/.1.1.10.gs1cdx++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/platforms/platforms.js:61:19)
at Object.getPlatformProject (/Users/ild/.meteor/packages/meteor-tool/.1.1.10.gs1cdx++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/platforms/platforms.js:97:23)
at handleInstall (/Users/ild/.meteor/packages/meteor-tool/.1.1.10.gs1cdx++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/install.js:563:36)
at /Users/ild/.meteor/packages/meteor-tool/.1.1.10.gs1cdx++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/install.js:363:28
at _fulfilled (/Users/ild/.meteor/packages/meteor-tool/.1.1.10.gs1cdx++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/Users/ild/.meteor/packages/meteor-tool/.1.1.10.gs1cdx++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/Users/ild/.meteor/packages/meteor-tool/.1.1.10.gs1cdx++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/q/q.js:749:13)
at /Users/ild/.meteor/packages/meteor-tool/.1.1.10.gs1cdx++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/q/q.js:509:49
at flush (/Users/ild/.meteor/packages/meteor-tool/.1.1.10.gs1cdx++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:448:13)
=> Errors executing Cordova commands:While adding plugin cordova-plugin-device@1.0.1 to Cordova project:
Cordova error: The provided path “/Users/ild/Meteor/pichapp/.meteor/local/cordova-build/platforms/android” is not an
Android project.
(If the error message contains suggestions for a fix, note that this may not apply to the Meteor integration. You can try running again
with the --verbose option to help diagnose the issue.)