When I run my code, I get the error: "The activity 'MainActivity' is not declared in AndroidManifest.xml" I added a few lines of code in manifest based on what I've been seeing online, but now I am getting these errors. How would I fix this开发者_C百科?
I've tried exiting manifest and syncing with gradle files but it did not work (https://i.stack.imgur.com/9zLgl.png)
Your activity is outside the application tag update it remove /> from application replace it with > ... here add your activity
精彩评论