遇到打包错误

错误提示

警告

Warning:Exception while processing task Warning:Exception while processing task java.io.IOException: Can't read [C:\Users\xg\AppData\Local\Android\sdk\platforms\android-25\android.jar] (Can't process class [java/text/CollationElementIterator.class] (Unsupported class version number [52.0] (maximum 51.0, Java 1.7)))java.io.IOException: Can't read [C:\Users\xg\AppData\Local\Android\sdk\platforms\android-25\android.jar] (Can't process class [java/text/CollationElementIterator.class] (Unsupported class version number [52.0] (maximum 51.0, Java 1.7)))

错误提示

Error:Execution failed for task ':xgNineBjkjby:transformClassesAndResourcesWithProguardForWRelease'.
> Job failed, see logs for details

解决方式:利用ant重新打包

http://bbs.csdn.net/topics/392084419?list=lz

你可能感兴趣的:(遇到打包错误)