The problem is that the Fire Phone has a custom fork of the SDK. I'm not sure that adjusting the target version will work, since the underlying android.jar is most likely different. Ideally, it would be best to have this configurable in the build.gradle for CI, but it looks like we will have to configure this outside of the build.gradle.
On Wednesday, July 23, 2014 11:37:28 PM UTC-7, Xavier Ducrohet wrote: > > This is not currently possible. You should be able to just set the highest > needed target version and rely on lint to let you know if you use something > you shouldn't be using based on your minSdkVersion. > > On Wednesday, July 23, 2014 12:05:10 PM UTC-7, [email protected] > wrote: >> >> Hi, our current product uses productFlavors to support an array of >> devices. However, the new Fire Phone has a custom SDK used to compile. >> Thus, we have to adjust the compileSdkVersion and the targetSdkVersion. >> After reading previous posts, I've found that dynamically setting the >> compileSdkVersion based on a flavor >> <https://groups.google.com/forum/#!searchin/adt-dev/compileSdkVersion$20productFlavors/adt-dev/D0bhkcKsSKk/4VKcBXSiD_AJ> >> >> doesn't seem like an option. Is there a work around that can be done in the >> build.gradle or will this need to be done outside of gradle? >> > -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
