✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
    • Showing results for:
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Close
  • Kelly M T Zengenene
    Kelly M T Zengenene
    8,808 Points

    Use a method to set the TAG variable instead of hard-coding the class name as "TreehouseActivity". We want just the clas

    Posted on Nov 16, 2020 by Kelly M T Zengenene
    Kelly M T Zengenene
    8,808 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Writing to the Log

    0 Answers

  • Eric Cho
    Eric Cho
    2,151 Points

    My android icon is still the default android image. I changed the images in mipmap.

    Posted on May 22, 2020 by Eric Cho
    Eric Cho
    2,151 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Running an App on a Device

    1 Answer

  • Deividas Milinauskas
    Deividas Milinauskas
    736 Points

    Log.d(TAG, msg: "Activity created!");

    Posted on May 19, 2020 by Deividas Milinauskas
    Deividas Milinauskas
    736 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Writing to the Log

    0 Answers

  • Matt Mancini
    Matt Mancini
    1,035 Points

    Android studio (3.4.2) for PC -- Debug hover over variables are not showing

    Posted on Aug 11, 2019 by Matt Mancini
    Matt Mancini
    1,035 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Using the Debugger

    0 Answers

  • Nkosinolwazi Moyo
    Nkosinolwazi Moyo
    9,588 Points

    Log debug

    Posted on Aug 8, 2019 by Nkosinolwazi Moyo
    Nkosinolwazi Moyo
    9,588 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Writing to the Log

    1 Answer

  • Prosper moyo
    Prosper moyo
    1,876 Points

    log

    Posted on Jul 30, 2019 by Prosper moyo
    Prosper moyo
    1,876 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Writing to the Log

    1 Answer

  • nateb2
    nateb2
    2,951 Points

    Unknown USB Device (Device Descriptor Request Failed)

    Posted on Jun 4, 2019 by nateb2
    nateb2
    2,951 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Running an App on a Device

    1 Answer

  • Tatenda Andrew Kwandara
    Tatenda Andrew Kwandara
    18,322 Points

    Use a method to set the TAG variable instead of hard-coding the class name as "TreehouseActivity". We want just the clas

    Posted on May 2, 2019 by Tatenda Andrew Kwandara
    Tatenda Andrew Kwandara
    18,322 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Writing to the Log

    2 Answers

  • Sean M
    Sean M
    7,344 Points

    The Android Log

    Posted on Dec 29, 2018 by Sean M
    Sean M
    7,344 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • The Android Log

    1 Answer

  • williamomole
    williamomole
    2,592 Points

    Is there an mistake with my submission in this exercise? Log.d(TAG, msg:"Activity created!");

    Posted on Nov 2, 2018 by williamomole
    williamomole
    2,592 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Writing to the Log

    1 Answer

  • David Rincon-Cruz
    David Rincon-Cruz
    4,151 Points

    Broken Question - Compiler Error

    Posted on Oct 14, 2018 by David Rincon-Cruz
    David Rincon-Cruz
    4,151 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Writing to the Log

    2 Answers

  • leo mutombwa
    leo mutombwa
    657 Points

    FAILING TO LOG MSG

    Posted on Sep 17, 2018 by leo mutombwa
    leo mutombwa
    657 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Writing to the Log

    1 Answer

  • iman adam
    PLUS
    iman adam
    Courses Plus Student 417 Points

    and . now what is go on here

    Posted on Jun 28, 2018 by iman adam
    iman adam
    Courses Plus Student 417 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Writing to the Log

    0 Answers

  • iman adam
    PLUS
    iman adam
    Courses Plus Student 417 Points

    public class TreehouseActivity extends Activity { public static f

    Posted on Jun 27, 2018 by iman adam
    iman adam
    Courses Plus Student 417 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Writing to the Log

    1 Answer

  • Manjeeth Reddy Patlolla
    Manjeeth Reddy Patlolla
    175 Points

    I tried all the steps. But there is an error. It says 'Cannot Resolve Symbol R'

    Posted on Jun 13, 2018 by Manjeeth Reddy Patlolla
    Manjeeth Reddy Patlolla
    175 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Toast Notifications

    1 Answer

  • prosper nyamukondiwa
    prosper nyamukondiwa
    656 Points

    writing the log anybody to help with a correct answer

    Posted on May 6, 2018 by prosper nyamukondiwa
    prosper nyamukondiwa
    656 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Writing to the Log

    2 Answers

  • prosper nyamukondiwa
    prosper nyamukondiwa
    656 Points

    help please is this the answer

    Posted on May 5, 2018 by prosper nyamukondiwa
    prosper nyamukondiwa
    656 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Writing to the Log

    1 Answer

  • Jasper Peijer
    Jasper Peijer
    45,009 Points

    Toast crashes the app.

    Posted on Mar 14, 2018 by Jasper Peijer
    Jasper Peijer
    45,009 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Toast Notifications

    1 Answer

  • JOSEPHINE MUFOWO
    PLUS
    JOSEPHINE MUFOWO
    Courses Plus Student 158 Points

    How to connect Mobicel Switch to Android Studio

    Posted on Mar 11, 2018 by JOSEPHINE MUFOWO
    JOSEPHINE MUFOWO
    Courses Plus Student 158 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Running an App on a Device

    2 Answers

  • Ema Johnston
    Ema Johnston
    1,917 Points

    Hi, When enter the Toast activity to FunFacts activity I get red squiggly lines?

    Posted on Mar 7, 2018 by Ema Johnston
    Ema Johnston
    1,917 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Toast Notifications

    2 Answers

  • Chido Vambe
    Chido Vambe
    4,638 Points

    writting to the log

    Posted on Mar 2, 2018 by Chido Vambe
    Chido Vambe
    4,638 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Writing to the Log

    0 Answers

  • Mark Ji
    Mark Ji
    675 Points

    Some improvements

    Posted on Jan 2, 2018 by Mark Ji
    Mark Ji
    675 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Wrapping Up

    2 Answers

  • Darchan Rooban
    Darchan Rooban
    1,897 Points

    Use a method to set the TAG variable instead of hard-coding the class name as "TreehouseActivity". We want just the clas

    Posted on Dec 22, 2017 by Darchan Rooban
    Darchan Rooban
    1,897 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Writing to the Log

    1 Answer

  • Silas Grygier
    Silas Grygier
    530 Points

    My log's arent working

    Posted on Nov 29, 2017 by Silas Grygier
    Silas Grygier
    530 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • The Android Log

    3 Answers

  • Nikki Wong
    Nikki Wong
    9,066 Points

    Log.d(tag, msg)?? Why am I getting errors?

    Posted on Nov 24, 2017 by Nikki Wong
    Nikki Wong
    9,066 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Writing to the Log

    2 Answers

  • SOS Norway
    SOS Norway
    4,219 Points

    this log does not recognise msg even after adding private string msg Log.d(TAG, "FunFactsActivity" "We our logging from

    Posted on Oct 26, 2017 by SOS Norway
    SOS Norway
    4,219 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Writing to the Log

    1 Answer

  • SOS Norway
    SOS Norway
    4,219 Points

    cannot resolve msg Log.d(tag,"FunFactsActivity", msg,"We our logging from OnCreate() method!");

    Posted on Oct 25, 2017 by SOS Norway
    SOS Norway
    4,219 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • The Android Log

    1 Answer

  • Michael Sander
    Michael Sander
    569 Points

    Cannot running an app on device

    Posted on Oct 23, 2017 by Michael Sander
    Michael Sander
    569 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Running an App on a Device

    0 Answers

  • Riya Prasannan
    Riya Prasannan
    806 Points

    I can't find logcat in Android Studio. I have been checking event log till now.

    Posted on Oct 6, 2017 by Riya Prasannan
    Riya Prasannan
    806 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • The Android Log

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.