Long loading operation on opening an xml layout on latest ADT

久未见 提交于 2019-12-07 01:24:56

问题


In latest ADT bundle when I try to open an xml layout editor, it opens and then this message appears:

The rendering target (Android 4.4.2) is still loading.

The layout will refresh automatically once the process is finished.

Also most of the operations in eclipse are taking long time,like renaming a resource and I don't think that is somehow related to my PC configuration.

I'm using latest JDK , what should i do? or it's a bug in android developing tools?


回答1:


Make sure your Android SDK and ADT have the exact same version. For example, if you have Android SDK v22.6.2 installed, you must also have ADT v22.6.2 installed.

Also, Java JDK 1.6.45 is the latest compatible version for Android. JDK 7 is not yet supported.

FYI: Android SDK v22.6.1 and ADT v22.6.1 are buggy. You should upgrade both to v22.6.2.



来源:https://stackoverflow.com/questions/22397412/long-loading-operation-on-opening-an-xml-layout-on-latest-adt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!