Android Studio 3.0 xml-layout file's preview not showing

后端 未结 8 1437
夕颜
夕颜 2020-12-20 11:56

When I open layout file in my new Android-Studio file and press preview tab it\'ll show a message Waiting for build to finish... for infinite time.

<
相关标签:
8条回答
  • 2020-12-20 12:19

    After upgrading to Android Studio version 3.1, in the Project Structure dialog the build tools version was empty. Selecting a build tools version solved the problem for me.

    Hope it helps for someone facing the same issue.

    0 讨论(0)
  • 2020-12-20 12:21

    After a lot searching and I tried all solution which people give here, but any of them didn't solve my problem, I guess this problem is from studio's developers, and they may fix it in next patch. so I simply re-installed my android studio and it's solved.

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