Sakkeer Hussain
Sakkeer Hussain

Reputation: 459

Cannot find symbol class BaseAdapter

I am getting this error when running an android project just converted from ADT(Eclipse).

Found a thread here but no answer. Any one has any solution?

Upvotes: 3

Views: 1534

Answers (2)

galian
galian

Reputation: 890

This is workaround.

class XXXAdapter extends android.widget.BaseAdapter { }

Use android.widget.BaseAdapter instead of BaseAdapter

Upvotes: 3

Sakkeer Hussain
Sakkeer Hussain

Reputation: 459

I fixed this issue by moving that Adapter class(extending from BaseAdapter) to another java file.

Upvotes: 0

Related Questions