- Cannot find %ANDROID_SDK%\tools\ant\build.xml #462
- Comments
- man2 commented Apr 22, 2017 •
- man2 commented Apr 22, 2017
- madrazo commented Apr 27, 2017
- madrazo commented May 11, 2017
- hughsando commented May 12, 2017 •
- hughsando commented May 12, 2017
- Cannot find . build.xml imported from. when running Android tools #939
- Comments
- processing-bugs commented Feb 10, 2013
- processing-bugs commented Feb 10, 2013
- processing-bugs commented Feb 10, 2013
- processing-bugs commented Feb 10, 2013
- processing-bugs commented Feb 10, 2013
- processing-bugs commented Feb 10, 2013
- processing-bugs commented Feb 10, 2013
- processing-bugs commented Feb 10, 2013
- processing-bugs commented Feb 10, 2013
- processing-bugs commented Feb 10, 2013
- processing-bugs commented Feb 10, 2013
- processing-bugs commented Feb 10, 2013
- processing-bugs commented Feb 10, 2013
- github-actions bot commented Jun 18, 2021
- Android BUILD FAILED Cannot find build.xml
- Brett
- Monsi
- Brett
- Brett
- santiagolemos123
- Brett
- santiagolemos123
- Brett
- Brett
- Brett
- Qt android
Cannot find %ANDROID_SDK%\tools\ant\build.xml #462
Comments
man2 commented Apr 22, 2017 •
Cannot find %ANDROID_SDK%\tools\ant\build.xml imported from bin\android\MyProject\build.xml
Got this error error when building my project to Android
hxcpp: [3.4.64]
nme: [5.7.1]
Android SDK Build Tools 25.0.2 ( tried with 24.0.3 and 23.0.3 same results )
ant 1.10.1
ndk r10e
jdk1.8.0_131 32 bit
What could possibly go wrong?
The text was updated successfully, but these errors were encountered:
man2 commented Apr 22, 2017
downgrading android sdk seems to solve the problem, should I close it?
madrazo commented Apr 27, 2017
Last time I used 25.0.0 ok. Maybe ANDROID_SDK is not set. i only have ANDROID_SDK_ROOT on my environment variables, but I have ANDROID_SETUP, ANDROID_NDK_ROOT, ANT_HOME, ANDROID_SDK, ANDROID_HOME on my .hxcpp_config
madrazo commented May 11, 2017
We did some non-gradle extensions but gradle would be much better to be up to date with the SDks, and compatibility with openfl gradle extensions is desired 😄
hughsando commented May 12, 2017 •
How could you tell it was me who wrote that file?
I guess it should be something like ::ANDROID_SDK_DIR::
I will have to get on this because I think gradle is the way forward.
hughsando commented May 12, 2017
I guess we should also make the extensions compatible with openfl — I will have to look into how they do things.
Источник
Cannot find . build.xml imported from. when running Android tools #939
Comments
processing-bugs commented Feb 10, 2013
Original author: mac. @gmail.com (November 11, 2011 01:34:19)
Não consigo rodar uma aplicação pelo Processing, pois dá o seguinte erro: «Error from inside the Android tools, check the console»
Não sei mais o que fazer, meu Android ADK está atualizado, já usei o Processing 1.5.1 e 2.0a e dá o mesmo erro.
Alguem pode me ajudar?
Quero desenvolver para o Samsung Galaxy Tab p1010.
Obrigado
Hélio Jr.
The text was updated successfully, but these errors were encountered:
processing-bugs commented Feb 10, 2013
From f. @processing.org on November 11, 2011 14:25:39
Please use English for bug reporting.
processing-bugs commented Feb 10, 2013
From mac. @gmail.com on November 11, 2011 22:22:14
Hello everybody,
I can not run an application for processing, it gives the following error: «Error from inside the Android tools, check the console» I do not know what to do, my Android ADK is updated, as I used 1.5.1 and Processing 2.0a gives the same error.
Can anyone help me? I
want to develop for the Samsung Galaxy Tab p1010.
Thank you
Helio
processing-bugs commented Feb 10, 2013
From f. @processing.org on November 12, 2011 18:36:12
Please copy & paste the contents of the console here so that we can figure out what’s going on.
You’ll also need to follow the (updated) instructions on the Wiki, and install 2.0a4 (or later) to develop for Android.
processing-bugs commented Feb 10, 2013
From alme1. @gmail.com on November 13, 2011 06:29:46
the same sketch works fine in 1.5.1 but on the latest it doesn’t
here is what I got
BUILD FAILED
C:\Users\Alexis\AppData\Local\Temp\android471311827798201387.pde\build.xml:8: Cannot find D:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml imported from C:\Users\Alexis\AppData\Local\Temp\android471311827798201387.pde\build.xml
Total time: 0 seconds
processing-bugs commented Feb 10, 2013
From f. @processing.org on November 14, 2011 20:01:25
That’s all that’s in the console? There should be many, many lines.
Are you using alpha 4? Have you updated your Android SDK Tools to version 15?
processing-bugs commented Feb 10, 2013
From JesseCol. @gmail.com on January 25, 2012 06:33:41
Hi Ben,
I’m getting the same error, as are a few other people on the Forum apparently.
My console says:
BUILD FAILED
/var/folders/cs/csUuSD20FJ8BHJH4lPTttE+++TI/-Tmp-/android4156206124051351459.pde/build.xml:16:
Error. You are using an obsolete build.xml
You need to delete it and regenerate it using
android update project
Total time: 0 seconds
. and yes, that’s all. no other text.
However, this is only with 1.5.1 . using 2.0a4 (OSX, 10.6) works fine for me.
processing-bugs commented Feb 10, 2013
From f. @processing.org on January 25, 2012 16:12:24
1.5.x no longer works with Android, due to changes by Google. 2.0a4 is required.
processing-bugs commented Feb 10, 2013
From JesseCol. @gmail.com on January 26, 2012 05:49:53
Ok! Wasn’t aware of that, but thanks for responding.
processing-bugs commented Feb 10, 2013
From denis. @gmail.com on July 03, 2012 13:19:21
i have the same error:
taskdef class com.android.ant.SetupTask cannot be found
using the classloader AntClassLoader[C:\Program Files (x86)\Android\android-sdk\tools\lib\anttasks.jar;C:\Program Files (x86)\Android\android-sdk\tools\lib\common.jar;C:\Program Files (x86)\Android\android-sdk\tools\lib\sdklib.jar;C:\Program Files (x86)\Android\android-sdk\tools\lib\androidprefs.jar;C:\Program Files (x86)\Android\android-sdk\tools\lib\mkidentity.jar;C:\Program Files (x86)\Android\android-sdk\tools\lib\commons-compress-1.0.jar;C:\Program Files (x86)\Android\android-sdk\tools\lib\httpclient-4.1.1.jar;C:\Program Files (x86)\Android\android-sdk\tools\lib\httpcore-4.1.jar;C:\Program Files (x86)\Android\android-sdk\tools\lib\httpmime-4.1.1.jar;C:\Program Files (x86)\Android\android-sdk\tools\lib\commons-logging-1.1.1.jar;C:\Program Files (x86)\Android\android-sdk\tools\lib\commons-codec-1.4.jar;C:\Program Files (x86)\Android\android-sdk\tools\lib\manifmerger.jar]
Total time: 0 seconds
processing-bugs commented Feb 10, 2013
From 1475. @gmail.com on July 06, 2012 14:46:16
the same here:
BUILD FAILED
C:\Users\Erik\AppData\Local\Temp\android8013550898848789252.pde\build.xml:15: taskdef class com.android.ant.SetupTask cannot be found
using the classloader AntClassLoader[C:\Users\Erik\AppData\Local\Android\android-sdk\tools\lib\anttasks.jar;C:\Users\Erik\AppData\Local\Android\android-sdk\tools\lib\common.jar;C:\Users\Erik\AppData\Local\Android\android-sdk\tools\lib\sdklib.jar;C:\Users\Erik\AppData\Local\Android\android-sdk\tools\lib\androidprefs.jar;C:\Users\Erik\AppData\Local\Android\android-sdk\tools\lib\mkidentity.jar;C:\Users\Erik\AppData\Local\Android\android-sdk\tools\lib\commons-compress-1.0.jar;C:\Users\Erik\AppData\Local\Android\android-sdk\tools\lib\httpclient-4.1.1.jar;C:\Users\Erik\AppData\Local\Android\android-sdk\tools\lib\httpcore-4.1.jar;C:\Users\Erik\AppData\Local\Android\android-sdk\tools\lib\httpmime-4.1.1.jar;C:\Users\Erik\AppData\Local\Android\android-sdk\tools\lib\commons-logging-1.1.1.jar;C:\Users\Erik\AppData\Local\Android\android-sdk\tools\lib\commons-codec-1.4.jar;C:\Users\Erik\AppData\Local\Android\android-sdk\tools\lib\manifmerger.jar]
Total time: 0 seconds
processing-bugs commented Feb 10, 2013
From marcosto. @gmail.com on August 11, 2012 07:00:57
Same issue here, just redownloaded android sdk files and am running 2.0a8. This is all that was in the console:
BUILD FAILED
C:\Program Files\Android\android-sdk\tools\ant\build.xml:679: The following error occurred while executing this line:
C:\Program Files\Android\android-sdk\tools\ant\build.xml:692: Compile failed; see the compiler error output for details.
Total time: 6 seconds
processing-bugs commented Feb 10, 2013
From f. @processing.org on August 11, 2012 13:02:50
This bug is closed, and comment #11 and comment #12 have nothing to do with the original bug. Please post a new issue with more details if you’re having problems.
github-actions bot commented Jun 18, 2021
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Источник
Android BUILD FAILED Cannot find build.xml
Brett
Guest
I am using Gamemaker Studio v1.4.1657 because I am trying to test a project on Android TV and the newest 1.4 builds give an «Incorrect Android target» error when testing the APK on my Nvidia Shield TV. I can build successfully on the newer 1.4 builds but on v.1.4.1657 build this occurs:
BUILD FAILED
C:\Users\Badboybrenden\AppData\Local\gm_ttt_81655\gm_ttt_90926\build.xml:84: Cannot find C:\Users\Badboybrenden\AppData\Local\Android\Sdk\tools\ant\build.xml imported from C:\Users\Badboybrenden\AppData\Local\gm_ttt_81655\gm_ttt_90926\build.xml
I have been looking for a solution for hours and nothing works. If you guys can help I would appreciate it greatly.
Here is the full compile:
Monsi
Guest
Did you try clearing the cache?
Brett
Guest
Brett
Guest
santiagolemos123
Guest
I am using Gamemaker Studio v1.4.1657 because I am trying to test a project on Android TV and the newest 1.4 builds give an «Incorrect Android target» error when testing the APK on my Nvidia Shield TV. I can build successfully on the newer 1.4 builds but on v.1.4.1657 build this occurs:
BUILD FAILED
C:\Users\Badboybrenden\AppData\Local\gm_ttt_81655\gm_ttt_90926\build.xml:84: Cannot find C:\Users\Badboybrenden\AppData\Local\Android\Sdk\tools\ant\build.xml imported from C:\Users\Badboybrenden\AppData\Local\gm_ttt_81655\gm_ttt_90926\build.xml
I have been looking for a solution for hours and nothing works. If you guys can help I would appreciate it greatly.
Here is the full compile:
Brett
Guest
santiagolemos123
Guest
Brett
Guest
Member
Hi Brett, i am having the same problem here.
The exact same error with the wrong android target.
Could you tell me what API’s exactly you installed to make the compiled .apk work on nvidia shield TV? And what settings you used in the project?
Also, in the API i have the SDK, and also some other items in there. Two of them has to do with android TV. Which ones did you install?
I hope you can enlighten me
It’s greatly appreciated 
Brett
Guest
Hi Brett, i am having the same problem here.
The exact same error with the wrong android target.
Could you tell me what API’s exactly you installed to make the compiled .apk work on nvidia shield TV? And what settings you used in the project?
Also, in the API i have the SDK, and also some other items in there. Two of them has to do with android TV. Which ones did you install?
I hope you can enlighten me
It’s greatly appreciated 
Member
Hi Brett, thanks for getting back to me!
i appreciate it!
2) Then, i got settings for the game as follows (global game settings -> android):
www.jrxs.net/temp/global_game_settings_android.png
When i compile this, it runs on my android tablet, phone and also OUYA,
It installs on Android shield TV, but when i try to run it, i get the error that it’s not for Android TV target, but Android target.
3) If i expand the API23 node in SDK manager :
www.jrxs.net/temp/skd6.0_(API23).png
i see a bunch of stuff that can be installed also (looks like it has got to do something with android TV)
I only installed «SDK platform» and «google APIs». I also installed «Android TV ARM EABI v7a System image», but i dont think the latter is doing anything.
4) When i compile the game, i choose target «Andoid/Fire» option.
Did i forget something?
Especially with (3), do i need to install something more for android TV?
Brett
Guest
Hi Brett, thanks for getting back to me!
i appreciate it!
2) Then, i got settings for the game as follows (global game settings -> android):
www.jrxs.net/temp/global_game_settings_android.png
When i compile this, it runs on my android tablet, phone and also OUYA,
It installs on Android shield TV, but when i try to run it, i get the error that it’s not for Android TV target, but Android target.
3) If i expand the API23 node in SDK manager :
www.jrxs.net/temp/skd6.0_(API23).png
i see a bunch of stuff that can be installed also (looks like it has got to do something with android TV)
I only installed «SDK platform» and «google APIs». I also installed «Android TV ARM EABI v7a System image», but i dont think the latter is doing anything.
4) When i compile the game, i choose target «Andoid/Fire» option.
Did i forget something?
Especially with (3), do i need to install something more for android TV?
Источник
Qt android
Доброй ночи. Собственно проблема с установкой на эмулятор(до устройства еще не добрался). При установке, консоль говорит о:
Поставил ant, появились другие проблемы
Русские буквы — зло в любых системах.
For more information, run this command with —verbose
Стоит прислушаться к совету.
Подозреваю, что ant debug .
Установи ant в пакетном менеджере.
Была такая же проблема, просто прописал в Qt Creator /usr/bin/ant путь и заработало. Вкладка Android в настройках, «Программа Ant».
Спасибо, но не то.
Установки SDK в нормальный каталог (без кириллицы).
Да, да, спасибо. Это мне вчера и помогло, я еще не успел отписаться.
Нужно еще подробнее смотреть логи, я помню что с какой-то версией SDK был баг при сборке. В гугле нашел решение. Советую сделать export LANG=C в консоль и полученные логи на инглише в гугл засунуть.
Источник