✨ 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
    • Writing to the Log
    • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

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.