我在我的android studio中出現內部IDE錯誤。組件屬性面板從不顯示任何內容。當我點擊的組件上,有一個在事件日誌中的錯誤,說:Android Studio內部IDE錯誤
拋出:IllegalArgumentException:用於可聚焦
這是錯誤的詳細信息缺少的屬性定義。
Missing attribute definition for focusable
java.lang.IllegalArgumentException: Missing attribute definition for focusable
at com.android.tools.idea.uibuilder.property.NlPropertyItem.<init>(NlPropertyItem.java:88)
at com.android.tools.idea.uibuilder.property.NlPropertyItem.create(NlPropertyItem.java:72)
at com.android.tools.idea.uibuilder.property.NlProperties.getPropertiesWithReadLock(NlProperties.java:111)
at com.android.tools.idea.uibuilder.property.NlProperties.lambda$getProperties$538(NlProperties.java:64)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:966)
at com.android.tools.idea.uibuilder.property.NlProperties.getProperties(NlProperties.java:63)
at com.android.tools.idea.uibuilder.property.NlPropertiesManager.lambda$setSelectedComponents$202(NlPropertiesManager.java:174)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:369)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
我作爲IDE更新(版本2.2.2),我也在使用Oracle JDK(jdk1.8.0_112)。
嗨@John看到更新的答案,希望它能幫助你 –
@JohnCarloDionson,試試[這個](http://stackoverflow.com/a/40058561/5180017)解決方案。 – Shashanth
@Shashanth我已經試過了,仍然有錯誤。 –