GradleWrapperMain Error when trying to preview on Android

Paragons of UXdom!

I just started trying out Fuse today and am having a little trouble when attempting to use the ‘preview on Android’ feature. I get the following message:

“The system cannot find the path specified.
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain”

Any tips on how to get this to work correctly?

Thanks,

Andrew

Hi Andrew,

what OS are you on (type, version, bits etc.)? Did you run fuse install android in Terminal/Shell?

Hey, Uldis!

Thanks for the quick reply. I had run that in the terminal and just tried to run it again (in case) but it looks like that’s fine. Originally I had some issues with getting that to work but eventually was able to (updating Android SDK stuff, etc).

I’m on Windows 10 Pro, 64 bit, version 10.0.15063 Build 15063.

Thanks,

Andrew

Hi again Andrew,

we looked at it and it seems that this is an Android/Gradle issue, not something limited to Fuse. If you google and stackoverflow for it, you should find a solution. One is said to be deleting a .gradle folder in your userfolder, but I’m tempted to suggest you look for all/other potential solutions first.

Hope this helps!