Problem with ActivityGroup app ported to 1.5

by Breno » Wed, 29 Apr 2009 21:02:39 GMT


Sponsored Links
 i,

We have an app almost done, and what is done untill now is
working perfectly. I tried yesterday to use with SDK 1.5 Official, and
after inserted the

<uses-sdk android:minSdkVersion="3"></uses-sdk>

Compiled normally. But, when starts the app, crashes at beginning.
Our app consist in a list of contacts, downloaded from a server.
This contact list have a ImageViewer, an Icon and few text, each
contact. The main Activity is a ActivityGroup, because we use a
TabActivity and a Activity inside. The Activity is just a Combo Box
with a ViewHolder. So, nothing special untill here.
When the app crashes, the output log in logcat is below:

04-29 09:24:36.608: INFO/dalvikvm(1031): Stack overflow, expanding
(0x41048200 to 0x41048000)
04-29 09:24:36.618: INFO/dalvikvm(1031): Shrank stack (to 0x41048200,
curFrame is 0x41049cd8)
04-29 09:24:36.628: DEBUG/AndroidRuntime(1031): Shutting down VM
04-29 09:24:36.641: WARN/dalvikvm(1031): threadid=3: thread exiting
with uncaught exception (group=0x4000fe70)
04-29 09:24:36.648: ERROR/AndroidRuntime(1031): Uncaught handler:
thread main exiting due to uncaught exception
04-29 09:24:36.718: ERROR/AndroidRuntime(1031):
java.lang.StackOverflowError
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.widget.ImageView.onDraw(ImageView.java:842)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.View.draw(View.java:5838)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.drawChild(ViewGroup.java:1486)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.drawChild(ViewGroup.java:1484)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.drawChild(ViewGroup.java:1484)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.drawChild(ViewGroup.java:1484)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.widget.AbsListView.dispatchDraw(AbsListView.java:1319)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.widget.ListView.dispatchDraw(ListView.java:2820)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.View.draw(View.java:5944)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.widget.AbsListView.draw(AbsListView.java:2121)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.drawChild(ViewGroup.java:1486)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.drawChild(ViewGroup.java:1484)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.view.View.draw(View.java:5841)
04-29 09:24:36.718: ERROR/AndroidRuntime(1031): at
android.widget.FrameLayout.draw(FrameLayout.java:352)
04-29 09:24:36.718: ERROR/AndroidRuntim



Other Threads

1. 'cc1plus': execvp: No such file or directory

When compiling Android for x86 I get the next error. This is from a
clean repo.

gcc: error trying to exec 'cc1plus': execvp: No such file or directory

The command to build:

TARGET_ARCH=x86 TARGET_PRODUCT=eee_701 DISABLE_DEXPREOPT=true make
installer_img showcommands

Anyone knows what's up?

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

2. My fix for white on white multi choice items - WTF! My dialog multichoice items have white text on white list background!

We fixed this issue in cupcake.










-- 
Romain Guy
Android framework engineer
romain...@android.com

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

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

3. My fix for white on white multi choice items - WTF! My dialog multichoice items have white text on white list background!

4. WTF! My dialog multichoice items have white text on white list background!

5. How to know checkbox present in listview or not

6. Extending AdapterView - getting only 1 level of children

7. How to use AsyncPlayer ()??? Uri?