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! While you're at it, check out some resources Treehouse students have shared here.
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 trialrampant15
4,043 PointsDifficulty using outdated project starter files
I found that the project starter files for the property animation app excessively hard to get running in android studio, I think because they are very out of date and don't work well with Android Studio 3. I understand that it's hard to keep the course content up to date when android development moves so rapidly, but it doesn't make sense for the initial setup to be far more difficult and time consuming than the course itself.
For anyone else facing endless gradle build errors, I did the following:
- Don't choose to update to latest version of gradle when Android Studio offers it. The latest version leads to lots of tricky errors.
- The version used by the project files also leads to lots of errors
- Update to slightly newer version instead:
- In your project build.gradle -> classpath 'com.android.tools.build:gradle:2.2.3'
- In gradle-wrapper.properties -> distributionUrl=https://services.gradle.org/distributions/gradle-2.14.1-all.zip
alastair cooper
30,617 PointsThank you. Worked for me
4 Answers
Simon Sporrong
35,097 PointsYes, thank you so much! Everyone who's having troubles with opening this "old" project in a new updated Android Studio, follow these steps above!
Nataly Rifold
12,432 PointsI tried this but I get: ERROR: No toolchains found in the NDK toolchains folder for ABI with prefix: mipsel-linux-android
I had to change the dependencies from compile to implementation
dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:recyclerview-v7:23.1.1' implementation 'com.jakewharton:butterknife:7.0.1' implementation 'com.jimulabs.mirrorsandbox:mirror-sandbox:0.2.1' implementation 'com.android.support:palette-v7:23.1.1' implementation 'com.jakewharton:butterknife:7.0.1' annotationProcessor 'com.jakewharton:butterknife:7.0.1' }
and according to the internet I need to update gradle....
help
sai maddukuri
9,108 Pointsnot working please please help how to do it in detail i have stuck hear
Shilpa Ghosh
2,576 PointsShout out for this answer. Thanks a lot
Maximilian Hertelendy
18,148 PointsMaximilian Hertelendy
18,148 PointsI agree with you. Thanks for the steps!