private static Boolean getReleaseSignature2exist(Context context){\n InputStream inputStream = null;\n try {\n AssetManager assetManager = context.getAssets();\n inputStream = assetManager.open(FILE_NAME_II);\n inputStream.close();\n return true;\n } catch (IOException e) {\n return false;\n }\n}

Java 代码:检查文件是否存在于 Assets 文件夹中

原文地址: https://www.cveoy.top/t/topic/pWRV 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录