开发者

Adding Main Activity to Manifest: element is not allowed here

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

Adding Main Activity to Manifest: element is not allowed here

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜