大师们,我在packages/apps/下面新建了一个Ashmen的应用。其中Android.mk文件定义如下:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)LOCAL_MODULE_TAGS := optionalLOCAL_SRC_FILES := $(call all-subdir-java-files)LOCAL_PACKAGE_NAME := AshmemLOCAL_CERTIFICATE := platform include $(BUILD_PACKAGE)###################################################
AndroidManifest.xml文件定义如下:
<?xml version="1.0" encoding="utf-8"?>  
<manifest xmlns:android="http://schemas.android.com/apk/res/android"  
      package="com.android.ashmem"  
      android:sharedUserId="android.uid.system"  
      android:versionCode="1"  
      android:versionName="1.0">  
    <application android:icon="@drawable/icon" android:label="@string/app_name">  
        <activity android:name=".Client"  
                  android:label="@string/app_name">  
            <intent-filter>  
                <action android:name="android.intent.action.MAIN" />  
                <category android:name="android.intent.category.LAUNCHER" />  
            </intent-filter>  
        </activity>  
        <service   
            android:enabled="true"   
            android:name=".Server"  
            android:process=".Server" >  
            <intent-filter>  
                <action android:name="com.android.ashmem.server"/>  
                <category android:name="android.intent.category.DEFAULT"/>  
            </intent-filter>  
        </service>  
    </application>  
</manifest>  现在我配置好环境变量后,就开始调用mmm packages/apps/Ashmem来编译这个新增的应用,但是编译不过,报错如下:
============================================
No private recovery resources for TARGET_DEVICE msm7627a_sku3
Copying: out/target/common/obj/APPS/Ashmem_intermediates/emma_out/lib/classes-jarjar.jar
make: *** No rule to make target `build/target/product/security/platform', needed by `out/target/product/msm7627a_sku3/obj/APPS/Ashmem_intermediates/package.apk'.  Stop.请问这是怎么一回事啊