The new aapt.exe that is downloaded with the Android SDK Build-tools 21.0.1 fails to run properly with B4A. During the packaging, it stops working with an error message (saying it has stopped working).
I should have mentioned that this problem does not happen with all projects. It seems that the contents of the Files folder matters. In my case, that fails with all my important projects, with many images in Files. I reverted to the aapt.exe of build 20 and the problem is gone.I've got the SDK upgrade yesterday, compiled several apps, no issues at all.
I also upgraded the Java SDK by the way.
It is probably related to this issue: https://code.google.com/p/android/issues/detail?id=77629
Are you currently able to download it from the SDK Manager? I don't see it here.
The new aapt.exe that is downloaded with the Android SDK Build-tools 21.0.1 fails to run properly with B4A. During the packaging, it stops working with an error message (saying it has stopped working).
It solved for me as well.In the issue posted by Erel there is now a bugfix version of aapt.exe posted by the Android team. Seems to work again with this version.
The new aapt.exe (build 21.0.2) works well but the compilation time seems longer and the optimized dexer fails with all my current projects (that's why maybe the compilation is longer). I reverted to build 20.It solved for me as well.
Raffaele
I don't remember exactly the message but I think that it was just saying that it had to use the standard dexer. Note that I compiled with success, but I got every time this message in the compilation window and the compilation time was longer.Which error did you get?