Hi Ralf, I'm using SDK 1.0
The path where aapt.exe is D:\Tharun\DM_LJ\Android\AndroidSDK\android-sdk-windows-1.0_r1\tools As you said, I moved the build.xml into a newer place Do I need to set any sdk path on xml file? Regards, Tharun On Dec 11, 12:36 pm, Ralf <[EMAIL PROTECTED]> wrote: > From the paths you give, ant is trying to execute this: > D:\Tharun\DM_LJ\Android\apache-ant-1.7.1-bin\apache-ant-1.7.1\android_sdk\tools\aapt.exe > > Is this the location where $SDK/tools/aapt.exe is really located? That > seems unlikely. It sounds like you might have generated a build.xml > using activitycreator and then moved it somewhere else. > > You can do two things: > - tell us which SDK you're using (1.0 r1 or r2?) > - look at the tools path defined in default.properties => you can > override it build.properties. > (if you don't find a default.properties, you may be using an older > SDK, in which case the path is in build.xml) > > HTH > R/ > > > > On Wed, Dec 10, 2008 at 10:55 PM, tharun <[EMAIL PROTECTED]> wrote: > > > Hi, > > > When I tried to build the build.xml on Ant, I'm getting the following > > error > > > D:\Tharun\DM_LJ\Android\apache-ant-1.7.1-bin\apache-ant-1.7.1\bin>ant > > Buildfile: build.xml > > > bin-dir: > > > dirs: > > > resource-src: > > [echo] Generating R.java... > > > BUILD FAILED > > D:\Tharun\DM_LJ\Android\apache-ant-1.7.1-bin\apache-ant-1.7.1\bin > > \build.xml:65: > > Execute failed: java.io.IOException: CreateProcess: ..\android_sdk > > \tools\aapt.ex > > e compile -m -J src -M AndroidManifest.xml -S res -I ..\android_sdk/ > > android.jar > > error=2 > > > Total time: 0 seconds > > > I've set the Environment variable properly. > > > Regards, > > tharun- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

