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 Publish an Android App Publishing on Google Play Removing Log Calls

"Removing Log Calls" tutorial videa needs update for Android Studio 1.0.0

Please update tutorial video for Android Studio 1.0.0... as runProguard has been changed to minifyEnabled. I follow these videos step by step as I am VERY new to the world of programming and am not sure if I will be able to understand what is happening as I don't have the same version of Android Studio.

1 Answer

Parker Busswood
Parker Busswood
20,207 Points

Hey Phillip,

In Android Studio 1.0, the runProguard method was renamed to minifyEnabled. In the video, where Ben Jakuben says to set runProguard to true, you would set minifyEnabled to true.

buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}

See this documentation on migrating to newer versions of Android Studio for more info: http://tools.android.com/tech-docs/new-build-system/migrating-to-1-0-0

Hope this helps!

Parker