Integration in AOSP<5.0 build broken
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 221
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I had UnifiedNlp integrated into my cm11 build. I synced today and tried to make a new build. I get the following error:
make: **\* No rule to make target `/run/media/xxx/cmod11/android/cm11/out/target/common/obj/JAVA_LIBRARIES/UnifiedNlpApi_intermediates/javalib.jar', needed by`/run/media/xxx/cmod11/android/cm11/out/target/common/obj/APPS/NetworkLocation_intermediates/classes-full-debug.jar'. Stop.
make: **\* Waiting for unfinished jobs....
I also tried to build it directly:
make NetworkLocation
target R.java/Manifest.java: NetworkLocation (/run/media/xxx/cmod11/android/cm11/out/target/common/obj/APPS/NetworkLocation_intermediates/src/R.stamp)
ERROR: resource directory 'packages/apps/UnifiedNlp/../../../prebuilts/sdk/current/support/v7/appcompat/res' does not exist
make: **\* [/run/media/xxx/cmod11/android/cm11/out/target/common/obj/APPS/NetworkLocation_intermediates/src/R.stamp] Error 1
Any idea on how I can fix this?
##
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing `make NetworkLocation` in the reported AOSP/CM11 environment and inspect the `NetworkLocation` build inputs around `UnifiedNlpApi_intermediates/javalib.jar`. Check why `packages/apps/UnifiedNlp/../../../prebuilts/sdk/current/support/v7/appcompat/res` is missing; done means the reported target builds without either error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100