In my case, this was due to my main Game
class derived from the framework Game
class. The frame class was not correctly included; since the subclass was not found, Android reported that the main class could not be found (since it was not completely known).
To solve this problem, I correctly added the original link to the structure, and everything worked.
source share