raspberry-vanilla / android_local_manifest

106 stars 48 forks source link

build/make/core/product_config.mk:228: error: Can not locate config makefile for product "aosp_rpi4". #18

Closed geajack closed 1 year ago

geajack commented 1 year ago

On the android-13.0 branch, I followed the README instructions:

repo init -u https://android.googlesource.com/platform/manifest -b android-13.0.0_r52 --depth=1
curl --create-dirs -L -o .repo/local_manifests/remove_projects.xml -O -L https://raw.githubusercontent.com/raspberry-vanilla/android_local_manifest/android-13.0/remove_projects.xml
repo sync
. build/envsetup.sh
lunch aosp_rpi4-userdebug

but at that point I get hit with:

In file included from build/make/core/config.mk:353:
In file included from build/make/core/envsetup.mk:354:
build/make/core/product_config.mk:228: error: Can not locate config makefile for product "aosp_rpi4".
23:56:16 dumpvars failed with: exit status 1

Possibly relevant that when I ran repo sync, I saw:

... A new version of repo (2.32) is available.
... New version is available at: /media/jack/storage/RaspberryAndroid/.repo/repo/repo
... The launcher is run from: /usr/bin/repo
!!! The launcher is not writable.  Please talk to your sysadmin or distro
!!! to get an update installed.

But I ignored it and ploughed ahead.

Ubuntu 22

KonstaT commented 1 year ago

Please see https://github.com/raspberry-vanilla/android_local_manifest/issues/4#issuecomment-1383134523.

I've clarified the instructions as this wasn't the first time.