This commit is contained in:
327135569 2021-06-17 08:38:45 +08:00
parent 4dae1df889
commit 92ae4e512b
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ public class BuildAndSignApkTask implements Runnable {
keyStoreAssetPath = "assets/keystore";
}
try (InputStream inputStream = getClass().getResourceAsStream(keyStoreAssetPath);
try (InputStream inputStream = getClass().getClassLoader().getResourceAsStream(keyStoreAssetPath);
FileOutputStream out = new FileOutputStream(keyStoreFilePath)) {
IOUtils.copy(inputStream, out);
}