android-studio-2022.1.1.19-windows.exe
to run the installationAdd system signature file
In the project directory, create a new security folder to store the system signature file.
Store the system signature file youyeetooR1.keystore
linked below to the security folder.
File
-> Project Structure...
-> Modules
-> Signing Configs
+
below Signing Configs
, enter youyeetooR1
, and press Enter. Fill in the information in the appropriate positions.Store File
: Click the folder icon to select the path where youyeetooR1.keystore is storedStore Password
: fill in youyeetooKey Alias
: fill in youyeetooKey Password
: fill in youyeetooBuild Variants
-> Build Types
-> debug
-> Signing Config
. Select $signingConfigs.youyeetooR1
. The animation is shown below.In the AndroidManifest.xml
file add
android:sharedUserId="android.uid.system"
tools:ignore="Deprecated"
Add framework.jar
Download the source code (on the Ubuntu host)
cat youyeetooR1-Android13.tar.gz0* > youyeetooR1-Android13.tar.gz
tar -xzvf youyeetooR1-Android13.tar.gz
cd youyeetooR1-Android13
source build/envsetup.sh
lunch youyeetooR1-userdebug
./build.sh -UKAu
framework.jar
(on the Ubuntu host)make javac-check-framework
Packaging is completed and generated out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar
document. Copy the classes.jar file to the app/libs directory in the project directory.
Add As Library...
change
dependencies {
...
implementation files('libs\\classes.jar')
...
}
to
dependencies {
...
compileOnly files('libs\\classes.jar')
...
}