🤑 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

  • 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
  • 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 November 16, 2020 8:28am 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

  • Deividas Milinauskas
    Deividas Milinauskas
    736 Points

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

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

    0 Answers

  • Nkosinolwazi Moyo
    Nkosinolwazi Moyo
    9,588 Points

    Log debug

    Posted August 8, 2019 2:28pm 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 July 30, 2019 12:05pm 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

  • 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 May 2, 2019 12:40pm 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

  • williamomole
    williamomole
    2,592 Points

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

    Posted November 2, 2018 8:47am 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 October 14, 2018 6:13am 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 September 17, 2018 10:08am 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 June 28, 2018 4:42pm 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 June 27, 2018 1:44pm 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

  • prosper nyamukondiwa
    prosper nyamukondiwa
    656 Points

    writing the log anybody to help with a correct answer

    Posted May 6, 2018 9:53pm 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 May 5, 2018 8:56pm by prosper nyamukondiwa
    prosper nyamukondiwa
    656 Points
    • Android
    • Build a Simple Android App with Java
    • Testing and Debugging
    • Writing to the Log

    1 Answer

  • Chido Vambe
    Chido Vambe
    4,638 Points

    writting to the log

    Posted March 2, 2018 11:06am 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

  • 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 December 22, 2017 9:31am 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

  • Nikki Wong
    Nikki Wong
    9,066 Points

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

    Posted November 24, 2017 8:22am 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 October 26, 2017 8:30am 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

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.