microg / microg/UnifiedNlp

Build fails unless Android SDK Platform 25 is manually installed.

Open
#156 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.1k
Forks
221
PR merge metrics
No merged PRs in 30d

Description

It isn't listed anywhere in dependencies, but `build.gradle` does reference file from there:

https://github.com/microg/android_packages_apps_UnifiedNlp/blob/b331309c66d399918f7b293ceb6c3533ad24af88/unifiednlp-compat/build.gradle#L28

Without manually installing Android SDK Platform 25 the build fails with a lot of errors like `error: package android.os does not exist`. By default only Android SDK Platform 27 is automatically installed. Is something missing in https://github.com/microg/android_packages_apps_UnifiedNlp/commit/b331309c66d399918f7b293ceb6c3533ad24af88, or should Android SDK Platform 25 be required explicitly (here or in https://github.com/microg/android_packages_apps_GmsCore, maybe just as additional step in [build instruction](https://github.com/microg/android_packages_apps_GmsCore/wiki/Building))?

Full error message: [build-fail.txt](https://github.com/microg/android_packages_apps_UnifiedNlp/files/1998889/build-fail.txt)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with unifiednlp-compat/build.gradle at the referenced line and compare its Android SDK references with the repository's build setup. Reproduce the failure with only the automatically installed Platform 27, then verify that a clean build succeeds after the required Platform 25 dependency or build instruction is addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
build-system, mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.