No rendering target selected using Android Studio

前端 未结 10 2313
天涯浪人
天涯浪人 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 09:50

    You need to run the AVD Manager to add a virtual device that matches the target API version your project is set to. Click Tools->Android->AVD Manager. Click on 'New', add virtual devices targeting higher API levels, e.g 18, 19, etc. Then restart Android Studio, and open your project, it should find a target device to allow you access to the Design view.

提交回复
热议问题