redroid-doc icon indicating copy to clipboard operation
redroid-doc copied to clipboard

redroid13 build fail because chromium-webview was update

Open hjxcode opened this issue 1 year ago • 5 comments

当我尝试编译redroid13时,发现无法像往常一样编译成功。显示了如下错误 微信图片_20240516110153

我以为是我的 git lfs产生了错误,没有正确拉取到external/chromium-webview/prebuilt/arm64/webview.apk 所以我尝试重新安装了最新版的lfs,并且执行了repo forall -g lfs -c 'git lfs pull',但并没有用。

我看了代码,貌似会从chromium-webview的github中拉取main的webview.apk,所以我查看了 https://github.com/LineageOS/android_external_chromium-webview_prebuilt_arm64

看到webview.apk在两周前进行了更新,所以我改用旧版本的webview.apk替换了redroid拉取到的webview.apk。成功完成了编译。

所以,是webview.apk更新导致了上述问题么?我记录并反馈一下。

hjxcode avatar May 16 '24 03:05 hjxcode

Try follow the notes prompted by the build system.

Possible should stick to old chromium webview for legacy Android release.

zhouziyang avatar May 16 '24 12:05 zhouziyang

I had the same problem and I tried to use this method: https://github.com/remote-android/redroid-doc/tree/master/android-builder-docker#2-fetch-and-sync-android-and-redroid-codes

But the same, the webview.apk doesn't download and don't really know what's wrong with it image

TUGOhost avatar Jun 26 '24 06:06 TUGOhost

@TUGOhost

check git-lfs 。 #check git lfs install result git lfs install #should output: Git LFS initialized.

image

hjxcode avatar Jun 26 '24 06:06 hjxcode

@hjxcode hi, I checked git lfs install result,output :Git LFS initialized.

But I repo sync again and it doesn't download the apk, it's still the same as before.

image

TUGOhost avatar Jun 26 '24 08:06 TUGOhost

I downloaded the file locally and cp'd it to the target directory myself, and it compiled successfully, but I haven't tried to run it yet.

TUGOhost avatar Jul 01 '24 11:07 TUGOhost