Skip to main content

Notice: Workspaces are undergoing maintenance and are temporarily unavailable.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • 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.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord