lx@lx-desktop:~/administrator/source_code/qct/DataDisk/U7702/Linux/frameworks/base$ mm 
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.4
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
make: Entering directory `/home/lx/administrator/source_code/qct/DataDisk/U7702/Linux'
Copying: out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/emma_out/lib/classes-jarjar.jar
make: *** No rule to make target `out/target/product/generic/system/framework/framework-res.apk', needed by `out/target/product/generic/system/framework/framework.jar'. Stop.
make: Leaving directory `/home/lx/administrator/source_code/qct/DataDisk/U7702/Linux'
高手解答下,为什么在编译framework源码时报 *** No rule to make target `out/target/product/generic/system/framework/framework-res.apk', needed by `out/target/product/generic/system/framework/framework.jar'.

解决方案 »

  1.   

     “*** No rule to make target”说的是缺少生成目标的规则
      

  2.   

    是不是单独编译framework是要在已编译全部工程的前提下?我想要单独编译framework,缺乏实战,求讨教
      

  3.   

    OK,Thanks! i can't use Chinese in my OS right now so i reply in English. thank you very much.  
      

  4.   

    if git can't download source any more, i have tried to connect to repo and it did not work, how can i get sources of Android? thanks!  i try to run on Ubuntu 12.04 (i386 Destop),if i have to run it on amd64? CD or DVD?
    thank you for helping! i am waiting for your helps,thanks again!
      

  5.   

    i am a flesh, thank you