Giter Club home page Giter Club logo

androidcodegenerator's Issues

bug

 我在android studio 1.2 Beta 3中安装了AndroidCodeGenerator插件,安装是成功的,但是使用时报错:

1、生成ViewHolder报如下错误:
15:20:17 PluginException: com/fuxy/android/ide/plugin/generate/BaseSimple : Unsupported major.minor version 52.0 [Plugin: com.fuxy.android.ide.plugin]

2、生成findViewById报如下错误:
15:19:40 PluginException: com/fuxy/android/ide/plugin/generate/BaseSimple : Unsupported major.minor version 52.0 [Plugin: com.fuxy.android.ide.plugin]

另外我的android studio是安装在win7 64位系统中的。

安装插件后打开报错

打开报错,导致我原来系统的生成get和set方法的对话框都打不开了
scala/runtime/NonLocalReturnControl
java.lang.NoClassDefFoundError: scala/runtime/NonLocalReturnControl
at com.fuxy.android.ide.plugin.generate.BaseAndroidGenerateCodeAction.isValidForClass(BaseAndroidGenerateCodeAction.scala:19)
at com.intellij.codeInsight.generation.actions.BaseGenerateAction.isValidForFile(BaseGenerateAction.java:65)
at com.fuxy.android.ide.plugin.generate.initialize.InitViewAction.isValidForFile(InitViewAction.scala:21)
at com.intellij.codeInsight.actions.CodeInsightAction.update(CodeInsightAction.java:101)
at com.intellij.codeInsight.actions.CodeInsightAction.update(CodeInsightAction.java:97)
at com.intellij.openapi.actionSystem.AnAction.beforeActionPerformedUpdate(AnAction.java:243)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:111)
at com.intellij.ui.popup.PopupFactoryImpl$ActionStepBuilder.appendAction(PopupFactoryImpl.java:934)
at com.intellij.ui.popup.PopupFactoryImpl$ActionStepBuilder.appendActionsFromGroup(PopupFactoryImpl.java:924)
at com.intellij.ui.popup.PopupFactoryImpl$ActionStepBuilder.buildGroup(PopupFactoryImpl.java:860)
at com.intellij.ui.popup.PopupFactoryImpl$ActionGroupPopup.createStep(PopupFactoryImpl.java:257)
at com.intellij.ui.popup.PopupFactoryImpl$ActionGroupPopup.(PopupFactoryImpl.java:214)
at com.intellij.ui.popup.PopupFactoryImpl.createActionGroupPopup(PopupFactoryImpl.java:194)
at com.intellij.ui.popup.PopupFactoryImpl.createActionGroupPopup(PopupFactoryImpl.java:168)
at com.intellij.ui.popup.PopupFactoryImpl.createActionGroupPopup(PopupFactoryImpl.java:296)
at com.intellij.codeInsight.generation.actions.GenerateAction.actionPerformed(GenerateAction.java:38)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$3.performAction(IdeKeyEventDispatcher.java:593)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:644)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:483)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:213)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:538)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.ClassNotFoundException: scala.runtime.NonLocalReturnControl PluginClassLoader[com.fuxy.android.ide.plugin, 1.0]
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:68)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 28 more

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.