Skip to content

Project doesn't build, presumably due to severely outdated deps #20

@Hi-Angel

Description

@Hi-Angel

FWIW, I'm not an Android dev, so I may miss something here. Am just a user trying to build the project to get working DLNA-browser on Meta Quest 3 headset (which obviously doesn't have access to Google Play).

The first build problem is that project relies on com.android.tools.build:gradle:2.2.0, but gradle 2.2.0 is a version from 2016 which doesn't even seem to exist on repositories. Searching over Maven Central I found gradle, but the lowest supported version is 6.6.1.

Anyway, I tried replacing it to com.github.hazendaz.gradle:gradle:8.11.1 and proceeded with building, but the next error was:

> Plugin with id 'com.android.application' not found.

Idk if it's related to outdatedness, but since I likely get more errors due to the gradle being upped from v2 to v8, I figured it's better at this point to report the bug.

Steps to reproduce

  1. Clone the project and install deps
  2. Export path to Android SDK, e.g. export ANDROID_HOME=/opt/android-sdk; export PATH=$PATH:$ANDROID_HOME/tools/bin; export PATH=$PATH:$ANDROID_HOME/platform-tools
  3. Enter the project dir and execute gradle build

Expected

The build succeeds

Actual

Build fails with:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'android-dlna'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find com.android.tools.build:gradle:2.2.0.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/2.2.0/gradle-2.2.0.pom
     Required by:
         root project :

* Try:
> If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.10.2/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 809ms

Additional information

On an unrelated note, the app in Google Play doesn't seem to be working either. The page just doesn't enlist my Android 13 based "Ulefone Armor 24" as a target for the app to be installed to. Not that I was going to install it there (I need it on the VR headset instead), but either way…

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions