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

Build fails with non-default project directory #42

Open
MichaelElmore1 opened this issue Nov 14, 2023 · 0 comments
Open

Build fails with non-default project directory #42

MichaelElmore1 opened this issue Nov 14, 2023 · 0 comments

Comments

@MichaelElmore1
Copy link

When using a different directory, build fails with the reason "The 'java' plugin has been applied, but it is not compatible with the Android plugins." This is likely due to this line: https:/opensensorhub/osh-android/blob/master/build.gradle#L27

Steps to reproduce:
Clone osh-android as osh-android-test
Change to v2 branch
Run git submodule update --init --recursive if necessary
Load Gradle changes

Theoretically, it is an easy fix, but I don't know the Gradle syntax for getting the app root directory programmatically.

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

1 participant