This Android SDK is compiled using Java programming language.
So, why Java?
Go was used in the earlier versions of Android and found to have its limitations.
Also during the time the first Android version was being worked on, the JVM/CLR languages (i.e.
the Java family and the C#/.NET family) were under ownership of Sun and Microsoft respectively.
So it would not have been feasible for Google to use its enemies programming language.
Only after Oracle bought out Java and Google reached an understanding with Oracle that all proprietary issues were resolved.
As seen above, Java was simply the best choice available at the time.
source: www.techworm.net