如果我尝试从Android Studio运行Android模拟器,则会返回错误
Emulator: Couldn't statvfs() path: No such file or directory
通过bash进行操作会再次导致另一个错误,涉及到Java。
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '11.0.3'.
即使我确实安装了Java
~$ java -version
openjdk version "11.0.3" 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu1)
OpenJDK 64-Bit Server VM (build 11.0.3+7-Ubuntu-1ubuntu1, mixed mode, sharing)
在我的环境变量中,我也创建了它。
PATH=/usr/local/jdk1.8.0/bin:$PATH
我正在使用Ubuntu 19.04