JakeWharton / sdk-manager-plugin

DEPRECATED Gradle plugin which downloads and manages your Android SDK.
Apache License 2.0
1.41k stars 132 forks source link

lint tests fail with "Can't find API database" #16

Closed dhelleberg closed 10 years ago

dhelleberg commented 10 years ago

I'm using the plugin on a clean CI Server (jenkins). It installs the android-sdk to ".android-sdk" Build works fine, but running lint gives a "Can't find API database" Error. I did an "android update sdk --no-ui" and now lint is able to run. I guess lint was missing the other API versions? Maybe you can add a config flag to download the older APIs as well?

JakeWharton commented 10 years ago

Can you test with 0.9.1? I think this was fixed by downloading the platform-tools artifact.

dhelleberg commented 10 years ago

Confirmed it's fixed. Thanks!

JakeWharton commented 10 years ago

Sweet!