Cannot find symbol BaseAdapter/ArrayAdapter

334 views
Skip to first unread message

Inmaculada Alcón

unread,
Aug 6, 2014, 6:05:22 AM8/6/14
to adt...@googlegroups.com
Hi,
I have a problem when I compile my project with Gradle.

It executes correctly gradle but when I compile the entire project It says "Cannot find symbol BaseAdapter".
It fails in assembleDebug but AndroidStudio doesn't mark any error in the code.
When it's running gradlew.bat assembleDebug -debug  the output fails at line

11:32:54.580 [INFO] [org.gradle.api.internal.tasks.compile.jdk6.Jdk6JavaCompiler] Compiling with JDK Java compiler API.
11:32:56.740 [ERROR] [system.err] C:\Users\User55\AndroidStudioProjects\GolesMessenger3\app\src\main\java\gm\mobi\android\adapter\ConfigMatchAdapter.java:125: error: cannot find symbol
11:32:56.799 [ERROR] [system.err]       public static class ConfigMatchItemsAdapter extends BaseAdapter {
11:32:56.803 [ERROR] [system.err]                                                           ^
11:32:56.811 [ERROR] [system.err]   symbol:   class BaseAdapter
11:32:56.816 [ERROR] [system.err]   location: class ConfigMatchAdapter
11:32:56.845 [ERROR] [system.err] C:\Users\User55\AndroidStudioProjects\GolesMessenger3\app\src\main\java\gm\mobi\android\adapter\TeamsAdapter.java:44: error: cannot find symbol
11:32:56.849 [ERROR] [system.err]       public static class TeamsItemAdapter extends ArrayAdapter {
11:32:56.895 [ERROR] [system.err]                                                    ^
11:32:56.900 [ERROR] [system.err]   symbol:   class ArrayAdapter
11:32:56.904 [ERROR] [system.err]   location: class TeamsAdapter

The number of errors are 19

The version of Android Studio is 0.8.0 and JDK is 1.7.0_51

i don't know if it's a bug or a gradle configuration issue. I appreciate any help you can send me back.
Thank you,

Inmaculada Alcón

Puneet Rastogi

unread,
Jan 30, 2015, 6:33:27 AM1/30/15
to adt...@googlegroups.com
I am facing the same issue.. Can you please tell me how u fixed it?
Reply all
Reply to author
Forward
0 new messages