Cannot boot my ADP1 - IllegalArgumentException

by Naganuma » Tue, 06 Jan 2009 01:27:04 GMT


Sponsored Links
 Hello.

My ADP1 (Android Dev Phone 1) cannot boot up.
The screen is blank, with any operation.

I had connected ADP1 to my PC by USB, and had performed 'adb logcat'
command.
That contained a following exception.

E/AndroidRuntime(   55): java.lang.IllegalArgumentException: Layout:
-10 < 0
E/AndroidRuntime(   55):        at android.text.Layout.<init>(Layout.java:
85)
E/AndroidRuntime(   55):        at android.text.StaticLayout.<init>
(StaticLayout.java:63)
E/AndroidRuntime(   55):        at android.text.StaticLayout.<init>
(StaticLayout.java:53)
E/AndroidRuntime(   55):        at android.text.StaticLayout.<init>
(StaticLayout.java:44)
E/AndroidRuntime(   55):        at com.android.server.status.Ticker
$Segment.getLayout(Ticker.java:37)
E/AndroidRuntime(   55):        at com.android.server.status.Ticker
$Segment.getText(Ticker.java:56)
E/AndroidRuntime(   55):        at com.android.server.status.Ticker.addEntry
(Ticker.java:174)
E/AndroidRuntime(   55):        at
com.android.server.status.StatusBarService.performAddUpdateIcon
(StatusBarService.java:673)
E/AndroidRuntime(   55):        at com.android.server.status.StatusBarService
$H.handleMessage(StatusBarService.java:605)
E/AndroidRuntime(   55):        at android.os.Handler.dispatchMessage
(Handler.java:88)
E/AndroidRuntime(   55):        at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(   55):        at com.android.server.ServerThread.run
(SystemServer.java:313)

I tried to hard-reset my ADP1, but the situation did not change.
(Home+Power -> alt+w)

I found a source code which causes the exception.
But the reason is unknown.

 http://www.google.com/codesearch/p #uX1GffpyOZk/core/java/android/text/Layout.java&l=85

Please help me.
Thank you.
--
Naganuma Tatsumi

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



Other Threads

1. Anyone get Camera#takePicture() to work on DROID?

Hi Mark,

I am not familiar with the semantics of some of the constructions that
you use, but your use of AsyncTask() makes me wonder if you have
safeguarded (e.g. copied) the image data[] by the time that
onPictureTaken() returns, because image data[] has no guaranteed
lifetime beyond that.

I would also not have put the camera.startPreview() preview restart
inside the onPictureTaken() callback, because typically one is not
allowed to put system-related function calls inside callbacks.

Regards







-- 

2. TTS 1.9 not working in Emulator. Please help.

Hi,

No matter how many times I re-create the SD card and start the
emulator along with SD card the application seems to crash and errors
out with the message "The application has stopped working
unexpectedly."

I am able to run the simple text based Hello World Android application
on my emulator successfully and the problem is present for TTS
application only.

I followed the steps provided in
http://eyes-free.googlecode.com/svn/trunk/documentation/tutorial/tuto...

but still not able to run the application from the past 3 days. Can
someone help me out please?

Thanks in advance
Anuj

-- 

3. does it support hindi

4. ipc and user ids

5. recode live video into video stream rather than video file

6. Android SDK 2.0 Features.

7. Multiple add-ons for multiple apps in one apk