0
방금 IntelliJ로 전환했으며 이것을 Android IDE로 사용하고 싶지만 내 main.xml
파일을 렌더링하는 데 문제가있는 것으로 보입니다. 여기에 내가 오류입니다 :이 비슷한 스레드에서 제안 된 솔루션을 모두 시도IntelliJ Idea가 main.xml 오류를 렌더링합니다
Rendering Problems
This version of the rendering library is more recent than your version of IntelliJ IDEA. Please update IntelliJ IDEA (Details)
org.jetbrains.android.uipreview.RenderingException: This version of the rendering library is more recent than your version of IntelliJ IDEA. Please update IntelliJ IDEA
at org.jetbrains.android.uipreview.LayoutLibraryLoader.load(LayoutLibraryLoader.java:90)
at org.jetbrains.android.sdk.AndroidTargetData.getLayoutLibrary(AndroidTargetData.java:149)
at com.android.tools.idea.rendering.RenderService.create(RenderService.java:167)
at com.intellij.android.designer.designSurface.AndroidDesignerEditorPanel$6.run(AndroidDesignerEditorPanel.java:485)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:320)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:310)
at com.intellij.util.ui.update.MergingUpdateQueue$2.run(MergingUpdateQueue.java:254)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:269)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:227)
at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:217)
at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:327)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
- 제거 된 SDK 빌드 - 도구 V20 설치 SDK 빌드 - 도구 v18.0.1
- 는 API (18)에 미리보기 탭에서 안드로이드 SDK를 낮춘 : 낮은 안드로이드 SDK를 기반으로 안드로이드 4.3.1
- 삭제하고 다시 만들어 프로젝트
여전히 IntelliJ에서 미리보기를 렌더링하지 못하고 다음 문제를 해결할 방법이 없습니다.
오류 메시지에서 IntelliJ IDEA 버전을 제안하고 업데이트 했습니까? –
@CoryKlein IntelliJ 최신 버전입니다. – raphnguyen