I am trying to install an APK as a system app in /system/app
when I install it as a nurmal user app to data/app
, everything works fine.
when I try to install different app as a system app, it works fine
but for this app, is crashes with the error
E/dalvikvm( 1533): Dex cache directory isn't writable: /data/dalvik-cache
.
every other app works fine and there is plenty of space on /data
partition.
/data/dalvik-cache
has drwxrwx--x
permission.
after running chmod 777 /data/dalvik-cache
the app was open correctly!
The question is: why does android have a write problem to /data/dalvik-cache
, only when the app is install as system app, and only for this app.
I also notice that the icon size is smaller when installed as system app. is there a different parsing method for system app's then user app's?
android version: 4.4