pytorch / android-demo-app

PyTorch android examples of usage in applications
1.47k stars 606 forks source link

Gradle sync failed: Sync failed: reason unknown #172

Open Aoobi opened 3 years ago

Aoobi commented 3 years ago

Hi, I am facing an issue with the project.

I downloaded android studio and the android-demo-app folder. When i open the project (object detection) i get this error:

Gradle sync failed: Sync failed: reason unknown

I never used android studio before and I am not sure if i need to setup anything else before i can open this project? When i create new project from file->new->new project, it works fine, without errors.

Thank you

hdnh2006 commented 3 years ago

Same from here

Aoobi commented 3 years ago

I think I made some progress here, i installed NDK from the home screen -> SDK manager and it solved the gradle sync failed error :)

suneel-kms123 commented 2 years ago

https://stackoverflow.com/a/69929294/2783969