The problem is not due to Eclipse version but due to the outdate
examples on the internet particularly app-for-android
You can fix this by adding

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

In the Manifest.xml file and copying the proguard.cfg file from a
blank project to the example project.


~gk

On Mar 12, 6:41 am, Xavier Ducrohet <x...@android.com> wrote:
> As we mention, you need to update to Eclipse 3.5.
>
>
>
>
>
>
>
>
>
> On Fri, Mar 11, 2011 at 4:06 AM, Dato <dato...@gmail.com> wrote:
> > hi,
>
> > I have the same issue. I'm using ADT10.0.0, eclipse3.4 on MacOsx
>
> > ------
> > !ENTRY org.eclipse.ui 2 0 2011-03-11 19:59:38.453
> > !MESSAGE Build problems
> > !SUBENTRY 1 org.eclipse.core.resources 2 75 2011-03-11 19:59:38.453
> > !MESSAGE Errors during build.
> > !SUBENTRY 2 com.android.ide.eclipse.adt 2 75 2011-03-11 19:59:38.453
> > !MESSAGE Errors running builder 'Android Pre Compiler' on project
> > 'SharePrice'.
> > !SUBENTRY 2 com.android.ide.eclipse.adt 2 75 2011-03-11 19:59:38.453
> > !MESSAGE java.lang.NullPointerException encountered while running
> > Android Pre Compiler.
> > !STACK 0
> > java.lang.NullPointerException
> >        at
> > com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.buil 
> > d(PreCompilerBuilder.java:
> > 198)
> >        at org.eclipse.core.internal.events.BuildManager
> > $2.run(BuildManager.java:633)
> >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > 170)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > 201)
> >        at org.eclipse.core.internal.events.BuildManager
> > $1.run(BuildManager.java:253)
> >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > 256)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j 
> > ava:
> > 309)
> >        at
> > org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> > 341)
> >        at 
> > org.eclipse.core.internal.resources.Workspace.build(Workspace.java:
> > 330)
> >        at org.eclipse.ui.actions.GlobalBuildAction
> > $1.run(GlobalBuildAction.java:182)
> >        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.http://developer.android.com|http://tools.android.com
>
> Please do not send me questions directly. Thanks!

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

Reply via email to