在unity导入穿山甲SDK后,打包apk时报了一个错误:mainTemplate.gradle file is using the old aaptOptions noCompress property definition which does not include types defined by unityStreamingAssets constant.
解决办法:在mainTemplate以下位置加入代码: noCompress = ['.ress', '.resource', '.obb'] + unityStreamingAssets.tokenize(', '),即可打包成功;