UnifiedNlp
UnifiedNlp copied to clipboard
Not able to Build the app
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
I was able to compile the project and the app if I checkout to 82479b7 (v1.6.9), but I need the following commit 4c9a3fac6f3e3d4282cc8c4cce8cf6af9b5fcc8b for my use case (Android 10)
could you help me?
Already tried to clean build and invalidate the cache
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 https://github.com/microg/UnifiedNlp/pull/205 to create a first "running" version for an app.
Sorry again: erfanoabdi already created a PR at #199 which is much more a usable app than my work.
@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?
@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.
@greenflash1986 can you tell me what the workflow is for most contributors? Do you build a full ROM when you make a change?
@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?
@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?
https://github.com/microg/GmsCore/pull/1776