Eclipse builds suddenly broke

by DulcetTone » Mon, 13 Dec 2010 00:45:50 GMT


Sponsored Links
 My project was building fine yesterday, but after I downloaded the 2.3
SDK and updated some Eclipse components, it broke HARD.

.AIDLs do not even try to compile
Resources are never compiled (e.g., from values/strings.xml)

Are there any known issues with the latest Eclipse/Android bits?

tone

-- 



Re: Eclipse builds suddenly broke

by DulcetTone » Mon, 13 Dec 2010 02:23:11 GMT


 This turned out to be caused by the new requirement that multiple
formatting marks in a <string></string> be numbered.

More here:

 http://developer.android.com/guide/topics/resources/string-resource.html 


Tony




-- 


Sponsored Links


Other Threads

1. R: ADT with eclipse 3.6

Hi Giampaolo!

There are no problems with Helios and ADT 0.9.9.

In Helios use:

 https://dl-ssl.google.com/android/eclipse

in "Help/Install New Software..." section for install the ADT.

Bye!

Giuseppe Palmeri

--- Sab 6/11/10, Giampaolo Tomassoni <giampa...@tomassoni.biz> ha scritto:

> 

2. Drawing views in an AsyncTask

It takes some time to draw my views so I want to put up a progress
dialog while I do it. I set up the code like this:

public class MyActivityClass {

        @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView( R.layout.myView );
          doBuild(savedInstanceState);
      }

        protected void doBuild( Bundle savedInstanceState ){
            showDialog(drawingProgressDialogId);
            ScreenBuilder builder = new ScreenBuilder();
            builder.execute(savedInstanceState);
        }

        private class ScreenBuilder extends AsyncTask<Bundle , Integer ,
LinearLayout > {

                @Override
                protected LinearLayout doInBackground(Bundle... SIS) {
                        LinearLayout topLevelLayout = new
LinearLayout(MyActivityClass.this);
                    doDraw( SIS[0] , topLevelLayout ); // Adds a bunch of
child views
                        return topLevelLayout;
                }
                @Override
                protected void onPostExecute(LinearLayout topLevelLayout) {
                    dismissDialog(drawingProgressDialogId);
                    setContentView(topLevelLayout);
                    super.onPostExecute(topLevelLayout);
                }
        }
}

This works the first time through, where savedInstanceState is null.
But when there is a configuration change, like rotation and
savedInstanceState is not null, the dismissDialog call does not work.
The progress dialog remains on the screen. This is true even if doDraw
is stubbed so that I'm not doing anything with the savedInstanceState.

Any ideas why this behavior might occur?

-- 

3. AVD suddenly can't reach the internet

4. Icecast client, what's the best approach?

5. unable to dismiss a progress dialog

6. Tomcat on Android

7. Need indocomtech Info---