Updater: README: Update android studio instructions

Change-Id: I061f5a10508aa67fd697e044c44ec6ca0f8b65a7
This commit is contained in:
althafvly
2022-05-11 10:50:58 +05:30
committed by Paul Keith
parent c25d43a9ca
commit 6af703b4d1

View File

@@ -44,9 +44,10 @@ it with the right key to update the one in the system partition. To do this:
- Place this directory anywhere in the Android source tree
- Generate a keystore and keystore.properties using `gen-keystore.sh`
- Build the dependencies running `make UpdaterStudio` from the root of the
Android source tree. This command will add the needed libraries in
`system_libraries/`.
- Build the dependencies by running `m framework` from the root of the
Android source tree.
- Create `system_libs/` directory in Updater repo and copy `classes.jar` file
from `out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/` into it.
You need to do the above once, unless Android Studio can't find some symbol.
In this case, rebuild the system libraries with `make UpdaterStudio`.
In this case, rebuild the system libraries with `m framework`.