Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ IDEA Render error

I'm trying to set up IntelliJ IDEA for programming android but I can't render the main.xml.

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.RenderServiceFactory.loadLibrary(RenderServiceFactory.java:158) at org.jetbrains.android.uipreview.RenderServiceFactory.create(RenderServiceFactory.java:73) at org.jetbrains.android.sdk.AndroidTargetData.getRenderServiceFactory(AndroidTargetData.java:132) at org.jetbrains.android.uipreview.RenderUtil.renderLayout(RenderUtil.java:105) at com.intellij.android.designer.designSurface.AndroidDesignerEditorPanel$8.run(AndroidDesignerEditorPanel.java:346) 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.Alarm$Request$1.run(Alarm.java:289) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722)

enter image description here

This is the exception I get when I try to open the main.xml with the Android GUI Designer (IntelliJ Utility). I have the latest IDE version so I don't know what's happening here.

like image 828
Jesus Avatar asked Sep 18 '13 12:09

Jesus


People also ask

How do I fix errors in IntelliJ?

Apply fixes in the Problems tool window icon on the toolbar or in the context menu. You can also press Alt+Enter and select a suitable fix from the popup menu.

How do I get rid of compilation error in IntelliJ?

Run/Debug Configurations -> Your Application -> Configuration -> Before launch: Build, Activate tool window -> remove the "Build" line with the Minus symbol. That works! :) Thank You Vic!

How do I fix sonar issues in IntelliJ?

Use the "Test Connection" button to make sure your IntelliJ can connect to the OpenLMIS Sonar. Set the SonarLint Project Settings: Click "Enable binding...", then select the OpenLMIS server you added in the previous step. Then select the project that corresponds to whichever project you have open in IntelliJ.


1 Answers

IDEA does not have a render version for 4.3 yet. Try select version of Android that is less than 4.3 in the dropdown in the preview. It works for me.

like image 118
Bersh Avatar answered Sep 28 '22 03:09

Bersh