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

  • Eric Cho
    Eric Cho
    2,151 Points

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

    Posted May 22, 2020 5:40am 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 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

  • Matt Mancini
    Matt Mancini
    1,035 Points

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

    Posted August 11, 2019 9:15pm 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 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

  • nateb2
    nateb2
    2,951 Points

    Unknown USB Device (Device Descriptor Request Failed)

    Posted June 4, 2019 8:00pm 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 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

  • Sean M
    Sean M
    7,344 Points

    The Android Log

    Posted December 29, 2018 6:31pm 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 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

  • 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 June 13, 2018 11:08pm 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 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

  • Jasper Peijer
    Jasper Peijer
    45,009 Points

    Toast crashes the app.

    Posted March 14, 2018 12:10pm 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 March 11, 2018 2:20pm 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 March 7, 2018 1:48pm 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 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

  • Mark Ji
    Mark Ji
    675 Points

    Some improvements

    Posted January 2, 2018 1:57pm 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 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

  • Silas Grygier
    Silas Grygier
    530 Points

    My log's arent working

    Posted November 29, 2017 1:24pm 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 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

  • SOS Norway
    SOS Norway
    4,219 Points

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

    Posted October 25, 2017 10:13am 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 October 23, 2017 1:05pm 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 October 6, 2017 11:13am 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.

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