Currently running Fuse version 0.23.0 (build 7041) Windows 10 64-bit
BUILD FAILED C:\Users\Ahmad\AppData\Local\Fusetools\Fuse\Android\AndroidSDK\tools\ant\build.x ml:928: The following error occurred while executing this line: C:\Users\Ahmad\AppData\Local\Fusetools\Fuse\Android\AndroidSDK\tools\ant\build.x ml:946: null returned: -1073741819
Total time: 28 seconds (unknown): E0200: Android build failed fuse: Errors were encountered while building the project
Tried to reproduce the error by compiling example projects taken from Fuse but those projects compiled with no problem. Problem only occurs on my own projects whenever I tried to preview/build Android.
Can you please run uno build -tandroid -v
and paste the full output?
Weird, now I can’t reproduce the error. Seems all builds work fine at the moment.
Previously tried exporting apk with this command:
fuse build --target=Android --configuration=Release
BUILD FAILED C:\Users\Ahmad\AppData\Local\Fusetools\Fuse\Android\AndroidSDK\tools\ant\build.x ml:928: The following error occurred while executing this line: C:\Users\Ahmad\AppData\Local\Fusetools\Fuse\Android\AndroidSDK\tools\ant\build.x ml:946: null returned: -1073741819
Total time: 28 seconds (unknown): E0200: Android build failed fuse: Errors were encountered while building the project
When I had that problem, I could not preview the app on Android as well. Should I reinstall Fuse?
If everything works now, I would just keep it like that. Just a few clarifications:
-
uno build
is synonymous with fuse build
, the latter just calls the former.
- If you get an unexplained error again, please re-run the exact command that produced the error, just add
-v
for verbose output, then paste the entire output of the command here.
Will do. Thanks for your time!
Got the error again today, identical error.
BUILD FAILED
C:\Users\Ahmad\AppData\Local\Fusetools\Fuse\Android\AndroidSDK\tools\ant\build.x
ml:928: The following error occurred while executing this line:
C:\Users\Ahmad\AppData\Local\Fusetools\Fuse\Android\AndroidSDK\tools\ant\build.x
ml:946: null returned: -1073741819
Total time: 1 minute 37 seconds
(unknown): E0200: Android build failed
Ahmad, do you have non-english characters, in one of the file or directory names?
Emil Sandstø wrote:
Ahmad, do you have non-english characters, in one of the file or directory names?
Nope. But I do have hyphens for image filenames.
Could you please provide the full path to your uno project file?
Emil Sandstø wrote:
Could you please provide the full path to your uno project file?
Here you go, C:\Users\Ahmad\Desktop\fuse\testEZQ2
I see, hmm could you please zip up your project and upload it to https://www.dropbox.com/request/ZgndLtJQm5eGzG9cicGK
Thanks I’ll take a look soon
I wasn’t able to reproduce your issue. Which Android SDK Tools version are you running?
Run uno android
and look for:
By the way, have you tried a uno clean
of your project?
Emil Sandstø wrote:
I wasn’t able to reproduce your issue. Which Android SDK Tools version are you running?
Run uno android
and look for:
Here’s mine:
Yeah, I always run uno clean
before I export .apk
So, what’s the issue here?
Hi, right now I’m out of ideas, I’ll just have to gather enough information about your setup.
The ant
installation that you have, is the one that was installed with fuse install android
?
Emil Sandstø wrote:
Hi, right now I’m out of ideas, I’ll just have to gather enough information about your setup.
The ant
installation that you have, is the one that was installed with fuse install android
?
Yeah, it is the one installed with it. I tried running fuse install android
again when I got the error just in case there’s a problem with the Ant
installation. But it didn’t make any difference.