AnsweredAssumed Answered

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

Question asked by eddie huang on Dec 6, 2015

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.