Estrange behaviour with gradle: cannot find symbol PagerAdapter

350 views
Skip to first unread message

luciofm

unread,
Nov 9, 2012, 9:07:07 AM11/9/12
to adt...@googlegroups.com
Hi, I'm trying the new build system, to take advantage of the flavour builds.

I've create a multiproject setup, compiling ActionBarSherlock, DiskLruCache and some other library dependencies, all fine.

But when I try to compile my application, I'm getting this error:

/Users/luciofm/Documents/workspaces/Zynk/ZynkCorp/src/me/zynk/zynkcorp/ui/fragments/phone/DashboardListFragment.java:128: cannot find symbol
symbol  : class PagerAdapter
location: class me.zynk.zynkcorp.ui.fragments.phone.DashboardListFragment
public static class TabsAdapter extends PagerAdapter implements

If I remove this Fragment from my source base (and comment out where it is instantiate), my project compiles fine, using a lot of other android-support classes, including FragmentStatePagerAdapter which extends from PagerAdapter.

Lúcio Maciel
luc...@gmail.com

Xavier Ducrohet

unread,
Nov 9, 2012, 1:48:46 PM11/9/12
to adt...@googlegroups.com
This is strange, but hard to figure out without knowing the details.

Are you sure the import statement for this class is correct?
--
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!
Reply all
Reply to author
Forward
0 new messages