Aha. You mean platform-tools, not tools, right?
platform-tools has been there all along; it's not a new component, but you may not have installed it on your build servers; it's the component which distributes for example "adb". However, it also contains the most recent platform data; in particular, it's where lint's API database is distributed. When Android M shipped, there was a packaging error such that the API database didn't include the M APIs, so people using M APIs weren't warned by lint when accessing APIs with minSdkVersion < 23. Turned out a lot of people didn't realize they needed to update the platform tools to have the latest version. So for that reason I added an explicit check to make sure that you have the API database installed that is at least as high as your compileSdkVersion. I made this an error, since failing to check for APIs can lead to runtime crashes, and a lot of users were bitten by this. -- Tor On Fri, Dec 18, 2015 at 5:30 PM Artem Zinnatullin < artem.zinnatul...@gmail.com> wrote: > Hi, Tor! > > Completely forgot about my report here. So, yes we've just printed lint > xml report as last step of the build and then investigated the problem. > And unfortunately, found that it was a problem with Android SDK manager. > Idk why but for some reason you've added a new piece to Android SDK called > "tools" and it's now required for building projects. So we had to add it > as CI environment dependency and then got successful build. Also, as far as > I remember lint message was pretty misleading, something like "You have > tools 22 but to check api 23 you need to update build tools" so we spent > some amount of time to figure out that we actually had to download "tools" > and not only "build-tools". > > Problem was resolved, sorry for not mentioning it here and thanks for > paying attention to it (I understand that you have a lot of work and such > delays are ok). > > // Extra thanks for mentioning textReport option, will use it in all > projects! > > -- > 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 adt-dev+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 adt-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.