Changes between Initial Version and Version 1 of emulator


Ignore:
Timestamp:
02/20/13 12:54:56 (11 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • emulator

    v1 v1  
     1= Buildung for the emulator =
     2
     3== General ==
     4The lunch combo is '''full_x86-eng'''
     5
     6basic make command
     7{{{
     8cd <android>/system
     9export PATH=$(java-config -O)/bin:$PATH
     10. build/envsetup.sh
     11lunch full_x86-eng
     12nice -n 19 make -j6
     13}}}
     14
     15== Running in emulator ==
     16{{{
     17emulator64-x86 -partition-size 300
     18}}}
     19
     20== Complete rebuild of system ==
     21To completely rebuild the system but keep the common stuff do:
     22{{{
     23make installclean && make -j6
     24}}}
     25
     26== Rebuilding framework ==
     27To rebuild only a certain module and update the system image run
     28{{{
     29mmm framework/base
     30make snod
     31}}}
     32or
     33{{{
     34make framework snod
     35}}}
     36but the resulting system image will not boot but boot-loop with messages like:
     37{{{
     38I/dalvikvm( 1011): DexOpt: mismatch dep signature for '/system/framework/framework.odex'
     39E/dalvikvm( 1011): /system/framework/telephony-common.jar odex has stale dependencies
     40}}}
     41To avoid this one has to turn of the DEXPREOPT variable (see below).
     42=== Turn of DEXPREOPT ===
     43There are 2 ways.
     44Either edit build/target/board/generic_x86/BoardConfig.mk and change
     45{{{
     46WITH_DEXPREOPT := true
     47}}}
     48to
     49{{{
     50WITH_DEXPREOPT := false
     51}}}
     52
     53or run the make commands with the WITH_DEXPREOPT=false addition. like
     54{{{
     55make framework showcommands WITH_DEXPREOPT=false
     56}}}
     57