Compile Error "DX execution failed" when using Gestures extension


#1

Hi,

I recently added Gestures extension from @Mika, to my project and now I am getting compile time error when I try to create apk. I am able to successfully test app in Live mode.

If I remove Floating Action Button from my app, it compiles fine.

Error Message:
Thunkable is unable to compile this app.
The compiler error output was
________Preparing application icon
________Creating values xml
________Creating animation xml
________Creating fragment xml
________Generating manifest file
________Attaching native libraries
________Attaching component assets
________Attaching ttf files
________Compiling source files
(compiling com/thunkable/android/ishpreet_damir/JuggernautMethod_11_temp/settings.yail to com.thunkable.android.ishpreet_damir.JuggernautMethod_11_temp.settings)
(compiling com/thunkable/android/ishpreet_damir/JuggernautMethod_11_temp/Screen1.yail to com.thunkable.android.ishpreet_damir.JuggernautMethod_11_temp.Screen1)
(compiling /tmp/runtime4849803520359017740.scm to com.google.youngandroid.runtime)
Kawa compile time: 4.16 seconds
________Invoking DX
YAIL compiler - DX execution failed.

Any help is greatly appreciated.


#2

which extensions do you use in the project?

your error message is DX exectution failed
you might want to do a search in the forum
https://community.thunkable.com/search?q=DX%20execution%20failed

see also SteveJG’s monster list

Taifun


Error: Your build failed due to an error in the DX stage, not because of an error in your program."
#3

Hi @Taifun thanks for reply. When I remove gestures extension, project works fine. When I add gestures extension and remove FAB component, project works fine, but both of them don’t work together.


#4

good to know…
@Mika and @TingC might want to find out, why…?
Meanwhile I added this as a note in my extensions directory
Taifun


#5

Thank you @Taifun for your responses.


#6

Is it possiple that this is the issue creator?

I look today which classes my extension uses.
Maybe there is a conflict with the fab sources.


#7

when did you build that extension the last time?
the newest version of the App Inventor sources might have an issue, but probably you built earlier, see also


Taifun


#8

last build was June 14, 2017


#9

which means, it is another issue…
Taifun


#10

@Ishpreet
Please try this version of my extension:
com.NMD.Gesture.aix (13,6 KB)

I have removed all unused things in the code.

Edit:
I can build the extension without any problem and I used for the test the FAB in the same project.


#11

Hi @Mika I am still getting this error in my project. When I remove FAB, project compiles fine.


#12

I can’t rebuild the issue. Because it works fine for me.
I can add my extension and add the FAB component.
It works perfect for me without issue.


#13

Thanks @Mika I will do more testing and try to find out if there is anything else going on in my project that is causing issues


#14

Try to create a new project with my extensions and the fab.
Does it works for you too?


#15

Thanks @Mika for your support. I tried it again and now its working.
I did not make any changes. Not even your new extension. It is working fine now with old extension.


#16

@Taifun
I think you can remove your note.