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 Build a Simple Android App (2014) Coding the Fun Facts Properties of Arrays

Nikola Jankovic
Nikola Jankovic
1,153 Points

ZIP file with project in Downloads section can not unzip - duplicate names of folders and files

I downloaded the ZIP file, but it can not unpack. When unzipping, Windows finds files with same names and can not unpack the project. I.e. there is a file called "build", with 0 bytes, and also folder with the same name. Then, folder is not unzipped.

Were ZIP files made inproperly?

1 Answer

Nikola Jankovic
Nikola Jankovic
1,153 Points

Ok, I had to use 7zip to unzip the file properly, but now it can not be imported into Android Studio. It asked to download and install some updates to SDK and when that finished, I am now getting following errors:

Error:(18, 0) Gradle DSL method not found: 'runProguard()' Possible causes:<ul><li>The project 'FunFacts' may be using a version of Gradle that does not contain the method. <a href="open.wrapper.file">Open Gradle wrapper file</a></li> <li>The build file may be missing a Gradle plugin. <a href="apply.gradle.plugin">Apply Gradle plugin</a></li>

What can I do? My project broke and I would not like to have to start from the start?