Vim3l基于百度云基版本不能下载代码

执行repo sync -j40
Checking out projects: 98% (675/687) android_vendor_amlogic_prebuilt_libmediadrChecking out projects: 98% (676/687) android_vendor_amlogic_prebuilt_libstagefrChecking out projects: 100% (687/687), done.

不是单看最后信息。。。。前面的信息也要看。

需要执行这句吗
repo sync --force-sync system/extras
前面也没有报错


我的代码里没有这红色箭头的代码。是不是你们多了这个才引起的编译不过呢?

为啥突然提出这样问题?难道输出LOG有相关信息?都发出来看看

在这前我查了一下这个文件夹
total 150576
-rw-rw-r-- 1 c c 736 Feb 19 13:12 Android.mk
-rw-rw-r-- 1 c c 21835310 Jan 4 09:48 Aptoide.apk
-rw-rw-r-- 1 c c 132338434 Jan 18 11:21 Chrome.apk
-rw-rw-r-- 1 c c 55 Feb 19 13:12 preinstall.mk
-rw-rw-r-- 1 c c 511 Jan 4 09:48 preinstall.sh
里面的Chrome.apk 大小不对,我按照你们的帖子直接替换过
这那个帖子里面就有上面的需要执行
repo sync --force-sync system/extras

帖子

编译过程报这个错误

这个不是报错LOG。。。。。。。。。。。。。。。。。。。。

对比一下我们文件夹大小,看一下有没有缺失文件
31M ./sdk
350M ./toolchain
284M ./bootloader
131M ./development
100G ./.repo
404K ./libnativehelper
124M ./test
3.3M ./compatibility
804M ./common
22M ./bootable
14M ./build
1.7G ./frameworks
22G ./prebuilts
233M ./device
34M ./bionic
912K ./pdk
84M ./libcore
601M ./hardware
436M ./developers
5.8M ./platform_testing
4.0K ./out
90M ./art
690M ./packages
1.6G ./tools
6.5G ./external
779M ./cts
27M ./dalvik
148M ./system
1.4G ./vendor
876K ./kernel
137G .

增加一下
[ 99% 1184/1185] glob vendor/amlogic/common/interfaces/tvserver/1.0/src
编译这个的时候我查了一下
vendor/amlogic/common/interfaces/tvserver/1.0$ ls -a
. … Android.bp ITvServer.hal ITvServerCallback.hal types.hal
里面并没有src这个文件

[ 99% 1184/1185] glob vendor/amlogic/common/interfaces/tvserver/1.0/src
编译这个的时候我查了一下
vendor/amlogic/common/interfaces/tvserver/1.0$ ls -a
. … Android.bp ITvServer.hal ITvServerCallback.hal types.hal
里面并没有src这个文件

没关系,我的一样没有。。。。。。。。。。。

我记得在repo init 因为使用的是代理,在同步的时候报过
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly,我替换
android_system_extras.git这个文件,这个压缩包只有.repo/project-objects/android_system_extras.git
没有.repo/projects/system/extras.git这个

没关系,只要同步完成就好了。。。。。。。

我之前用其他电脑编译过,这个环境只要
安装Amlogic平台工具链
和JDK8就可以编译过。当时编译成功因为同步是一次通过的。之前系统是ubuntu18.4,现在换成了16.04

要不你rm -rf out目录,再重新编译下,说不定就通过了。

试了一下 还是不行。。。。。。。。。。。。。

openjdk version “9”
OpenJDK Runtime Environment (build 9+181-android4627429)
OpenJDK 64-Bit Server VM (build 9+181-android4627429, mixed mode)

/home/c/Desktop/aosp/khadas/prebuilts/jdk/jdk9/linux-x86

这个环境配置应该没有问题吧

我安装的是
me/c/.local/bin:/usr/lib/jvm/java-8-openjdk-amd64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/toolchains/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin

重新下载百度源码,设置清华源
fatal: repository ‘https://aosp.tuna.tsinghua.edu.cn/khadas/android_manifest.git/’ not found
这是什么错误

同步命令
repo init -u https://aosp.tuna.tsinghua.edu.cn/khadas/android_manifest.git -b khadas-vims-pie

同步命令
repo init -u https://github.com/khadas/android_manifest.git -b khadas-vims-pie

fatal: unable to access ‘https://github.com/khadas/android_manifest.git/’: Failed to connect to github.com port 443: Connection timed out

同步命令
repo init -u https://aosp.tuna.tsinghua.edu.cn/platform/manifest
fatal: Couldn’t find remote ref refs/heads/khadas-vims-pie
fatal: Couldn’t find remote ref refs/heads/khadas-vims-pie

这命令明显是错误的。
正确是这个:repo init -u GitHub - khadas/android_manifest: AOSP for Khadas VIMs & Edge -b khadas-vims-pie

其它人都没有遇到过你这个问题。要不你就直接用清华源下载代码得了。

好吧 ,清华源下载的步骤怎么样呢

repo init -u https://github.com/khadas/android_manifest.git -b khadas-vims-pie
这个我也用过不行呀

c@c:~/Desktop/aosp/khadas$ repo init -u https://github.com/khadas/android_manifest.git -b khadas-vims-pie
fatal: unable to access ‘https://github.com/khadas/android_manifest.git/’: Failed to connect to github.com port 443: Connection timed out
fatal: unable to access ‘https://github.com/khadas/android_manifest.git/’: Failed to connect to github.com port 443: Connection timed out
fatal: cannot obtain manifest https://github.com/khadas/android_manifest.git

https://docs.khadas.com/zh-cn/vim3/DownloadAndroidSourceCode.html
这网页已经写得很详细了,就按这里的步骤操作就行了。我现不得不怀疑你操作了其它,才导致用百度代码无法同步。