Error: class DownloadShim is public, should be declared in a file named DownloadShim.java

Well I solved the problem by reinstalling the whole thing. Android studio and Java!