detlef icon indicating copy to clipboard operation
detlef copied to clipboard

Build fails when using mygpoclient from source

Open dalb8 opened this issue 10 years ago • 0 comments

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 ====

dalb8 avatar Jun 08 '14 13:06 dalb8