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

Hi All
I’m struggling to package my project into Android file. It works normally when packaging a new project but using same config, in this project this happens:


Any idea on what is it? How can I solve this problem?
I tried reinstalling android studio, sdk versions, followed lots of tutorials, still can’t make it work.

1 Like

One of the things i did when i got a java error was: Remove any copy paste letters on Project settings, packaging in a new folder after restart.

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