Skip to main content

🛍️ BLACK FRIDAY get-one-give-one sale is underway. Don't miss $50 off PLUS a free subscription to gift a friend. 🤩

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

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
  • Anglebert Masunda
    Anglebert Masunda
    6,406 Points

    Gradle sync failed due to Butterknife dependencies in build.gradle

    Posted April 10, 2018 8:04pm by Anglebert Masunda
    Anglebert Masunda
    6,406 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    0 Answers

  • Jonathan Grieve
    Jonathan Grieve
    91,254 Points

    BindView Annotations not working

    Posted February 27, 2017 5:10pm by Jonathan Grieve
    Jonathan Grieve
    91,254 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    1 Answer

  • David Tran
    PLUS
    David Tran
    Courses Plus Student 12,429 Points

    If ButterKnife does not work, add another line...

    Posted February 20, 2017 7:53am by David Tran
    David Tran
    Courses Plus Student 12,429 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    0 Answers

  • J A
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    J A
    Full Stack JavaScript Techdegree Student 4,646 Points

    Cannot resolve symbol ButterKnife when I try to bind().

    Posted January 12, 2017 2:06am by J A
    .a{fill-rule:evenodd;}techdegree
    J A
    Full Stack JavaScript Techdegree Student 4,646 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    1 Answer

  • J A
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    J A
    Full Stack JavaScript Techdegree Student 4,646 Points

    Cannot find symbol class InjectView

    Posted January 12, 2017 1:38am by J A
    .a{fill-rule:evenodd;}techdegree
    J A
    Full Stack JavaScript Techdegree Student 4,646 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    2 Answers

  • alex Cash
    PLUS
    alex Cash
    Courses Plus Student 875 Points

    wasting so much time understanding/getting this butter-knife thing to work, maybe we shouldn't even bother?

    Posted December 6, 2016 4:26am by alex Cash
    alex Cash
    Courses Plus Student 875 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    2 Answers

  • Riley Bolen
    Riley Bolen
    26,711 Points

    Cannot resolve symbol "R"

    Posted November 7, 2016 11:44pm by Riley Bolen
    Riley Bolen
    26,711 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    1 Answer

  • Thomas Williams
    Thomas Williams
    9,465 Points

    Error: @BindView not applicable to local variable or cannot resolve 'R2'......

    Posted November 4, 2016 12:11pm by Thomas Williams
    Thomas Williams
    9,465 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    3 Answers

  • Cindy Michalowski
    Cindy Michalowski
    9,405 Points

    @Bind - Cannot resolve symbol BindView in Butterknife

    Posted October 3, 2016 2:26pm by Cindy Michalowski
    Cindy Michalowski
    9,405 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    1 Answer

  • laze dimitrovski
    laze dimitrovski
    1,535 Points

    I can't get ButterKnife to work.

    Posted August 2, 2016 2:59pm by laze dimitrovski
    laze dimitrovski
    1,535 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    7 Answers

  • Avraham Sedaghat
    Avraham Sedaghat
    4,217 Points

    Plugin with id 'android-apt' not found?

    Posted June 14, 2016 11:20pm by Avraham Sedaghat
    Avraham Sedaghat
    4,217 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    1 Answer

  • Andrew Pritykin
    Andrew Pritykin
    6,574 Points

    ButterKnife.bind(this, ???)

    Posted May 24, 2016 7:20pm by Andrew Pritykin
    Andrew Pritykin
    6,574 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    2 Answers

  • Tomas Gil
    Tomas Gil
    13,146 Points

    Cant include ButterKnife into the project. I tried to these lines of code into the gradle but it doesnt work

    Posted May 13, 2016 10:03pm by Tomas Gil
    Tomas Gil
    13,146 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    1 Answer

  • Brett Irvin
    Brett Irvin
    746 Points

    More deprecated ButterKnife code

    Posted April 29, 2016 6:06pm by Brett Irvin
    Brett Irvin
    746 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    4 Answers

  • Ihssan Hashem
    Ihssan Hashem
    1,467 Points

    deprecated code?

    Posted March 9, 2016 1:27pm by Ihssan Hashem
    Ihssan Hashem
    1,467 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    1 Answer

  • Saeed Faruqui
    Saeed Faruqui
    3,158 Points

    @Bind cannot be resolved. HELP!

    Posted February 2, 2016 2:03pm by Saeed Faruqui
    Saeed Faruqui
    3,158 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    2 Answers

  • Mike Hansen
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Mike Hansen
    Python Web Development Techdegree Student 3,419 Points

    Fail on iconImageView

    Posted January 5, 2016 8:34pm by Mike Hansen
    .a{fill-rule:evenodd;}techdegree
    Mike Hansen
    Python Web Development Techdegree Student 3,419 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    1 Answer

  • Maksims Visnakovs
    Maksims Visnakovs
    2,616 Points

    Library Butter Knife doesn't work

    Posted November 26, 2015 11:32pm by Maksims Visnakovs
    Maksims Visnakovs
    2,616 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    4 Answers

  • Niravkumar Patel
    Niravkumar Patel
    2,277 Points

    I added butterknife library in build.gradle but I am not able to use it.

    Posted August 13, 2015 7:03pm by Niravkumar Patel
    Niravkumar Patel
    2,277 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    1 Answer

  • Mit Sengupta
    Mit Sengupta
    13,823 Points

    I wonder if this problem is specific with Android Studio only.

    Posted July 17, 2015 1:01pm by Mit Sengupta
    Mit Sengupta
    13,823 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    0 Answers

  • Mit Sengupta
    Mit Sengupta
    13,823 Points

    My Gradle build is failing continually. Someone please help me out.

    Posted July 17, 2015 12:43pm by Mit Sengupta
    Mit Sengupta
    13,823 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    0 Answers

  • Jeffrey Beauchamps
    Jeffrey Beauchamps
    8,437 Points

    Having problem using Butter Knife for Building a Weather App

    Posted July 7, 2015 9:37pm by Jeffrey Beauchamps
    Jeffrey Beauchamps
    8,437 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    4 Answers

  • Billy Lardizabal
    Billy Lardizabal
    5,017 Points

    @InjectView Not Working

    Posted June 29, 2015 11:36pm by Billy Lardizabal
    Billy Lardizabal
    5,017 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    4 Answers

  • Alex DeRuyter
    Alex DeRuyter
    495 Points

    Syncing gradle

    Posted May 5, 2015 3:43pm by Alex DeRuyter
    Alex DeRuyter
    495 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    0 Answers

  • Unsubscribed User
    Unsubscribed User
    12,721 Points

    Unable to use butterknife annotations in code

    Posted April 25, 2015 11:54am by Unsubscribed User
    Unsubscribed User
    12,721 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    1 Answer

  • fediesonlandicho
    fediesonlandicho
    17,818 Points

    Updating gradle dependencies

    Posted April 10, 2015 1:25pm by fediesonlandicho
    fediesonlandicho
    17,818 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    1 Answer

  • qlpxjevhuv
    qlpxjevhuv
    10,503 Points

    Declaring Views

    Posted March 25, 2015 11:13pm by qlpxjevhuv
    qlpxjevhuv
    10,503 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    1 Answer

  • venkatesh rane
    venkatesh rane
    356 Points

    When i paste the code i gives me the error on TextView and ImageView... what should i do??

    Posted March 12, 2015 7:15pm by venkatesh rane
    venkatesh rane
    356 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Using Butter Knife for Views

    3 Answers

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