Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在安卓环境下使用内置函数报错 #334

Closed
wangzhiqinzero opened this issue Dec 23, 2020 · 2 comments
Closed

在安卓环境下使用内置函数报错 #334

wangzhiqinzero opened this issue Dec 23, 2020 · 2 comments

Comments

@wangzhiqinzero
Copy link

wangzhiqinzero commented Dec 23, 2020

作者您好,我在安卓环境下使用Aviator的内置函数执行异常,代码如下:
String expression = "math.sqrt(4)"; Object res = AviatorEvaluator.execute(expression);
产生了如下异常:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.myapplication/com.example.myapplication.MainActivity}: com.googlecode.aviator.exception.CompileExpressionErrorException: define class error
请问这个问题现在有办法解决吗

@killme2008
Copy link
Owner

android 还是不支持。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants