Tutorial how set up Android Build Enviroment on openSUSE Leap
If this help's u hit Thanks! :)
1) If you don’t have fresh installed openSUSE Leap first you need remove all Java installation, many people might have the wrong version of Java installed.
Code:
sudo zypper remove openjdk-*...