Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8C9ED10841 for ; Fri, 14 Mar 2014 21:41:12 +0000 (UTC) Received: (qmail 59855 invoked by uid 500); 14 Mar 2014 21:41:06 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 59375 invoked by uid 500); 14 Mar 2014 21:41:05 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 58612 invoked by uid 99); 14 Mar 2014 21:41:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Mar 2014 21:41:04 +0000 Date: Fri, 14 Mar 2014 21:41:04 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-5744) Unable to build Hello World application for Kindle Fire HDX tablet using PhoneGap 3.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-5744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13935701#comment-13935701 ] ASF subversion and git services commented on CB-5744: ----------------------------------------------------- Commit 74ebe2bf621b4122a935455ee7550c2f2a619f52 in cordova-amazon-fireos's branch refs/heads/master from [~naika] [ https://git-wip-us.apache.org/repos/asf?p=cordova-amazon-fireos.git;h=74ebe2b ] CB-5744 Unable to build Hello World application for Kindle Fire HDX tablet using PhoneGap 3.3.0 Changed permissions on all cordova scripts to be executable. > 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)