cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Archana Naik (JIRA)" <>
Subject [jira] [Commented] (CB-5744) Unable to build Hello World application for Kindle Fire HDX tablet using PhoneGap 3.3.0
Date Fri, 14 Mar 2014 21:42:44 GMT


Archana Naik commented on CB-5744:

Fixed it in;a=commit;h=74ebe2bf621b4122a935455ee7550c2f2a619f52

> Unable to build Hello World application for Kindle Fire HDX tablet using PhoneGap 3.3.0
> ---------------------------------------------------------------------------------------
>                 Key: CB-5744
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Amazon FireOS
>    Affects Versions: 3.3.0
>         Environment: Mac OS 10.8.5
>            Reporter: Jack Braidwood
> I'm using PhoneGap 3.3.0 along with the Amazon WebView SDK to attempt to build a "Hello
World" application for my Kindle Fire 7" HDX tablet.
> I have the Android 4.4.2, 4.2.2, and 2.2 SDKs installed. I have been able to successfully
build, install, and run several PhoneGap applications on my Nexus 7 Android tablet as well
as the Android emulator.
> However the "amazon-fireos" build always fails with an Unhandled 'error' event.
> $ cordova create hello com.example.hello "HelloWorld"
> Creating a new cordova project with name "HelloWorld" and id "com.example.hello" at location
> $ cd hello
> $ cordova platform add amazon-fireos
> Checking Amazon FireOS requirements...
> Checking if awv_interface.jar exists... in framework/libs folder
> Creating amazon-fireos project...
> Preparing amazon-fireos project
> $ cordova build
> Generating config.xml from defaults for platform "amazon-fireos"
> Preparing amazon-fireos project
> Compiling app on platform "amazon-fireos" via command     "/Users/jack/phonegap/hello/platforms/amazon-fireos/cordova/build"

> events.js:72
>         throw er; // Unhandled 'error' event
>           ^
> Error: spawn EACCES
>     at errnoException (child_process.js:980:11)
>     at Process.ChildProcess._handle.onexit (child_process.js:771:34)
> It looks like someone was having a similar problem (
on BlackBerry that ended up being an environment variable issue. There are only two jar files
in the WebView SDK (awv_android_factory.jar and awv_interface.jar). I tried adding both the
path to the jar files to the PATH variable and both jars to the CLASSPATH, but it didn't appear
to have any effect.
> export PATH=$PATH:/Users/jack/Downloads/awv_api
> export CLASSPATH=$CLASSPATH:/Users/jack/Downloads/awv_api/awv_interface.jar:/Users/jack/Downloads/awv_api/awv_android_factory.jar:.

This message was sent by Atlassian JIRA

View raw message