Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
ERROR: No toolchains found in the NDK toolchains folder for ABI with prefix: mipsel-linux-android
please help stuck because the project you are worked with is older version i want to use this but it is not working please see that it work in current version of android:the link to github-code:https://github.com/treehouse/android-animations-transitions
Hi Sai. No, you do not need to work on that old version to follow the course. I did it a few days ago using Android SDK 28. I first tried to download the project and update it, but like you, I was having too many errors. In the end, to save time, I created a brand new project (with compile and targetSdkVersion 28 and minSdkVersion 21), copy/pasted all the classes and resource files from the old project in it and updated the code where needed.
It worked absolutely fine and was much easier. I hope it will work for you too. Good luck!
alastair cooper30,617 Points
The error looks like a build tools problem
In your build.gradle file(app) check the build tools version, then open your SDK manager and make sure you have the correct version installed. Then either install the correct version, or, better, update your build .gradle file to use the newer version you have installed (then sync your project)
failing that, follow the blue links/actions in the run window as Android Studio is pretty good at sorting these things out by itself if you let it, but it won't do it without asking you
Also, check you are using the correct versions of butterknife and any other dependencies the app requires. Some of the 3rd party libraries change regularly and the versions used in some of the courses are out of date now
Hope this helps
alastair cooper30,617 Points
As Lauren points out, there is no need to use the old versions to follow the course. I only completed it myself about a month ago and just followed the blue links in the run window to fix the problems and use newer build-tools etc.
Lauren's solution will work just fine for a small app like this, but you can imagine with a larger project it would take ages and be an easy source of errors. Far better to play around with gradle for a while (if you mess it up completely you can always delete the project and download it again). I am still a beginner with gradle but the practise I have had with it following these older courses has meant I beginning to understand bits of it.