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

Unable to build per readme.md instructions #334

Open
Swissman1 opened this issue Nov 30, 2022 · 2 comments
Open

Unable to build per readme.md instructions #334

Swissman1 opened this issue Nov 30, 2022 · 2 comments

Comments

@Swissman1
Copy link

I have cloned the source per the readme, and followed the instructions, but when I run gradlew, after it creates the daemon, the build fails with this error:

  • What went wrong:
    Task 'installDebug' not found in root project 'aprsdroid'.

I am guessing it is a case of the build method being altered but not documented, but still lost on how to rectify.

I would love to jump in and assist on some of the issues, but being able to build the unaltered project is step 1 for that...

@Tyler-2
Copy link

Tyler-2 commented Feb 6, 2023

I am not a java dev (or even a dev, really) but I tried to build this, same as you, and failed:

tyler@func-platform:~/Repos/aprsdroid$ git submodule update --init --recursive
Cloning into '/home/tyler/Repos/aprsdroid/PacketDroid'...
Submodule path 'PacketDroid': checked out '4df3e4a955de011bd7696ec8b4fb5f7a1a387f1f'
tyler@func-platform:~/Repos/aprsdroid$ ./gradlew installDebug

FAILURE: Build failed with an exception.

* What went wrong:
Could not initialize class org.codehaus.groovy.runtime.InvokerHelper

* Try:
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

BUILD FAILED in 261ms

I also tried it in an android-studio snap and got a whole host of other errors I don't understand.

@ge0rg
Copy link
Owner

ge0rg commented Mar 2, 2023

It looks like an issue with my old build system (or maybe Android in general?) and Java 14: gradle/gradle#12599

Maybe you could try OpenJdk 12?

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

3 participants