I hope this saves someone some hours of pain. If you are still having problems, you may need to set the Project SDK.
(this will uninstall the platform tools from your ide) wait till it is done and then your gradle will sync. Before starting Android Studio, run the following on the command line: IBUSENABLESYNCMODE1 ibus-daemon -xrd Workaround 2: Disable iBus input in Android Studio.To disable iBus input for Android Studio only, run the.