title: Ant build failed: uibuild.xml: 198 null returned: 1
body: <p>Please refer to <a href="https://stackoverflow.com/questions/25041153/android-ant-uibuild-xml198-null-returned-1">this question</a>, as I am having the same problem. The answer over there does not solve my problem. </p>
  
  <p>This is the stdout detail:</p>
  
  <pre><code>Buildfile: F:\s2dworkspace\build.xml
  -check-env:
   [checkenv] Android SDK Tools Revision 23.0.2
   [checkenv] Installed at C:\Users\anshu\android-sdks
  
  -build-setup:
  [getbuildtools] Using latest Build Tools: 20.0.0
       [echo] Resolving Build Target for BookWormTest...
  [getuitarget] Project Target:   Google APIs (x86 System Image)
  [getuitarget] Vendor:           Google Inc.
  [getuitarget] Platform Version: 4.4.2
  [getuitarget] API level:        19
       [echo] ----------
       [echo] Creating output directories if needed...
  
  -pre-compile:
   compile:
  -post-compile:
  
  -dex:
   [dex] input: F:\s2dworkspace\bin\classes
         [dex] Converting compiled files and external libraries into F:\s2dworkspace\bin\classes.dex...
        [dex] Converting compiled files and external libraries into F:\s2dworkspace\bin\classes.dex...
     [dx] no classfiles specified
  </code></pre>
  
  <p>And then later it gives the error:</p>
  
  <pre><code>c:\Users\..\android-sdks\tools\ant\uibuild.xml: 198 null returned: 1
  </code></pre>
  
  <p>There are several questions related but are unanswered-
  <a href="https://stackoverflow.com/questions/20513892/ant-build-failed-xxx-xxx-build-xml49-java-returned-1">Q1</a>.
  <a href="https://stackoverflow.com/questions/11661681/ant-build-android-project-tools-ant-build-xml785-null-returned-139">Q2</a>. 
  <a href="https://stackoverflow.com/questions/25646856/android-sdk-tools-ant-build-xml698-null-returned-1">Q3</a>. 
  My project is located in </p>
  
  <pre><code>F:\s2dworkspace
  </code></pre>
  
  <p>I had sdktools in other directory from where I run the command to create the build.xml and it was created properly.</p>
  
  <p>and i m running the command as </p>
  
  <pre><code>F:\s2dworkspace&gt; ant build
  </code></pre>
  
  <p>Also, I think it is worth mentioning that the project name is BookWorkTest and I can not do </p>
  
  <pre><code>F:\s2dworkspace&gt; cd BookWormTest 
  </code></pre>
  
  <p>when I do</p>
  
  <pre><code>F:\s2dworkspace&gt; dir
  </code></pre>
  
  <p>I can see there is a file called <code>build.xml</code></p>