Layout preview not working in Android Studio

后端 未结 9 2162
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-18 20:15

I ported an android project from Eclipse to Android Studio. The project builds just fine. However I am not able to see any layout preview. When I go to the Design tab of a l

9条回答
  •  甜味超标
    2020-12-18 20:40

    Maybe it is better to use the 0.3.6 version (latest), with this version of gradle : com.android.tools.build:gradle:0.6.+

    Bear in mind that Android Studio will be expecting the Android SDK already installed (as I suppose you have), and also the environment variables ANDROID_HOME and GRADLE_HOME.

提交回复
热议问题