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
<aapt executable="${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">
<res path="${out.res.absolute.dir}" />
<res path="${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.
In my case, there also was an error report earlier in the logs, it was just difficult to find. As I understand, any kind of error would lead to that message.
So the crazy message null returned: 1
actually means please read the above logs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With