Well currently I´m trying to set up a project which is targeting different android devices. As the title describes I like to target the Fire TV (using the SDK-Addon 17) but also regular devices (using MinSDK 15) and the new Android TV devices (using MinSDK 21).
Reason: I like to create my business logic in a library and creating specific userinterfaces for each device
Well I guess it should be possible by creating different projects and including the jar in each project. But I thought it should also be possible to create such an architecture with one project by using Gradle.
But if I create a new project using the FireTV AddOn and add another module or the library Gradle fails to sync.
The problem is the following line:
compileSdkVersion 'Amazon.com:Amazon Fire TV SDK Addon:17'
The IDE tells me:
Could not normalize path for file 'C:\.....\mockable-Amazon.com:Amazon Fire TV SDK Addon:17.jar
To get a better understanding for the problem, I created another project targeting just Android and Android TV. In this project everything works fine... Finally I created another Fire TV project and added another module which was also targeting the Fire TV. Even this project fails to build by the same reason...
Any idea?