android compile new application
<p>I create a new Ashmen Application in packages/apps/. The Android.mk file like this:</p>

<pre><code>LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_PACKAGE_NAME := Ashmem
LOCAL_CERTIFICATE := platform 
include $(BUILD_PACKAGE)
</code></pre>

<p>AndroidManifest.xml file:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;  
&lt;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"&gt;  
    &lt;application android:icon="@drawable/icon" android:label="@string/app_name"&gt;  
        &lt;activity android:name=".Client"  
                  android:label="@string/app_name"&gt;  
            &lt;intent-filter&gt;  
                &lt;action android:name="android.intent.action.MAIN" /&gt;  
                &lt;category android:name="android.intent.category.LAUNCHER" /&gt;  
            &lt;/intent-filter&gt;  
        &lt;/activity&gt;  
        &lt;service   
            android:enabled="true"   
            android:name=".Server"  
            android:process=".Server" &gt;  
            &lt;intent-filter&gt;  
                &lt;action android:name="com.android.ashmem.server"/&gt;  
                &lt;category android:name="android.intent.category.DEFAULT"/&gt;  
            &lt;/intent-filter&gt;  
        &lt;/service&gt;  
    &lt;/application&gt;  
&lt;/manifest&gt; 
</code></pre>

<p>Now I configure the environment variable, and call mmm packages/apps/Ashmem to compile the new Application. it can not compile. the error is:</p>

<pre><code>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.
</code></pre>

<p>I donot understand this. any idears? thanks!</p>
