Brandt Vavasour
Brandt Vavasour

Reputation: 1

Meteor Build to android cordova error

Getting an error when running meteor run android-device.

Have been stuck on this problem for a few days now. With multiple searches around the web and stack overflow with solutions that have not worked.

I've post the error I'm getting followed by what I've tried.

Build error output

enter image description here

Have tried: Reinstalling linux mint 17.1 (rebecca) reinstalling meteor reinstalling java jdk 1.8.0_111 reinstalling android studio reinstalling the android sdk

When adding the android platform to the meteor project (meteor add-platform android) not errors show up.

Any advice appreciated.

Upvotes: 0

Views: 241

Answers (2)

Tommy Thompson
Tommy Thompson

Reputation: 101

Mikkel's answer fixed the Cordava splash screen issue. But maybe the issue is with your Android Device.

Make sure you enable the Developer Mode for the device.

This helped me deploy my Meteor app to my tablet (Samsung Galaxy Tab A)...

Failed to deploy to device while deploying cordova app to a connected device

Upvotes: 0

Mikkel
Mikkel

Reputation: 7777

Tt is referencing cordova-plugin-splashscreen - presumably you have added the android or ios platform, and this must be an old version of the plugin it has loaded.

You can normally update meteor packages with the command

meteor update mdg:package

But for cordova packages you have to nominate a version with

meteor add cordova:[email protected]

Have a look to see what the latest version is

Upvotes: 1

Related Questions