我正在尝试使我的项目再次工作(自从Android更新后失败)但我不知道发生了什么。我在网上尝试了很多解决方案,但没有一种适合我。
控制台中有以下错误:
Failed to find target with hash string 'android-27' in: D:\AndroidSDK
Possible cause: Build properties not found for package Android SDK Platform 27
Install missing platform(s) and sync project
如果我按下“安装缺少的平台和同步项目”作为启
NegativeArraySizeException
java.lang.NegativeArraySizeException: -1105
at com.android.volley.toolbox.d.a(DiskBasedCache.java:300)
at com.android.volley.toolbox.d.a(DiskBasedCache.java:115)
at com.android.volley.d.run(CacheDispatcher.java:99)
在Groovy文件中,我从一个字段接收输入,该字段包含用户输入groovy脚本,假设:
def x = a + 5 println x
我将其作为字符串读取,并将其存储在一个变量中,假设我使用以下内容编译了此脚本:Script s = new GroovyShell().parse(script)现在,我想要的是将此对象存储在Oracle DB中。它的用途是,我可以从DB中需要的任何地方获取编译后的代码,并通过将变量绑定到它来运行它,使用如下代码:
Binding b = new Binding().setVariable('a', 5)) s.setBinding(b
在安装OrientDB的过程中,我遇到一个错误,说我没有足够的内存来运行应用程序(根据它的当前配置),并要求我在java上使用命令-Xmx更改应用程序的最大缓存使用内存限制:
2015-11-19 13:28:38:658 WARNI Not enough physical memory available for `enter code here`DISKCACHE: 2.006MB (heap=455MB). Set lower Maximum Heap (-Xmx setting on JVM) and restart OrientDB. Now running with DIS