We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello! I'm having trouble running the emulator and also on my mobile device. What is below is what I get after being in construction mode, I have no idea who might be. I am new to this. Thank you.
BUILD FAILED
C:\Users\HP\Application Data\adt-bundle-windows-x86_64-20131030\adt-bundle-windows-x86_64-20131030\sdk\tools\ant\build.xml:892: The following error occurred while executing this line:
C:\Users\HP\Application Data\adt-bundle-windows-x86_64-20131030\adt-bundle-windows-x86_64-20131030\sdk\tools\ant\build.xml:894: The following error occurred while executing this line:
C:\Users\HP\Application Data\adt-bundle-windows-x86_64-20131030\adt-bundle-windows-x86_64-20131030\sdk\tools\ant\build.xml:906: The following error occurred while executing this line:
C:\Users\HP\Application Data\adt-bundle-windows-x86_64-20131030\adt-bundle-windows-x86_64-20131030\sdk\tools\ant\build.xml:284: null returned: 2
Total time: 32 seconds
Answers
At line
284
inbuild.xml
(assuming that you are running the same version of the SDK tools that I am), we have the following ant definition that locatesdex
:dex
should be located in.../sdk/platform-tools/lib/
, nameddx.jar
.I'm surprised that you got such an ambiguous error message. The most likely culprit is that your Android SDK and / or your Android ADT isn't installed correctly. More details could lead to a better solution. This problem has been experienced on these forums before.