Cannot compile develop branch in android studio
Hello there, I get the following error in android studio during compilation:
:compileBetagroupJava/home/strubul/WordPress-Android/src/org/xmlrpc/android/ApiHelper.java:412: error: cannot find symbol
public static class SyncMediaLibraryTask extends HelperAsyncTask<List<?>, Void, Integer> {
^
symbol: class List
location: class ApiHelper
I just have forked and cloned the branch and followed the instructions in the handbook:
strubul@ubuntu:~/WordPress-Android$ git status
On branch develop
nothing to commit (working directory clean)
Am I doing something wrong? Any help would be appreciated.
I think you should be running 'debug' instead of 'betagroup'. Click 'Build Variants' and change it to Debug.

@daniloercoli About this issue, we should rename our internal beta build like "zbeta" to avoid more confusion about the default built being the first in alphabetical order in Android Studio.
@maxme OK, will rename the "betagroup" buildType to "zbetagroup".
I chose "debug" and run but the problem still remains. (And a related question: in pull requests what should the build type be ? Thanks.)

I have the same problem building wordpress 2.6 RC2 for F-Droid:
:compileReleaseJava/home/ant1/Projects/fdroid/fdroiddata/build/org.wordpress.android/src/org/xmlrpc/android/ApiHelper.java:412: error: cannot find symbol
public static class SyncMediaLibraryTask extends HelperAsyncTask<List<?>, Void, Integer> {
^
symbol: class List
location: class ApiHelper
@strubul @aelmahmoudy can you please pull the current version from the develop branch and check if the fix is working in your environment?
I've applied the diff from commit 2bbe830 to the 2.6-rc-2 tag, and it built successfully
@aelmahmoudy great, thanks!
@maxme No error for me either..
Latest build on f-droid is version 2.7.1 from 12 April 2014. Perhaps one of the people involved in that build could please revive and update that?