I have read here, https://source.android.com/docs/security/features/apksigning/v3, and here https://www.xda-developers.com/apk-signature-scheme-v3-key-rotation/, that I rotate keys with the V3 signing and be able to sign the apk with another key.
Do I still need the old key to sign it? Or signing it with the new key is enough?
In short, signed with new key is enough.
I did below key rotation steps on Android 13 emulator and Pixel 5 (not work on Android 10 Emulator)
below steps for you reference
create 3 key store owen1.jks, owen2.jks and owen3.jks
create rotation lineage file
sign serial.apk with each jks
sign serial.apk with rotation data
then let’s try the rotation as below steps