From my understanding, for the amazon Gradle plugin to work, the Amazon Add-on needs to be installed, so it can bring errors at build time. Does ‘compileSdkVersion’ also have this limitation?
As far as I understand the amazon gradle plugin is a tweaked version of the original android gradle plugin. It would be better if amazon add a plugin on top of that android plugin. With the current situtation you need to invoke your build twice to build your apps with the amazon dev kit and the original android plugin. you could use project or system properties to make this switch convenient.