How can we build a debug image of the Android?

by Devaraj » Thu, 30 Apr 2009 05:06:18 GMT


Sponsored Links
 Hi,

I wanted to build the debug image of the Android source.
I am using the following command
make TARGET_BUILD_TYPE=debug or HOST_BUILD_TYPE=debug

but i am getting errors and the build is not complete.

Is there anything wrong with the command?
How can I build a debug image of the Android source? What is the
command for the same?

Thanks and Regards,
-Devaraj
--~--~---------~--~----~------------~-------~--~----~



How can we build a debug image of the Android?

by Dianne Hackborn » Thu, 30 Apr 2009 17:01:41 GMT


 You don't need to make a debug build.  There have been lots of discussions
on these groups about debugging, for various scenarios (native code,
attaching to running processes, etc0.






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Ril implement

Hi All, 

 

I ported android 2.1 to the omap3530 board, use the ril to connect to
the modern, when using the modern to communication, it failed and have
no signal strength, could you help to analyze the logcat below, 

 

thanks!

 

 

/ # I/RIL     ( 1850): RIL_LOG:libpath is
/system/lib/libreference-ril.so

I/RIL     ( 1850): Opening tty device /dev/ttyUSB1

E/RILC    ( 1850): listen socket rild return 8

D/RILC    ( 1850): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED
{RADIO_OFF}

D/AT      ( 1850): AT> ATE0Q0V1

D/AT      ( 1850): AT< OK

D/AT      ( 1850): AT> ATE0Q0V1

D/AT      ( 1850): AT< OK

D/AT      ( 1850): AT> AT+CFUN=1

D/AT      ( 1850): AT< OK

D/AT      ( 1850): AT> ATS0=0

D/AT      ( 1850): AT< OK

D/AT      ( 1850): AT> AT+CMEE=1

D/AT      ( 1850): AT< OK

D/AT      ( 1850): AT> AT+CREG=1

D/AT      ( 1850): AT< OK

D/AT      ( 1850): AT> AT+CCWA=1

D/AT      ( 1850): AT< OK

D/AT      ( 1850): AT> AT+CSSN=0,1

D/AT      ( 1850): AT< OK

D/AT      ( 1850): AT> AT+COLP=0

D/AT      ( 1850): AT< OK

D/AT      ( 1850): AT> AT+CSCS="UCS2"

D/AT      ( 1850): AT< OK

D/AT      ( 1850): AT> AT+CMGF=0

D/AT      ( 1850): AT< OK

D/AT      ( 1850): AT> AT+MODODR=3

D/AT      ( 1850): AT< OK

D/AT      ( 1850): AT> AT+MODPRF?

D/AT      ( 1850): AT< +MODPRF: 1

D/AT      ( 1850): AT< OK

D/AT      ( 1850): AT> AT+BNDPRF=896,56

D/AT      ( 1850): AT< OK

D/AT      ( 1850): AT> AT+BNDPRF?

D/AT      ( 1850): AT< +BNDPRF: 896,56,0

D/AT      ( 1850): AT< OK

D/AT      ( 1850): AT> AT+NWLCK?

D/AT      ( 1850): AT< +NWLCK: NETWORK UNLOCKED

D/AT      ( 1850): AT< OK

D/AT      ( 1850): AT> AT+CREG?

D/AT      ( 1850): AT< +CREG: 1,2

D/RILC    ( 1850): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED

D/AT      ( 1850): AT< OK

D/AT      ( 1850): AT> AT+CSQ

D/AT      ( 1850): AT< +CSQ: 16,81

D/AT      ( 1850): AT< OK

D/AT      ( 1850): AT> AT+CFUN?

D/AT      ( 1850): AT< +CFUN: 1

D/AT      ( 1850): AT< OK

D/RILC    ( 1850): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED
{RADIO_SIM_NOT_READY}

D/AT      ( 1850): AT> AT+CPIN?

D/AT      ( 1850): AT< +CPIN: READY

D/AT      ( 1850): AT< OK

D/RILC    ( 1850): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED
{RADIO_SIM_READY}

D/AT      ( 1850): AT> AT+CSMS=1

D/AT      ( 1850): AT< +CSMS: 1,1,1

D/AT      ( 1850): AT< OK

D/AT      ( 1850): AT> AT+CNMI=1,2,2,1,1

D/AT      ( 1850): AT< OK

D/AT      ( 1850): AT< +CREG: 2

D/RILC    ( 1850): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED

D/AT      ( 1850): AT< +CREG: 2

D/RILC    ( 1850): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED

I/PHONE   ( 1915): Network Mode set to 0

I/PHONE   ( 1915): Cdma Subscription set to 1

D/PHONE   ( 1915): mDoesRilSendMultipleCallRing=true

D/PHONE   ( 1915): mCallRingDelay=3000

W/GSM     ( 1915): Can't open /system/etc/voicemail-conf.xml

W/GSM     ( 1915): Can't open /system/etc/spn-conf.xml

D/GSM     ( 1915): [DSAC DEB] registerForPsRestrictedEnabled

D/GSM     ( 1915): [DSAC DEB] registerForPsRestrictedDisabled

D/GSM     ( 1915): [PdpConnection] DataConnection.clearSettings()

D/RILJ    ( 1915): [0000]> RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING

D/RILJ    ( 1915): [0000]< RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING
error: com.android.internal.telephony.CommandException:
RADIO_NOT_AVAILABLE

D/STK     ( 1915): StkService: StkService: is running

D/STK     ( 1915): StkService: NEW sInstance

I/PHONE   ( 1915): Creating GSMPhone

D/RILJ    ( 1915): [0001]> GET_CURRENT_CALLS

D/RILJ    ( 1915): [0001]< GET_CURRENT_CALLS error:
com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE

E/GSM     ( 1915): Wrong network type: 0

E/GSM     ( 1915): Wrong network type: 0

D/GSM     ( 1915): Poll ServiceState done:  oldSS=[1 home null null null
Unknown CSS not supported 0 0RoamInd: 0DefRoamInd: 0] newSS=[1 home null
null null  Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1]
oldGprs=1 newGprs=1 oldType=unknown newType=unknown

D/GSM     ( 1915): GSMDataConnTrack handleMessage { what=12 when=42665
obj=android.os.asyncres...@43c068d8 }

D/GSM     ( 1915): [GsmDataConnectionTracker] Radio is off and clean up
all connection

D/GSM     ( 1915): [GsmDataConnectionTracker] Clean up connection due to
radioTurnedOff

D/GSM     ( 1915): [GsmDataConnectionTracker] setState: DISCONNECTING

D/GSM     ( 1915): [PdpConnection] DataConnection.clearSettings()

D/GSM     ( 1915): [DataConnection] Stop poll NetStat

D/GSM     ( 1915): [GsmDataConnectionTracker] setState: IDLE

D/GSM     ( 1915): GSMDataConnTrack handleMessage { what=19 when=42666
obj=android.os.asyncres...@43c06c28 }

D/GSM     ( 1915): [DataConnection] Stop poll NetStat

D/GSM     ( 1915): GSMDataConnTrack handleMessage { what=22 when=42666
obj=android.os.asyncres...@43c06d78 }

D/GSM     ( 1915): [GsmDataConnectionTracker] ***trySetupData due to
roamingOff

D/GSM     ( 1915): [DSAC DEB] trySetupData with mIsPsRestricted=false

D/GSM     ( 1915): [GsmDataConnectionTracker] trySetupData: Not ready
for data:  dataState=IDLE gprsState=1 sim=false UMTS=false
phoneState=IDLE isDataAllowed=true dataEnabled=true roaming=false
dataOnRoamingEnable=false ps restricted=false desiredPowerState=true
MasterDataEnabled=true

D/GSM     ( 1915): [IccCard] Broadcasting intent
ACTION_SIM_STATE_CHANGED NOT_READY reason null

I/RILJ    ( 1915): Couldn't find 'rild' socket; retrying after timeout

D/RILJ    ( 1915): WAKE_LOCK_TIMEOUT  mReqPending=0 mRequestList=0

I/RILJ    ( 1915): Couldn't find 'rild' socket; retrying after timeout

I/RILJ    ( 1915): Couldn't find 'rild' socket; retrying after timeout

D/RILJ    ( 1915): [0002]> SCREEN_STATE: true

D/RILJ    ( 1915): [0002]< SCREEN_STATE error:
com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE

D/GSM     ( 1915): [DataConnection] Stop poll NetStat

I/RILJ    ( 1915): Couldn't find 'rild' socket; retrying after timeout

D/RILJ    ( 1915): WAKE_LOCK_TIMEOUT  mReqPending=0 mRequestList=0

I/RILJ    ( 1915): Couldn't find 'rild' socket; retrying after timeout

I/RILJ    ( 1915): Couldn't find 'rild' socket; retrying after timeout

I/RILJ    ( 1915): Couldn't find 'rild' socket; retrying after timeout

E/RILJ    ( 1915): Couldn't find 'rild' socket after 8 times, continuing
to retry silently

 

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Google Groups: RIP?

http://goo.gl/pr13


-- 

3. on button click not working for calendar

4. Googlenav package

5. Game Need for speed shif

6. method setEmbeddedTitleBar in webview.

7. TYPE_RADIO