java 程序包r不存在_我跟随guide安装出现了 “ 错误: 程序包R不存在 ” 的问题,请高手帮我解答一下,谢谢...

[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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值