build - Android source framework modify rebuild but become effective in emulator -


i modify /framework/base/services/core/java/com/android/server/am/activitymanagerservice.java logcat output string.

and try use different ways rebuild it:

make -jn top folder or

mmm /framework/base -jn or

mmm /framework/base/services -jn

and new output file in /out/target/product/generic_x86/system/framework/x86/services.odex

and update system.img make snod

then try restart emulator, or adb remount adb sync, or kill system_server process

but sadly, no matter kinds of methods use, emulator output original string.(so angry)

i extract new output system.img new services.odex file, , use oat2dex.jar decompile java code, , indeed see string has changed in it.

so why when run emulator, won't become effective...


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -