Hi all,

I recently update to 2.2 and encounter two problems:

problem 1:
My app stop working. First I thought is the changes I made, but after
reverting to the last revision the app is still crashing.
The app is targeted for 1.5 and it crash when I press the "menu" button with
the following stack trace:

Thread [<3> main] (Suspended (exception IndexOutOfBoundsException))
ViewRoot.deliverKeyEventToViewHierarchy(KeyEvent, boolean) line: 2244
ViewRoot.handleFinishedEvent(int, boolean) line: 2158
ViewRoot.handleMessage(Message) line: 1490
ViewRoot(Handler).dispatchMessage(Message) line: 99
Looper.loop() line: 123
ActivityThread.main(String[]) line: 3948
Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean)
line: not available [native method]
Method.invoke(Object, Object...) line: 521
ZygoteInit$MethodAndArgsCaller.run() line: 782
ZygoteInit.main(String[]) line: 540
NativeStart.main(String[]) line: not available [native method]

I do have onCreateOptionsMenu and onOptionsItemSelected implemented but the
execution never reach my code.
I tried to uninstall the app, install it again, delete the device and
created again - no luck.
I tried to rebuild the project as well. That did not help, however lead to

problem 2:
I have two apps in the workspace. Every time when I launch Eclipse, both
projects dont have any errors. However rebuilding all projects always
results in build error in the second project:

The project cannot be built until build path errors are resolved

And this error will not go away unless I restart Eclipse.

Ubuntu 10.4
Eclipse 3.5.2
Target platform Android 1.5

I'm new to Java/Android so any help is appreciated.
Thanks in advance.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to