markus@markus-Virtual-Machine:~/khadas/pie$ rm -rf .repo/project-objects/android_device_rockchip_rk3399.git/ .repo/projects/device/rockchip/rk3399.git/markus@markus-Virtual-Machine:~/khadas/pie$ rm -rf .repo/project-objects/android_device_rockchip_common.git/ .repo/projects/device/rockchip/common.git/markus@markus-Virtual-Machine:~/khadas/pie$ rm -rf .repo/project-objects/android_vendor_rockchip_common.git/ .repo/projects/vendor/rockchip/common.git/markus@markus-Virtual-Machine:~/khadas/pie$ repo sync -c device/rockchip/rk3399
Fetching project android_device_rockchip_rk3399
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
fatal: Couldn’t find remote ref refs/heads/087d19389776d16f7c58f5c085aebadd0f726ef2
fatal: Couldn’t find remote ref refs/heads/087d19389776d16f7c58f5c085aebadd0f726ef2
error: Cannot fetch android_device_rockchip_rk3399 from https://github.com/khadas/android_device_rockchip_rk3399
You can try to run
repo sync -j1
Then it can show you the exact folder running into a problem.
Then delete that folder in both locations, .repo/project-objects/ &
.repo/projects/ manually from a file manager not terminal command.
Then run repo sync -j1 again and continue.
Also try to remove the ‘upstream’ part for line 10, 17, 37 or revert all changed lines to the old values in pink and try again to repo sync -j1. The manifest file will be somewhere in the .repo/manifest folder or look for the shortcut manifest.xml file in the .repo folder, right click it and check the original file’s location. The folders you have problems with seem to be the ones updated recently, maybe older versions of them will sync correctly, you can try that.