No rendering target selected using Android Studio

前端 未结 10 2373
天涯浪人
天涯浪人 2021-02-20 09:32

My Android Studio in activity_main.xml showing this problem: \"Rendering Problems No render target selected\" Help?

相关标签:
10条回答
  • 2021-02-20 10:01

    Close the emulator if it is previously opened. Then try launching the fragment_main.xml again in design mode.

    0 讨论(0)
  • 2021-02-20 10:02

    Restart Android Studio and it should solve the problem

    0 讨论(0)
  • 2021-02-20 10:05

    Top menu bar on the left side of the AVD Manager button you have a "Sync Project with Gradle Files" button. Click that. Android Studio may become sluggish for like 5 seconds, but you'll also see a loading wheel in the project files tab, and possibly a yellow bar on the top of activity_main.xml tab saying that Gradle is syncing. In about 5 seconds everything will be up to date, and you will see the device as expected. Hope this helps.

    This really works

    If it says Gradle Sync failed then download the missing platforms and platforms and then restart

    It worked for me..

    0 讨论(0)
  • 2021-02-20 10:06

    I was getting the same error and the reason was that in my application the targetSdkVersion was set to version I didn't have setup on my AndroidStudio, error disappeared after I modified that, hope that helps.

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