KBEA-00086 - Android build fails with "No rule to make target …​"

Article ID:360032826872
1 minute readKnowledge base
On this page

Summary

The publicly-available Android distribution (AOSP - Android Open Source Project) has been successfully built with ElectricAccelerator.

Using ElectricAccelerator v5.1 with Eclair, you must make one makefile change.

Solution

If you see the following error when running eMake:

====================================================================
make: *** No rule to make target `out/target/common/obj/APPS/ SignatureTest_intermediates/genres/raw/fake_resource_check', needed by `out/target/common/obj/APPS/SignatureTest_intermediates/src/R.stamp'.
Stop.
====================================================================

Add the following target to cts/tests/SignatureTest/Android.mk and Android will build with ElectricAccelerator.

$(fake_resource_check):
    if [ ! -f $(fake_resource_check) ]; then \
         mkdir -p $(dir $(fake_resource_check)); \
         touch $(fake_resource_check); \
    fi