Original URL: http://blog.csdn.net/leonan/article/details/8629561
After the full-Andorid, a framwork module is modified separately, make Snod will have the following warning message:
Warning:with dexpreopt enabled, you could need a full rebuild
With this make Snod image, the kernel does not boot, and the emulator remains in the "Android" flag State.
View log found with the following error printing:
Dexopt:mismatch dep signature for '/system/framework/framework.odex
See makefile has such a statement
# Enable Dex-preoptimization to speed up the first boot sequence
# of an SDK AVD. Note that this operation only works on Linux for now
# It looks like it's a feature to speed up the first boot speed
Ifeq (true,$ (with_dexpreopt))
$ (Warning Warning:with dexpreopt enabled, you could need a full rebuild.)
endif
Modify Method 1:
Build/target/board/generic/boardconfig.mk
Ifeq ($ (host_os), Linux)
Ifeq ($ (with_dexpreopt),)
With_dexpreopt: = True #把这个改为false
endif
endif
Modify Method 2:
Load parameters at full compile time
Make Showcommands With_dexpreopt=false
This compiles the result, if later separately changes the package to run, will not have the above problem.
"Go" to compile an issue with the Android framework module separately