Open ghost opened 6 years ago
This is the translated issue:
Macaca coverage -r java -f ./coverage.exec -c ./android_app_bootstrap/build/intermediates/classes/debug -s ./android_app_bootstrap/src/main/java --html ./reporter
please confirm java is installed, https://macacajs.github.io/coverage helper.js:34:12 [master] pid:2592 command not found: java
When I run the macaca coverage command, I declare that it is installed, https://macacajs.github.io/coverage , Is that my java environment variable is wrong, I can directly knock java in the command line window, not my java environment variable problem.
Macaca Version:
macaca -v 2.1.2
Macaca Doctor Logs:
macaca doctor
Macaca-doctor version: 2.0.14
Node.js checklist:
Node env: C:\Program Files\nodejs\node.exe Node version: v8.11.1
Android checklist:
JAVA version is 1.8
JAVA_HOME is set to C:\Program Files\Java\jdk1.8.0_151
ANDROID_HOME is set to E:\sdk
Platforms is set to E:\sdk\platforms\android-9
ADB tool is set to E:\sdk\platform-tools\adb.exe
GRADLE_HOME is set to D:\gradle-4.3.1
Installed driver list:
Android: 2.0.47
Operate System: Win10 Professional Edition
Programming Language: Android
macaca coverage -r java -f ./coverage.exec -c ./android_app_bootstrap/build/intermediates/classes/debug -s ./android_app_bootstrap/src/main/java --html ./reporter
当我运行macaca coverage命令时,报please confirm java is installed, https://macacajs.github.io/coverage ,是说我的java环境变量不对吗,我在命令行窗口直接敲java都可以的,不是我java环境变量的问题。
Macaca Version:
Macaca Doctor Logs:
macaca-doctor version: 2.0.14
Node.js checklist:
node env: C:\Program Files\nodejs\node.exe node version: v8.11.1
Android checklist:
JAVA version is
1.8
JAVA_HOME is set toC:\Program Files\Java\jdk1.8.0_151
ANDROID_HOME is set toE:\sdk
Platforms is set toE:\sdk\platforms\android-9
ADB tool is set toE:\sdk\platform-tools\adb.exe
GRADLE_HOME is set toD:\gradle-4.3.1
Installed driver list:
android: 2.0.47
Operate System: win10专业版
Programming Language: android