Td5OpenDiag / Td5OpenDiag-android

Android application to interact with Land Rovers Td5 engine's ECU.
Apache License 2.0
12 stars 3 forks source link

Compiled APK release #4

Open carissableker opened 2 weeks ago

carissableker commented 2 weeks ago

Would it be possible to add a compiled APK under releases?


Related issue

I have attempted to build it myself, but I have 0 experience in developing for android, and when attempting to compile the APK from source in AndroidStudio, I get an error related to

Failed to resolve: com.github.aloike.libgauge:LibGauge:0.0.5 or Could not GET 'https://jitpack.io/com/github/aloike/libgauge/LibGauge/0.0.5/LibGauge-0.0.5.pom'. Received status code 401 from server: Unauthorized

I believe the dependencies need to be updated, and it may be related to jcenter shutdown... https://blog.gradle.org/jcenter-shutdown

Thanks!

carissableker commented 2 weeks ago

Trying to build myself again, get the following message.

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
   > Could not resolve com.github.aloike.libgauge:LibGauge:0.0.5.
     Required by:
         project :app
      > Could not resolve com.github.aloike.libgauge:LibGauge:0.0.5.
         > Could not get resource 'https://jitpack.io/com/github/aloike/libgauge/LibGauge/0.0.5/LibGauge-0.0.5.pom'.
            > Could not GET 'https://jitpack.io/com/github/aloike/libgauge/LibGauge/0.0.5/LibGauge-0.0.5.pom'. Received status code 401 from server: Unauthorized

@Aloike It seems like the dependency at https://github.com/aloike/libgauge was deleted in the meanwhile?


Note get the docker running, I had to update the base to ubuntu 22.04,

FROM ubuntu:22.04

In the latest Ubuntu, the Java version is incompatible, but any earlier than 22.04 the repos are discontinued, so the image cannot be built.