Android Studio 3.0 Layout Preview render issues

前端 未结 6 1624
挽巷
挽巷 2020-12-15 14:15

I just updated my Android Studio to latest 3.0 and then the Layout Preview is not working anymore. I have tried open up different projects and they all have the same render

6条回答
  •  鱼传尺愫
    2020-12-15 14:45

    You need to install SDK platforms depends on which compat library you are using.

    For example:

    If you are using compile 'com.android.support:appcompat-v7:25.0.0'. Make sure SDk platforms API 25 is downloaded.

    To check downloaded SDK platforms, goto

    Tools-> Sdk Manager ->Sdk Platforms.

    then download the required platforms depends on the library you are using.

    Restart the Android studio to effect the changes.

提交回复
热议问题