When I try to flash GApps right after flashing LineageOS with TWRP I get,
Updater process ended with ERROR: 20 Error installing zip file '/sdcard/open_gapps-arm64-10.0-micro-20201114.zip
What is the cause of this problem, how can I fix it?
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.Visit Stack Exchange
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It only takes a minute to sign up.Sign up to join this community
This is because you can't flash Open GApps right after flashing LineageOS. You must reboot back into the recovery TWRP, and flash the application after that.
From the Official Instruction, which support only LineageOS Recovery
(Optionally): If you want to install any additional add-ons, click Advanced, then Reboot to Recovery, then when your device reboots, click Apply Update, then Apply from ADB, then
adb sideload filename.zipthose packages in sequence.
But this is no different for TWRP. You can find people here in the bug reports for Open GApps that have the same problem.