bqem
bqem

Reputation: 125

Cordova (Phonegap): Deploy to Amazon FireOS

I followed the documentation in http://docs.phonegap.com/en/edge/guide_platforms_amazonfireos_index.md.html

and tried to get the helloWorld (Cordova 3.3.1) deployed to an Kindle Fire HD (Version 7.4.6) over Eclipse.

I get the error:

02-20 14:36:29.392: E/CordovaActivity(11160): WebKit factory initialization failed. Make sure you have android_interface.jar in libs folder.

I made this from the docs:

 Add the awv_interface.jar from the downloaded SDK to  ~/.cordova/lib/amazon-fireos/cordova/3.1.0/libs/

and also tried to rename it to android_interface.jar, but it's not working too.

When I run it over the Terminal, i get the following error:

Error: spawn EACCES at errnoException (child_process.js:980:11) at Process.ChildProcess._handle.onexit (child_process.js:771:34)

Has anybody made this work?

Upvotes: 2

Views: 591

Answers (1)

Russell Beattie
Russell Beattie

Reputation: 326

It seems to be a permissions problem on the scripts inside the platforms/amazon-fireos/cordova/ directory which the main cordova command calls.

Do this to fix it for now, from your project's home directory:

chmod +x ./platforms/amazon-fireos/cordova/*

This will get it working by making these scripts executable on *nix systems like Mac OS X. (I work in this group at Amazon - I'll enter a bug on it so it's fixed properly.)

Upvotes: 2

Related Questions