[javac] Compiling 8 source files to /Users/ethanwang/mobile/my2/platforms/android/ant-build/classes
[javac] /Users/ethanwang/mobile/my2/platforms/android/src/cn/jpush/phonegap/JPushPlugin.java:341: 错误: 程序包R不存在
[javac] this.cordova.getActivity(), R.layout.test_notification_layout,
[javac] ^
[javac] /Users/ethanwang/mobile/my2/platforms/android/src/cn/jpush/phonegap/JPushPlugin.java:342: 错误: 程序包R不存在
[javac] R.id.icon, R.id.title, R.id.text);
[javac] ^
[javac] /Users/ethanwang/mobile/my2/platforms/android/src/cn/jpush/phonegap/JPushPlugin.java:342: 错误: 程序包R不存在
[javac] R.id.icon, R.id.title, R.id.text);
[javac] ^
[javac] /Users/ethanwang/mobile/my2/platforms/android/src/cn/jpush/phonegap/JPushPlugin.java:342: 错误: 程序包R不存在
[javac] R.id.icon, R.id.title, R.id.text);
[javac] ^
[javac] /Users/ethanwang/mobile/my2/platforms/android/src/cn/jpush/phonegap/JPushPlugin.java:344: 错误: 程序包R不存在
[javac] builder.layoutIconDrawable = R.drawable.jpush_notification_icon;
[javac] ^
[javac] 注: 某些输入文件使用或覆盖了已过时的 API。
[javac] 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
[javac] 5 个错误
BUILD FAILED
/Users/ethanwang/Library/Android/sdk/tools/ant/build.xml:720: The following error occurred while executing this line:
/Users/ethanwang/Library/Android/sdk/tools/ant/build.xml:734: Compile failed; see the compiler error output for details.
Total time: 3 seconds
/Users/ethanwang/mobile/my2/platforms/android/cordova/node_modules/q/q.js:126
throw e;
^
Error code 1 for command: ant with args: debug,-f,/Users/ethanwang/mobile/my2/platforms/android/build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-gen
ERROR building one of the platforms: Error: /Users/ethanwang/mobile/my2/platforms/android/cordova/build: Command failed with exit code 8
You may not have the required environment or OS to build this project