Android Studio 'Run app' dialogue doesn't appear in one project but will in another

前端 未结 2 1237
感动是毒
感动是毒 2021-01-28 01:45

I\'m toying with Android Studio making a very simple very stupid app to learn about saving key preferences and I ran into a weird obstacle. I\'ll try to provide as much as I can

相关标签:
2条回答
  • 2021-01-28 02:02

    It appears that you have two onCreate methods. Try removing the second one and running it again.

    0 讨论(0)
  • 2021-01-28 02:11

    In Android Studio you need create a Run Configuration in your project.

    Go to this link to left run icon

    Run Configuration

    And click on Edit Configuration, after in the windows configure like this:

    Run configuration window

    And save it, for test click run icon.

    0 讨论(0)
提交回复
热议问题