Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

pdiaz
pdiaz
16,073 Points

Package UI does not exist when it does (Lists and Adapters)

Hey everyone, I have come across a problem in my code. When I run it, I keep getting an area saying the UI package doesn't exist when it clearly does. I am doing the stormy project and I can't run my code with this error which came out of no where. Can anyone help? I would very much appreciate it.

package com.pat.peter.stormy.UI;

import android.view.View;
import butterknife.Unbinder;
import butterknife.internal.Finder;
import butterknife.internal.ViewBinder;
import com.pat.peter.stormy.UI;
import java.lang.IllegalStateException;
import java.lang.Object;

import java.lang.Override;

 public class MainActivity$$ViewBinder<T extends UI.MainActivity> implements      ViewBinder<T> {

1 Answer

Seth Kroger
Seth Kroger
56,413 Points

It's probably a capitalization issue. Package names should be all lowercase: https://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html