Butterknife: Cannot resolve symbol error in ViewBinder

Created on 28 Apr 2016  路  4Comments  路  Source: JakeWharton/butterknife

I am getting a cannot resolve symbol error when trying to build my app. The error is coming from the ViewBinder class that Butterknife generates.

C:\Users\dave\AndroidStudioProjects\SoundBoard\app\build\generated\source\apt\debug\com\wochstudios\InfiniteSoundboards\MainActivity$$ViewBinder.java:8: error: cannot find symbol
import com.wochstudios.InfiniteSoundboards;
^
symbol: class InfiniteSoundboards
location: package [com.wochstudios]

I have attached the activity where I am using ButterKnife. I have all the dependencies setup in my gradle files and I've tried cleaning and rebuilding the app a few times now. Not sure why this issue is coming up.

MainActivity.txt

Most helpful comment

It's because your package name is uppercase. Dupe of #507. I'll fix soon.

All 4 comments

It's because your package name is uppercase. Dupe of #507. I'll fix soon.

thanks!

Thanks u saved my time

Thank you JakeWharton , works perfectly.

Was this page helpful?
0 / 5 - 0 ratings