You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Steve Gill (JIRA)" <ji...@apache.org> on 2014/03/27 19:54:27 UTC

[jira] [Resolved] (CB-5744) Unable to build Hello World application for Kindle Fire HDX tablet using PhoneGap 3.3.0

     [ https://issues.apache.org/jira/browse/CB-5744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Gill resolved CB-5744.
----------------------------

    Resolution: Fixed

> Unable to build Hello World application for Kindle Fire HDX tablet using PhoneGap 3.3.0
> ---------------------------------------------------------------------------------------
>
>                 Key: CB-5744
>                 URL: https://issues.apache.org/jira/browse/CB-5744
>             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 "/Users/jack/phonegap/hello"
> $ 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 (https://issues.apache.org/jira/browse/CB-4403) 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
(v6.2#6252)