Ubuntu 20.04.2 LTS 上的 Android Studio ICE 语法错误

问题描述

我想将我的 windows android 项目移动到 ubuntu

出现语法错误我正在尝试构建或运行项目:

> Task :project:compileSlice FAILED
/home/maxlye/Documents/project/frameworks/runtime-src/proj.android-studio/app/src/main/slice/ClientDynamicInvoke.ice:1: syntax error
/usr/share/ice/slice/Ice/BuiltinSequences.ice:32: `ByteSeq': a sequence can be defined only at module scope
/usr/share/ice/slice/Ice/BuiltinSequences.ice:35: `ShortSeq': a sequence can be defined only at module scope
/usr/share/ice/slice/Ice/BuiltinSequences.ice:38: `IntSeq': a sequence can be defined only at module scope
/usr/share/ice/slice/Ice/BuiltinSequences.ice:41: `LongSeq': a sequence can be defined only at module scope
/usr/share/ice/slice/Ice/BuiltinSequences.ice:44: `FloatSeq': a sequence can be defined only at module scope
/usr/share/ice/slice/Ice/BuiltinSequences.ice:47: `DoubleSeq': a sequence can be defined only at module scope
/usr/share/ice/slice/Ice/BuiltinSequences.ice:50: `StringSeq': a sequence can be defined only at module scope
/usr/share/ice/slice/Ice/BuiltinSequences.ice:53: `ObjectSeq': a sequence can be defined only at module scope
/usr/share/ice/slice/Ice/BuiltinSequences.ice:56: `ObjectProxySeq': a sequence can be defined only at module scope
/usr/share/ice/slice/Ice/BuiltinSequences.ice:58: syntax error

Execution failed for task ':project:compileSlice'.
> /usr/bin/slice2java failed with exit code: 1

我已经安装了以下依赖项:

zeroc-glacier2/stable,now 3.7.5-1 amd64 [installed,automatic]
zeroc-ice-all-dev/stable,stable,now 3.7.5-1 all [installed]
zeroc-ice-all-runtime/stable,now 3.7.5-1 all [installed]
zeroc-ice-compilers/stable,automatic]
zeroc-ice-slice/stable,now 3.7.5-1 all [installed,automatic]
zeroc-ice-utils/stable,automatic]
zeroc-icebox/stable,automatic]
zeroc-icebridge/stable,automatic]
zeroc-icegrid/stable,automatic]
zeroc-icegridgui/stable,automatic]
zeroc-icepatch2/stable,automatic]

我不知道接下来我能做什么。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...