From 6af703b4d10db25a4da9bc2063e4bb99cb385972 Mon Sep 17 00:00:00 2001 From: althafvly Date: Wed, 11 May 2022 10:50:58 +0530 Subject: [PATCH] Updater: README: Update android studio instructions Change-Id: I061f5a10508aa67fd697e044c44ec6ca0f8b65a7 --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ecb06f4b..c246e792 100644 --- a/README.md +++ b/README.md @@ -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`.