我正在尝试评估字符串表达式 12> =(2063 + 2065)&& 12>(2062-2064)为我使用下面的代码,我也添加了jsr223.jar
ScriptEngineManager mgr = new ScriptEngineManager();
ScriptEngine engine = mgr.getEngineByName("JavaScript");
String foo = "12 >=(2063+2065) && 12>(2062-2064)";
Log.e("test","eval "+engine.eval(foo));
但流程错误
java.lang.VerifyError: javax/script/ScriptEngineManager