【发布时间】:2021-10-25 00:40:42
【问题描述】:
我尝试在终端中运行 flutter build apk --release 以输出我的 apk,但它在终端中显示 e: java.rmi.NoSuchObjectException: no such object in table 错误,这是终端中的所有命令:
Building with sound null safety
Checking the license for package Android SDK Platform 29 in C:\Newfolder\Sdk\licenses
License for package Android SDK Platform 29 accepted.
Preparing "Install Android SDK Platform 29 (revision: 5)".
"Install Android SDK Platform 29 (revision: 5)" ready.
Installing Android SDK Platform 29 in C:\Newfolder\Sdk\platforms\android-29
"Install Android SDK Platform 29 (revision: 5)" complete.
"Install Android SDK Platform 29 (revision: 5)" finished.
e: java.rmi.NoSuchObjectException: no such object in table
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 304.8s
√ Built build\app\outputs\flutter-apk\app-release.apk (18.1MB).```
【问题讨论】:
-
在终端中运行一次
flutter doctor,然后发布输出 -
我跑了,但它说没有问题
-
我可以知道你到底想做什么?
标签: java android flutter android-studio dart