安装一个应用程序进入了Android的源代码编译的数据/应用程序,而不是系统/应用程序 [英] Install an app into data/app instead of system/app in the Android Source compilation
本文介绍了安装一个应用程序进入了Android的源代码编译的数据/应用程序,而不是系统/应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我把我的应用程序文件夹中的
I put my application folder in
packages/apps // inside AOSP android code
现在我的应用有以下 Android.mk
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_PACKAGE_NAME := package_name
LOCAL_CERTIFICATE := platform
include $(BUILD_PACKAGE)
# Use the folloing include to make our test app
include $(call all-makefiles-under,$(LOCAL_PATH))
现在当我编译整个安卓code也编译我的应用程序,并把的.apk文件里面
Now when I compile whole android code it also compile my application and put .apk file inside
输出/目标/产品/ $ MY_PLATFORM /系统/应用程序
不过,我希望把它在
输出/目标/产品/ $ MY_PLATFORM /数据/应用程序
所以,我该怎么办? 在这使得文件,我需要改变吗?
So how I can do? In which make file I need to change?
推荐答案
我得到了解决,通过改变这个东西 Andorid.mk
I got the solution by changing this thing in Andorid.mk
LOCAL_MODULE_TAGS := tests
这篇关于安装一个应用程序进入了Android的源代码编译的数据/应用程序,而不是系统/应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文