Android :android:urho3d-lib:generateJsonModelDebug failed task

hi i am new to urho3d engine i’ve been using it for that past a couple of days and everything was going smoothly… however yesterday i tried to compile the urho3d librays for android using gradle and it failed with this error

Task :android:urho3d-lib:generateJsonModelDebug FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ‘:android:urho3d-lib:generateJsonModelDebug’.
java.lang.NullPointerException (no error message)


i did look at the legacy docs and found that i had to install data & autoload in an asset folder inside launcher-app and Coredata in assets inside urho3d-lib
however that didn’t fix the problem and i still get the same problem

i used android studio and it failed to sync to the libray.

if this has happen before or its just a new problem i’d be happy if you tell me how to fix it :wink:

If you use main branch to build then follow the new online doc where it specifically states the version of the currently supported Android plugin and NDK.

You are on your own when you use other newer version available. I suspect if you newly installed Android Studio then you might have newer Android plugin that Urho does support. That’s the only reason I can think of that causing the initial gradle sync to fail. Having said that, I f you are able to use the latest plugin and get it to work, please share your fixes.

I also got this error with the main branch. I check the gradle plugin version in File\Project Structure in Android Studio and it is 4.0.2. Do you have any hint in this problem?