Making an app in the Android Source compile into system/app instead of data/app?

android, android-source, rom

Solution

Add:

LOCAL_MODULE_PATH := system/app
LOCAL_UNINSTALLABLE_MODULE := true
LOCAL_CERTIFICATE := platform

Problem

I'm compiling an Android ROM from source, and I have several apps that compile, but into data/app on the phone. They're uninstallable through the phone settings. I want them to be impossible to uninstall from the phone, and to compile into system/app instead of data/app. Any advice? edit:typo

Original source

Related problems