Git Product home page Git Product logo

Comments (7)

YiiGuxing avatar YiiGuxing commented on May 13, 2024

@Yves0 请问这是怎么出现的呢?我这里并不能重现该问题。

from translationplugin.

Yves0 avatar Yves0 commented on May 13, 2024

@YiiGuxing 安装之后重启AS就报错了,event log如下
`20:08:52 Plugin Error: Translation threw an uncaught PluginException. Disable Plugin

20:08:52 PluginException: cannot create class "cn.yiiguxing.plugin.translate.action.TranslationAction" [Plugin: cn.yiiguxing.plugin.translate]

20:08:58 PluginException: cannot create class "cn.yiiguxing.plugin.translate.action.EditorPopupMenuAction" [Plugin: cn.yiiguxing.plugin.translate]

20:09:26 PluginException: cn/yiiguxing/plugin/translate/ui/Settings : Unsupported major.minor version 52.0 [Plugin: cn.yiiguxing.plugin.translate]`

两种安装方法都是这样

from translationplugin.

YiiGuxing avatar YiiGuxing commented on May 13, 2024

@Yves0 这个应该是java版本的问题,你的java版本是不是低于1.7的?这个插件需要java 1.7以上的版本才行呢。

from translationplugin.

YiiGuxing avatar YiiGuxing commented on May 13, 2024

@Yves0 这个问题将在下一个版本修复,请留意版本更新。详情请查看: commit 47fd2af.

from translationplugin.

Yves0 avatar Yves0 commented on May 13, 2024

不好意思,忘记回复了。刚刚看到您的修改是降低了jdk版本,可是我的jdk是1.7啊。

from translationplugin.

YiiGuxing avatar YiiGuxing commented on May 13, 2024

已经上传到插件中心上的包编译还是有问题的,需要重新编译。这要放到下一个版本一起发了,如果你想先用着的话,可以把源码下载下来自己编译一个先用着(可能会有一些小问题)。
需要注意的是:

  • 要用IDEA2016.2以上的版本编译,Android Studio是不能编译的。
  • Java Compiler-Project bytecode version要指定为1.6。位置:preferences > Build > Compiler > Java Compiler。
  • 不要修改插件的版本号,不然后续可能会收不到正式的更新通知。

还有一个办法是将Java升级到1.8版本。

from translationplugin.

Yves0 avatar Yves0 commented on May 13, 2024

好的,thanks

from translationplugin.

Related Issues (20)

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.