This course will be retired on July 14, 2025.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- Introduction to Publishing Apps 1:39
- Removing Log Calls 4:23
- Building a Release-Ready APK 4:25
- Review: Getting An App Ready for Google Play 5 questions
- The Google Play Developer Console 3:08
- Uploading an APK 7:26
- Review: Publishing on Google Play 5 questions
- Creating the Store Listing 4:59
- Updating an Existing App 4:22
- Review: Publishing and Updating an App 5 questions

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
The first thing we need to do to prepare our app for release is remove any Log method calls. In this video we'll see how to easily do this with a tool called ProGuard.
ProGuard lines for copy/paste:
-assumenosideeffects class android.util.Log { public static boolean isLoggable(java.lang.String, int); public static int v(...); public static int i(...); public static int w(...); public static int d(...); public static int e(...); }
Notes
If you are familiar with publishing apps that were built using Eclipse, you may be wondering about the android:debuggable
attribute in the manifest. Android Studio adds this flag automatically based on the build type. For a release build, this is set to false for us, so we don’t need to do anything. Read more here.
Related Links
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Francesco Di Vito
4,502 Points0 Answers
-
Robert Kendall
1,287 Points0 Answers
-
Abhishek Srivastava
2,262 Points2 Answers
-
Zuhayr Elahi
2,582 Points1 Answer
-
Kenneth Myers
16,009 Points0 Answers
-
Phillip Hurst
4,204 Points1 Answer
-
PLUS
pranay reddy
Courses Plus Student 1,637 Points0 Answers
-
PLUS
vbricks
Courses Plus Student 890 Points2 Answers
-
Ivan Yudhi
2,031 Points1 Answer
-
ahmed alghafli
3,446 Points1 Answer
-
ahmed alghafli
3,446 Points0 Answers
-
ahmed alghafli
3,446 Points2 Answers
-
Jared M
3,680 Points3 Answers
-
Mikael Enarsson
7,056 Points1 Answer
-
artemsborets
4,558 Points2 Answers
-
Fabrice Cochet
1,035 Points1 Answer
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up