kimpn

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: OpenTele Android Client server communication issues #4187
    kimpn
    Participant

    English translation of the above:

    Have tried downloading the opentele2-android-client-html, and followed the build instructions as declared in the document “Guide til videreudvikling”. When i am using the command ./gradlew installDebug to compile and install the APK on a connected android device i get the following error:

    Execution failed for task ‘:device-integration:packageDebugAndroidTest’.
    > Duplicate files copied in APK LICENSE.txt
    File 1: C:\Users\kpn\.gradle\caches\modules-2\files-2.1\org.hamcrest\hamcrest-core\1.3\42a25dc3219429f0e5d060061f71acb49bf010a0\hamcrest-core-1.3.jar
    File 2: C:\Users\kpn\.gradle\caches\modules-2\files-2.1\org.hamcrest\hamcrest-core\1.3\42a25dc3219429f0e5d060061f71acb49bf010a0\hamcrest-core-1.3.jar

    It doesn’t help to delete the folder. And it doesn’t help to change the build.gradle fil to exclude the LICENSE.txt file.

    I have tried running the project in Android Studio, and have managed to install the APK on an android device. However it only shows a HTML page where it says “The website is not available”.

    Any solutions for this?

    //Kim

    in reply to: OpenTele Android Client server communication issues #4186
    kimpn
    Participant

    Hej Michael.

    Har prøvet at hente opentele2-android-client-html, og fulgt build instructions som angivet i dokumentet “Guide til videreudvikling”. Når jeg benytter kommandoen ./gradlew installDebug for at kompilere og installere apk’en på en tilsluttet android enhed så får jeg fejlen:

    Execution failed for task ‘:device-integration:packageDebugAndroidTest’.
    > Duplicate files copied in APK LICENSE.txt
    File 1: C:\Users\kpn\.gradle\caches\modules-2\files-2.1\org.hamcrest\hamcrest-core\1.3\42a25dc3219429f0e5d060061f71acb49bf010a0\hamcrest-core-1.3.jar
    File 2: C:\Users\kpn\.gradle\caches\modules-2\files-2.1\org.hamcrest\hamcrest-core\1.3\42a25dc3219429f0e5d060061f71acb49bf010a0\hamcrest-core-1.3.jar

    Det hjælper ikke at slette mappen. Det hjælper heller ikke at ændre build.gradle filen for at se bort fra LICENSE.txt filen.

    Har også prøvet at åbne projektet i Android Studio, og det er lykkedes at få den kørt på en Android enhed. Her dukker der bare en HTML side op hvor der står “Websiden er ikke tilgængelig”.

    Er der nogen løsning på dette?

    //Kim

    in reply to: Error 403 in GET request to citizen server #4180
    kimpn
    Participant

    Hi.

    Thanks for providing that website. Changed the endpoint to http://opentele-citizen.4s-online.dk/patient. It works now.
    However im fairly certain that the end point has been changed since the last time i used it. I’d like to note that the documentation about “Snitflader” in your OpenTele Wiki page states that the correct endpoint is indeed /rest/patient/login. Maybe this needs to be changed? 🙂

    //Kim

Viewing 3 posts - 1 through 3 (of 3 total)