Failed to recompile android resource files. See the Console for Details [Build fail]

When building my android game I get 3 errors:

error 1: Failed to compile resources with the following parameters: -bootclasspath "C:/Users/kevin/AppData/Local/Android/sdk\platforms\android-23\android.jar" -d "D:\Unity Projects\Simple Pickup Game\Temp\StagingArea\bin\classes" -source 1.6 -target 1.6 -encoding UTF-8 "com\KevinCreates\MobileGame\R.java" "com\unity3d\ads\R.java" warning: [options] source value 1.6 is obsolete and will be removed in a future release warning: [options] target value 1.6 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings

UnityEditor.HostView:OnGUI()



For me I downgraded from JDK 9 to JDK 8 and that helped me. You might want to try it out. Hope it helps you.


这个操作没问题,就是JDK版本太高了...

下载地址

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值