android9.0 framewrok.jar push到system/framework不起作用,解决方式。

 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 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

 

你可能感兴趣的:(android9.0 framewrok.jar push到system/framework不起作用,解决方式。)