Hey guys, We're starting to "port" our app for the Fire phone and I was wondering if we have to use the amazon gradle plugin. I'm asking this because currently we're compiling our Android app using maven and it can save us a lot of time if we didn't have to port our project to gradle (we have some unit-tests that don't work well with gradle). I stumbled on this sentence in the documentation and was wondering what the plugin actually does [i]"The Amazon version of the Gradle plugin differs from the standard plugin because it adds support for compiling with SDK addon resources. To use the Amazon version of the Gradle plugin, you must update the build.gradle file for your project."[/i] Best regards, Nimrod
No, you do not have to use gradle unless you want to use the Amazon specific XML references. For example, the side panels use Amazon controls in the layout files. So you have to use gradle if you want to use the side panels or the dynamic perspective UI. Though it may be possible if you add the controls programmatically instead of using an XML layout file. I used Eclipse to build my Android application originally, then had to convert to Android Studio when I wanted to use the side panels for the Fire Phone.
Hi Nimrod, Dfsmedialabs is exactly right in their response. The Fire Phone is basically an Android API 17 device and the majority of Android apps will run just fine with no ‘porting’ necessary. However if you would like to incorporate some of the unique features of the Fire Phone SDK, like the side panels, head tracking, etc., you will need to move to a Gradle build.