Android.mk 写法

目录放在odm/bundled_uninstall_back-app/VantronMdm/VantronMdm.apk

LOCAL_PATH := $(my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := VantronMdm

LOCAL_MODULE_CLASS := APPS

LOCAL_MODULE_PATH := $(TARGET_OUT_ODM)/bundled_uninstall_back-app

LOCAL_SRC_FILES := (LOCAL_MODULE)(COMMON_ANDROID_PACKAGE_SUFFIX)

LOCAL_CERTIFICATE := platform

#LOCAL_DEX_PREOPT := false

LOCAL_MODULE_TAGS := optional

LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)

LOCAL_JNI_SHARED_LIBRARIES_ABI := arm64

MY_LOCAL_PREBUILT_JNI_LIBS := \

lib/arm64/libaria2c.so\

lib/arm64/libjingle_peerconnection_so.so\

lib/arm64/libliteavsdk.so\

lib/arm64/libtxffmpeg.so\

lib/arm64/libtxsoundtouch.so

MY_APP_LIB_PATH := (TARGET_OUT_ODM)/bundled_uninstall_back-app/(LOCAL_MODULE)/lib/$(LOCAL_JNI_SHARED_LIBRARIES_ABI)

ifneq ($(LOCAL_JNI_SHARED_LIBRARIES_ABI), None)

(warning MY_APP_LIB_PATH=(MY_APP_LIB_PATH))

LOCAL_POST_INSTALL_CMD := mkdir -p $(MY_APP_LIB_PATH) $(foreach lib, $(MY_LOCAL_PREBUILT_JNI_LIBS), ; cp -f (LOCAL_PATH)/(lib) (MY_APP_LIB_PATH)/(notdir $(lib)))

endif

include $(BUILD_PREBUILT)

目录放在system/app/VantronMdm/VantronMdm.apk

###############################################################################

WifiDisplay

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := VantronMdm

LOCAL_MODULE_CLASS := APPS

LOCAL_MODULE_TAGS := optional

LOCAL_BUILT_MODULE_STEM := package.apk

LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)

LOCAL_PRIVILEGED_MODULE := false

#LOCAL_CERTIFICATE := PRESIGNED

LOCAL_CERTIFICATE := platform

#LOCAL_OVERRIDES_PACKAGES :=

LOCAL_SRC_FILES := $(LOCAL_MODULE).apk

#LOCAL_REQUIRED_MODULES :=

LOCAL_PREBUILT_JNI_LIBS := \

lib/arm64/libaria2c.so\

lib/arm64/libjingle_peerconnection_so.so\

lib/arm64/libliteavsdk.so\

lib/arm64/libtxffmpeg.so\

lib/arm64/libtxsoundtou

相关推荐
拭心5 小时前
Google 提供的 Android 端上大模型组件:MediaPipe LLM 介绍
android
带电的小王7 小时前
WhisperKit: Android 端测试 Whisper -- Android手机(Qualcomm GPU)部署音频大模型
android·智能手机·whisper·qualcomm
梦想平凡7 小时前
PHP 微信棋牌开发全解析:高级教程
android·数据库·oracle
元争栈道8 小时前
webview和H5来实现的android短视频(短剧)音视频播放依赖控件
android·音视频
阿甘知识库8 小时前
宝塔面板跨服务器数据同步教程:双机备份零停机
android·运维·服务器·备份·同步·宝塔面板·建站
元争栈道9 小时前
webview+H5来实现的android短视频(短剧)音视频播放依赖控件资源
android·音视频
MuYe9 小时前
Android Hook - 动态加载so库
android
居居飒10 小时前
Android学习(四)-Kotlin编程语言-for循环
android·学习·kotlin
Henry_He13 小时前
桌面列表小部件不能点击的问题分析
android
工程师老罗13 小时前
Android笔试面试题AI答之Android基础(1)
android