Build error when including in platform_manifest
- Device OS and version: Arch Linux/aosp_x86_64-eng
- Device model/manufacturer: Generic Emulator (Android Q)
- F-Droid version (in the About screen): 1.7.1
- F-Droid privileged extension version (if installed): 0.2.11
What did you do? (clear steps if possible)
I am attempting to bundle the F-Droid android client in my ROM. I've added the following lines in my platform_manifest:
<remote name="fdroid" fetch="https://gitlab.com/fdroid/" />
<project path="packages/apps/F-DroidPrivilegedExtension"
name="privileged-extension.git" remote="fdroid"
revision="refs/tags/0.2.11" />
<project path="packages/apps/F-Droid"
name="fdroidclient.git" remote="fdroid"
revision="refs/tags/1.7.1" />
What did you expect to see?
The ROM builds successfully
What did you see instead?
I get the following build error whenever I include the F-Droid Client:
FAILED:
packages/apps/F-Droid/Android.mk:16: error: writing to readonly directory: "packages/apps/F-Droid/app/build/outputs/apk/full/release/app-full-release-unsigned.apk"
22:50:53 ckati failed with: exit status 1
I've confirmed that the ROM builds successfully if I comment out the following lines to remove the client from the manifest:
<project path="packages/apps/F-Droid"
name="fdroidclient.git" remote="fdroid"
revision="refs/tags/1.7.1" />
Am I missing a step or doing something else wrong?
Edited by njfox