Some differences between installing apk directly and pre-building it in system.img

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Some differences between installing apk directly and pre-building it in system.img

358 Views
eddiehuang
Contributor II

Hi everyone,

I ran into a problem of pre-installing a particular apk in system.img.

When executing the apk, it always crashed after it called upon an api from an so file which actually doesn't exist in /system/lib, which is understandable. However, if I install it directly by adb install apk command, it runs fine. This really confused me a lot. Can somebody explain what's the mechanism under the hood? Thank you.

0 Kudos
0 Replies