Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails when using mygpoclient from source #65

Open
dalb8 opened this issue Jun 8, 2014 · 0 comments
Open

Build fails when using mygpoclient from source #65

dalb8 opened this issue Jun 8, 2014 · 0 comments

Comments

@dalb8
Copy link

dalb8 commented Jun 8, 2014

Instead of using the prebuilt jar, I replaced it with jar built from the mygpclient submodule. (note one error in test Tests:
testSearch(com.dragontek.mygpoclient.extras.GoogleReaderApiTest): java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 10)

Error is:

-compile:
    [javac] Compiling 113 source files to /home/gerry/my-fdroiddata/build/at.ac.tuwien.detlef/detlef/bin/classes
    [javac] /home/gerry/my-fdroiddata/build/at.ac.tuwien.detlef/detlef/src/at/ac/tuwien/detlef/gpodder/PodderIntentService.java:197: error: no suitable constructor found for MygPodderClient(String,String,String)
    [javac]         MygPodderClient mpc = new MygPodderClient(
    [javac]                               ^
    [javac]     constructor MygPodderClient.MygPodderClient(String) is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     constructor MygPodderClient.MygPodderClient(String,String) is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac] /home/gerry/my-fdroiddata/build/at.ac.tuwien.detlef/detlef/src/at/ac/tuwien/detlef/gpodder/PodderIntentService.java:294: error: no suitable constructor found for MygPodderClient(String,String,String)
    [javac]         MygPodderClient gpc = new MygPodderClient(
    [javac]                               ^
    [javac]     constructor MygPodderClient.MygPodderClient(String) is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     constructor MygPodderClient.MygPodderClient(String,String) is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac] /home/gerry/my-fdroiddata/build/at.ac.tuwien.detlef/detlef/src/at/ac/tuwien/detlef/gpodder/SyncEpisodeActionsAsyncTask.java:81: error: no suitable constructor found for MygPodderClient(String,String,String)
    [javac]         MygPodderClient gpc = new MygPodderClient(username, password, gps.getApiHostname());
    [javac]                               ^
    [javac]     constructor MygPodderClient.MygPodderClient(String) is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     constructor MygPodderClient.MygPodderClient(String,String) is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac] /home/gerry/my-fdroiddata/build/at.ac.tuwien.detlef/detlef/src/at/ac/tuwien/detlef/gpodder/SyncSubscriptionsAsyncTask.java:89: error: no suitable constructor found for MygPodderClient(String,String,String)
    [javac]         MygPodderClient gpc = new MygPodderClient(
    [javac]                               ^
    [javac]     constructor MygPodderClient.MygPodderClient(String) is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     constructor MygPodderClient.MygPodderClient(String,String) is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac] 4 errors

BUILD FAILED
/home/gerry/android-sdk-linux/tools/ant/build.xml:720: The following error occurred while executing this line:
/home/gerry/android-sdk-linux/tools/ant/build.xml:734: Compile failed; see the compiler error output for details.

Total time: 15 seconds
==== detail end ====
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant