我试图让 Garmin Connect IQ 在 OSX 上运行但没有成功。我什至尝试构建示例,但不断收到“java.lang.NullPointerException”错误。这就是我正在做的事情:
$ javac -version
java 1.8.0_74
$ monkeyc -v
Connect IQ compiler version 1.2.9
$ cd ~/Garmin/connectiq-sdk-mac-1.2.9/samples/Sensor
$ monkeyc -o Sensor.prg -m manifest.xml
java.lang.NullPointerException
at com.garmin.monkeybrains.compiler.Compiler.assemble(Compiler.java:671)
at com.garmin.monkeybrains.Monkeybrains.runCompiler(Monkeybrains.java:759)
at com.garmin.monkeybrains.Monkeybrains.compileApplication(Monkeybrains.java:557)
at com.garmin.monkeybrains.Monkeybrains.main(Monkeybrains.java:1046)
ERROR:unknown:0: null
WARNING: The app name should reference a string resource using @Strings.AppName
WARNING: The launcher icon should reference a bitmap resource using @Drawables.LauncherIcon
我猜这是简单/基本的东西!
任何指针表示赞赏