Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Anonymous's avatar
Anonymous
5 years ago

Android Studio 4.1 compatibility

Is the mobile SDK 1.37.0 compatible with Android Studio 4.1?
If I try to open any of the samples in VrSamples with this version, I get Graddle sync failes: Task 'wrapper' not found in project x.

Downgrading to Andrid Studio 3.6 everything works fine.

4 Replies

  • I went to File -> Settings -> Build, Execution, Deployment -> Gradle and I selected "Specified location" for "Use Gradle from:" and I used the build.gradle from the sample's Projects\Android folder and it worked.
  • Anonymous's avatar
    Anonymous


    I went to File -> Settings -> Build, Execution, Deployment -> Gradle and I selected "Specified location" for "Use Gradle from:" and I used the build.gradle from the sample's Projects\Android folder and it worked.


    Thank you very much.

    I have been using Visual Studio for so many years that I am having trouble adapting to Android Studio.
  • Anonymous's avatar
    Anonymous
    it's pretty insane that this problem has been ongoing for several months now and no one from oculus has bothered to fix it or at least update the instructions to include dranger003's fix. A thank you to dranger003 for his help
  • I forgot to resync Gradle files after dranger003's hint.
    As the path isn't saved I thought it didn't work.