Background
Currently, various manufacturers’ phones have started to ship with AOSP 14, which is Android 14. By 2024, all phones will be running on Android 14.
I’ve been closely monitoring whether LineageOS has timely upgraded to the latest Android 14. Today, I checked the official website and indeed found that it has been upgraded. I also set up the environment for compilation at the first opportunity. However, during the process, I discovered some differences compared to the previous version. Therefore, I need to document these differences for reference to help students avoid unsuccessful setups. With my guidance, everyone can save a lot of time in the setup process.
This section only discusses the differences; please refer to the following link for details:
https://blog.csdn.net/learnframework/article/details/128438325
Related Differences Sharing:
1 breakfast nx563j
Directly reported an error unable to fetch from GitHub: Failed to fetch data from GitHub. If you encounter this error, you can check the relevant source code:
This path is inaccessible over the network, which leads to the inability to fetch. Ultimately, this is due to our network issues. So how can we effectively resolve this?
I remember that during AOSP 13, there were no issues with LineageOS. I checked the old version of this file and found that its code is as follows:
The accessed addresses are quite different. Therefore, I attempted to directly overwrite the old version of vendor/lineage/build/tools/roomservice.py:
If not available, just copy it from here:
2 ./extract-files.sh has a few errors
The solution is to flash the phone with the latest version of LineageOS. The version download link:
https://download.lineageos.org/devices/nx563j/builds
After flashing to the latest version, executing ./extract-files.sh will have no errors.
3 Compilation error with webview.apk
Solution:
1. You can find webview.apk from the flashed phone and copy it to the path of the erroring apk.
2. Copy webview.apk from the previous successful compilation code as follows:
Finally, it succeeded as follows:


More detailed code and materials in this article require course purchase to obtain.

Private message the author +v(androidframework007)
Other courses seven-piece set topic:

Click here https://mp.weixin.qq.com/s/Qv8zjgQ0CkalKmvi8tMGaw
Video preview: https://www.bilibili.com/video/BV1wc41117L4/