function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Anu Raj.ax1269Anu Raj.ax1269 

null returned: 1

Hi am trying to run "ant clean debug" command on cmd. But i am getting null returned: 1 error.

 

BUILD FAILED
C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:622: The following error    occurred while executing this line:
 C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:658: null returned: 1



 <aaptexecutable="${aapt}"command="package"verbose="${verbose}"manifest="${out.manifest.abs.file}"androidjar="${project.target.android.jar}"rfolder="${gen.absolute.dir}"nonConstantId="${android.library}"libraryResFolderPathRefid="project.library.res.folder.path"libraryPackagesRefid="project.library.packages"ignoreAssets="${aapt.ignore.assets}"proguardFile="${out.absolute.dir}/proguard.txt"><respath="${out.res.absolute.dir}"/><respath="${resource.absolute.dir}"/></aapt>

the line no 658

 proguardFile="${out.absolute.dir}/proguard.txt">

the line no 622

 elseText="hasCode = false. Skipping aidl/renderscript/R.java">

Is their anybody their who know the solution for this issue.

Thanks 

Anu