From 7a919e3a378ec515f5ba571d722d619b3168e2a7 Mon Sep 17 00:00:00 2001 From: iAmir Date: Thu, 18 Jan 2024 19:49:07 +0330 Subject: [PATCH] created needed directories before accessing them (#2156) Co-authored-by: MikhailSuendukov <110986399+MikhailSuendukov@users.noreply.github.com> --- android/codepush.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android/codepush.gradle b/android/codepush.gradle index be305bf06..f70156435 100644 --- a/android/codepush.gradle +++ b/android/codepush.gradle @@ -59,6 +59,10 @@ gradle.projectsEvaluated { if (reactBundleTask) { jsBundleDir = reactBundleTask.property('jsBundleDir').asFile.get() resourcesDir = reactBundleTask.property('resourcesDir').asFile.get() + + new File(jsBundleDir).mkdirs() + new File(resourcesDir).mkdirs() + jsBundleFile = file("$jsBundleDir/$bundleAssetName") generateBundledResourcesHash = tasks.create(