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

Not able to Build the app #193

Open
pigliamosche opened this issue Oct 5, 2020 · 8 comments
Open

Not able to Build the app #193

pigliamosche opened this issue Oct 5, 2020 · 8 comments

Comments

@pigliamosche
Copy link

pigliamosche commented Oct 5, 2020

I'm trying to build the app, I followed the README file but I'm not able to compile it

root project 'UnifiedNlp': Unable to resolve additional project configuration.
Details: org.apache.tools.ant.BuildException: Basedir xxxxx/UnifiedNlp/location-v1 does not exist

image

I was able to compile the project and the app if I checkout to 82479b7 (v1.6.9), but I need the following commit 4c9a3fa for my use case (Android 10)

could you help me?

Already tried to clean build and invalidate the cache

@pigliamosche pigliamosche changed the title Build Project Not able to Build the app Oct 5, 2020
@greenflash1986
Copy link

Sorry to inform you, that there is no standalone app anymore on this commit. There are just some libs for single components (.aar files) and the API for the BackendDevelopers which compiles to an apk. I created a PR at #205 to create a first "running" version for an app.

@greenflash1986
Copy link

Sorry again: erfanoabdi already created a PR at #199 which is much more a usable app than my work.

@mddrill
Copy link

mddrill commented Apr 4, 2021

@greenflash1986 I am having issues building this as well. Both the github and gitlab README's give the impression this should be compilable on it's own. I'm getting this error:

>gradlew.bat assembleDebug

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':unifiednlp-app:processNetworkLocationDebugManifest'.
> Could not resolve all task dependencies for configuration ':unifiednlp-app:NetworkLocationDebugRuntimeClasspath'.
   > Could not resolve project :microg-ui-tools.
     Required by:
         project :unifiednlp-app > project :unifiednlp-base
      > Unable to find a matching configuration of project :microg-ui-tools: None of the consumable configurations have attributes.
   > Could not resolve project :unifiednlp-api.
     Required by:
         project :unifiednlp-app > project :unifiednlp-base
      > Unable to find a matching configuration of project :unifiednlp-api: None of the consumable configurations have attributes.

* 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 3s

I've tried both using the git submodule --init command on the gitlab readme and compiling both of those aars from source. Neither makes a difference.

If this is not meant to be compilable as a standalone app, then what is your workflow? Do you build the full ROM every time you make a change? Are the other microg apps compilable on their own?

@greenflash1986
Copy link

@mddrill Afaik there is no buildable standalone app anymore on tag "v1.6.9". I guess 1.6.9 is only usable together with MicroG.
But erfanoabdi created a PR at #199 which you can build. (You don't need submodules anymore on his / her PR.) You have to check out his / her repo and you can build the app.

@mddrill
Copy link

mddrill commented Apr 8, 2021

@greenflash1986 can you tell me what the workflow is for most contributors? Do you build a full ROM when you make a change?

@greenflash1986
Copy link

@mddrill sorry, but to avoid misunterstandings: but I'm not the maintainer :D

Afaik this repo (UnifiedNlp) is also used in the microG builds. I guess that's why there is no buildable standalone app at the moment because they don't need the standalone app.

What do you want to achive? Sorry but I don't get your thoughts why you want to build a ROM?

@mddrill
Copy link

mddrill commented Apr 9, 2021

@greenflash1986 I'm just trying to get this project running so I can looking into fixing bugs. I want to know how the person/people who work on this project run it. If they don't build it as a single app, I'm wondering how they build it?

@git-bruh
Copy link

microg/GmsCore#1776

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

4 participants