File file = FileLocator.getBundleFile(bundle).getCanonicalFile(); 转载于:https://www.cnblogs.com/oscar1987121/p/10382808.html