android9.0 framewrok.jar push到system/framework不起作用,解决方式:
adb push out/target/product/xxx/system/framework/boot-framework.vdex /system/framework/
adb push out/target/product/xxx/system/framework/arm/boot-framework.art /system/framework/arm
adb push out/target/product/xxx/system/framework/arm/boot-framework.art.rel /system/framework/arm
adb push out/target/product/xxx/system/framework/arm/boot-framework.oat /system/framework/arm
有的小伙伴不起作用,然后把services.jar 一起push进去就可以了
adb push out/target/product/xxx/system/framework/services.jar /system/framework/
然后重启设备,打印出了framework的log
01-01 01:01:38.937 5241 5241 I xxxxxxx : ActivityThread main !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!————————————————版权声明:本文为CSDN博主「z1032689332」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。原文链接:https://blog.csdn.net/z1032689332/article/details/88423480