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 trial

Android Android Data Persistence Introduction to Data Persistence What is Data Persistence?

Cameron Stewart
Cameron Stewart
18,041 Points

Starter files compatible with Android Studio 1.0

hi,

Is it possible that you provide a version of the starter files that are compatible with the newer versions of the SDK, IDE and Gradle.

I am having issues building that are not obvious to me how to fix.

Kind regards, Cameron

Ratul Sarna
Ratul Sarna
Courses Plus Student 11,618 Points

Try using Import Project instead of Open Project for the starter project folder. It worked for me.

Cameron Stewart
Cameron Stewart
18,041 Points

Thanks for replying Ratul.

Unfortunately, I am unable to get the same results. On build the gradle terminal says that the old version is to be replaced and the project re-imported. After selecting 'fix' the following error message appears in the gradle status console: Error:(15,0)

'Gradle DSL method not found: 'runProguadr()'

possible causes: The project mememaker may be using a version of Gradle that does not contain the method The build file may be missing a Gradle plugin.

What am I doing wrong?

1 Answer

Ratul Sarna
PLUS
Ratul Sarna
Courses Plus Student 11,618 Points

Import the starter files instead of Opening them. Then in the build.gradle file in the mememaker/app folder look for this line- runProguard() false

And change it to - minifyEnabled false

Cameron Stewart
Cameron Stewart
18,041 Points

Ok great! will give it a try! Cheers mate!