On Ubuntu 14.04, I use the following commands for downloading android 9 source code of vim1.
~/bin/repo init -u https://github.com/khadas/android_manifest.git -b khadas-vims-pie
~/bin/repo sync -j4
But, I usually got an error that the command line is stuck in the following stat even after severl hours:
root@xland.net:/home/hoy/khadas/workspace# ~/bin/repo sync -j4
Fetching: 20% (144/695) 0:46 | 4 jobs | 0:35 platform/external/chromium-webview @ external/chromium-webview
What’s wrong with the source server?
Thanks!
numbqq
September 20, 2023, 1:37am
#3
@hoyzhang
Hello, we found that there was a problem with the remote of the previous external/chromium-webview library. I changed upstream again. You can clear the warehouse you synchronized and then use it again.
repo init -u https://github.com/khadas/android_manifest.git -b khadas-vims-pie
repo sync -j10
After synchronization, remove com.android.webview under the frameworks/base path before compilation
xiong@server:/users/xiong/work/amlogic/vim3/vim3_32bit/frameworks/base$ git show
commit f45b4f1e8c1f1c619f88627ad940b4926468f477 (HEAD -> khadas-vim3-p-32bit)
Author: Xiong Zhang <xiong.zhang@wesion.com>
Date: 2023-09-26 10:22:45 +0800
WebView: modify com.android.webview to com.google.android.webview
Signed-off-by: Xiong Zhang <xiong.zhang@wesion.com>
diff --git a/core/res/res/xml/config_webview_packages.xml b/core/res/res/xml/config_webview_packages.xml
index 27d1aab8fb07..9c4d65aed6a4 100644
--- a/core/res/res/xml/config_webview_packages.xml
+++ b/core/res/res/xml/config_webview_packages.xml
@@ -16,8 +16,6 @@
<webviewproviders>
<!-- The default WebView implementation -->
- <webviewprovider description="Android WebView" packageName="com.android.webview" availableByDefault="true">
- </webviewprovider>
<webviewprovider description="Android WebView" packageName="com.google.android.webview" availableByDefault="true">
</webviewprovider>
</webviewproviders>