libmx3 / mx3

a sample project showcasing/collecting cross platform techniques on mobile
MIT License
1.18k stars 146 forks source link

android fails because of a build tool revision that does not exist #63

Open skypjack opened 9 years ago

skypjack commented 9 years ago

I've received the following error:

* What went wrong:
Execution failed for task ':app:preBuild'.
> failed to find Build Tools revision 21.1.1

By means of the Android Maintenance Tool it's not possible to install that revision. The 21.1.2 is the only one available. I'm working on with the sdk for linux 64 bit.

skabbes commented 9 years ago

Just curious, does changing the version number in the files in this repo fix it?

kabram commented 9 years ago

It fixed it for me. I've had other issues with building >19 level API (atof https://github.com/libmx3/mx3/issues/64), but the example will build and run. I've noticed that in this build it doesn't seem to ever get the callback when a cell is selected so the items are not deleted - trying to figure out where it fails.

skypjack commented 9 years ago

I'm sorry, I should have to test it before to open the ticket!! It works, you are right. Should we update the build.gradle file?

My turn to be just curios: why did you set the sdk version to 15 and the build tools to 21.1.1 for the sdk? I understand the need for the minimum sdk version, but maybe we can move on the one used to compile...

skabbes commented 9 years ago

Mostly because I don't know much about android. If anyone here knows the best practices, I'm happy to adopt them.