Reputation: 1
I have used Cordova (3.4.x) to build the basic "Hello" and a custom HTML5 app for the Amazon Fire tablet. I saw a problem related to this question and resolved it per the answer from there (chmod +x on the build tools).
However, when I try to deploy the same apps ("Hello" and HTML5 app) to the Amazon FireTV device, I see this error:
Application Error AndroidWebKit classes are missing. Please copy android_interface.jar from AmazonWebView SDK to app's libs folder and the rebuild the app.
There is no file named "android_interface.jar" in the AmazonWebView SDK. I tried copying "awv_interface.jar" to the app's libs directory; no change. I also tried renaming awv_interface.jar to android_interface.jar; the app failed to compile.
Cordova's generic Android target will actually run on the FireTV; the "Hello" app works, but the five-way remote doesn't register on our HTML5 app, so I'd really rather use the amazon-fireos target.
Questions:
Upvotes: 0
Views: 726
Reputation: 303
I had the same problem. Do not worry about renaming. You don't need to do that. Do these two things:
1) Put awv_interface.jar
into .cordova\lib\amazon-fireos\cordova\3.4.0\framework\libs
If libs doesn't exist, you need to create it.
2) Put awv_android_factory.jar
into <app-directory>\platforms\amazon-fireos\libs
Take note that two are entirely different libs directories.
Rebuild the app. Then it will work.
Upvotes: 2