how to work around "eclipse failed to load the framework information and the layout library"?

by Dr. Tingrong Lu » Wed, 19 Nov 2008 14:26:01 GMT


Sponsored Links
 I'm using Eclipse 3.4.1 with adt 0.8/android SDK 1r1. when I open layout xml 
file using android layout editor in eclipse, it gives "eclipse failed to load 
the framework information and the layout library". anything wrong with me? how 
to work around with it?

thanks,
Tingrong

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



Other Threads

1. AndroisSOAP startup (PoC)

Hi,

  I've created a new SOAP client for the Android platform, it is use a
JAX-WS generated interfaces, but it is only a proof-of-concept yet.

  If you are interested, please try the example and/or watch the source:
http://wiki.javaforum.hu/display/ANDROIDSOAP/Home

  :)
-- 
Gbor Auth -=- www.javaforum.hu

-- 

2. Android canvas setMatrix(null) crashes (if preceded by a getMatrix)

In the lunar lander example, if I add the following two lines to the
top of the doDraw method, the app crashes immediately on the second
line with a NullPointerException:



Matrix m = canvas.getMatrix();
canvas.setMatrix( null );



Stack trace is:

FATAL EXCEPTION: Thread-8
java.lang.NullPointerException
    at android.graphics.Matrix.preConcat(Matrix.java:233)
    at android.view.Surface$CompatibleCanvas.setMatrix(Surface.java:
259)
    at com.example.android.lunarlander.LunarView
$LunarThread.doDraw(LunarView.java:617)
    at com.example.android.lunarlander.LunarView
$LunarThread.run(LunarView.java:360)




The canvas documentation for setMatrix states that "If the matrix
parameter is null, then the current matrix is reset to identity", so
there's no reason this should crash.

Also, if I do *not* call getMatrix before calling setMatrix(null),
then setMatrix(null) is *successful*.  So somehow it is the
combination of the two calls that causes the problem.

Can anyone help me figure out what's going on here?

Thanks!

-- 

3. onCellLocationChanged() not called

4. SoftKeyboard

5. InstrumentationTestCase: Scrolling a listview to be able to click info icon associated with each item on the list

6. Bad sound quality when recording/playing sounds...

7. Buffering problem while reading an h264 video (using HTTP protocol).