Takes too long to build libwebcore.so.

by Tomei Ningen » Fri, 23 Apr 2010 08:06:05 GMT

Sponsored Links
 If I just change one line in WebView.cpp and do a

   mmm external/webkit

It takes almost 3 minutes on a fast quad-core Xeon. Most of the time
is spent linking libwebcore.so

Is there a way to speed up the linking process. This is just for
development so I am willing to give up optimization.



Other Threads

1. Activity, I got CalledFromWrongThreadException

Hello all!
I'm going to implement a simple chat application. I designed to
introduce an interface called TextReceiveListener that expose just one
     void receive(String message)
Doing so, I wrote this:

public class SChat extends Activity implements TextReceiveListener {
    public void receive(String message) {
        String s = txtChatHistory.getText().toString();
        s += message + "\n";

Essentially, receive() method is called by a listener thread whenever
a message arrives, but... I obtain the following exception stacktrace:

android.view.ViewRoot$CalledFromWrongThreadException: Only the
original thread that created a view hierarchy can touch its views.
      at android.view.ViewRoot.checkThread(ViewRoot.java:2440)
      at android.view.ViewRoot.clearChildFocus(ViewRoot.java:1370)
      at android.view.ViewGroup.clearChildFocus(ViewGroup.java:494)
      at android.view.ViewGroup.clearChildFocus(ViewGroup.java:494)
      at android.view.ViewGroup.clearChildFocus(ViewGroup.java:494)
      at android.view.ViewGroup.removeAllViewsInLayout(ViewGroup.java:
      at android.view.ViewGroup.removeAllViews(ViewGroup.java:2100)
      at com.android.internal.policy.impl.PhoneWindow.setContentView
      at android.app.Activity.setContentView(Activity.java:1626)
      at it.unitn.schat.SChat.receive(SChat.java:106)
      at it.unitn.schat.security.impl.CryptoInterfaceImpl.receive
      at it.unitn.schat.core.impl.NetworkInterfaceImpl$Service.run

Do I miss something? O_o Why my thread is "wrong"?
Thank you in advance!


2. slow drawLine

I'm putting together an app that collects locations which then lets
the user map them out later.  The problem I am running into is when
the app is running for a long time it will have stored a good number
of locations.  I can call drawLine in the draw event of the Overlay,
but moving around in the MapActivity is painfully slow because of the
number of lines drawn.  I've tried using the drawPath method, but for
some reason that is also just as slow to move/scroll around the
MapActivity.  Both of these methods are quick to draw the lines, but
once the lines are there it is slow to move the map around.

For some reason the driving directions built into the maps is very
fast no matter how many lines they've got, so my question is, how can
I get my app to be more responsive?

Thanks in advance for any help!


3. -http-proxy option can't work in emulator with 1.5 sdk

4. Button in Custom View

5. Fwd: Hello World Tutorial Error Message

6. Storm Trooper being arrested for carrying a loaded firearm view!

7. Issue in booting with new Android 1.5 (API level 3)