Android build failed: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.

Start of gradlew log
Running 'gradlew :app:bundleRelease' in /home/expo/workingdir/build/android
2 Downloading https://services.gradle.org/distributions/gradle-7.3.3-all.zip
3 10%.
4 20%.
5 30%.
6 40%
7 50%.
8 60
9 %
10 70%
11 80%.
12 90%.
13 100
14 %
15 Welcome to Gradle 7.3.3!
16 Here are the highlights of this release:
17 - Easily declare new test suites in Java projects
18 - Support for Java 17
19 - Support for Scala 3
20 For more details see https://docs.gradle.org/7.3.3/release-notes.html
21 To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.3.3/userguide/gradle_daemon.html#sec:disabling_the_daemon.
22 Daemon will be stopped at the end of the build
23 Unable to list file systems to check whether they can be watched. Assuming all file systems can be watched. Reason: Could not query file systems: could not open mount file (errno 2: No such file or directory)
24 > Task :react-native-gradle-plugin:compileKotlin
25 'compileJava' task (current target is 1.8) and 'compileKotlin' task (current target is 11) jvm target compatibility should be set to the same Java version.
26 w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (10, 37): 'BaseVariant' is deprecated. Deprecated in Java
27 w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (119, 30): 'BaseVariant' is deprecated. Deprecated in Java
28 w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (135, 26): 'BaseVariant' is deprecated. Deprecated in Java
29 w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (157, 32): 'BaseVariant' is deprecated. Deprecated in Java
30 w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (163, 31): 'BaseVariant' is deprecated. Deprecated in Java
31 w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (171, 36): 'BaseVariant' is deprecated. Deprecated in Java
32 w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactPlugin.kt: (100, 48): 'reactRoot: DirectoryProperty' is deprecated. reactRoot was confusing and has been replace with root to point to your root project and reactNativeDir to point to the folder of the react-native NPM package
33 w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (10, 37): 'ApplicationVariant' is deprecated. Deprecated in Java
34 w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (11, 37): 'BaseVariant' is deprecated. Deprecated in Java
35 w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (12, 37): 'LibraryVariant' is deprecated. Deprecated in Java
36 w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (27, 51): 'BaseVariant' is deprecated. Deprecated in Java
37 w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (130, 12): 'ApplicationVariant' is deprecated. Deprecated in Java
38 w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (131, 12): 'LibraryVariant' is deprecated. Deprecated in Java
39 w: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (251, 14): 'BaseVariant' is deprecated. Deprecated in Java
40 > Task :react-native-gradle-plugin:compileJava
41[stderr] Note: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/java/com/facebook/react/codegen/generator/SchemaJsonParser.java uses or overrides a deprecated API.
42[stderr] Note: Recompile with -Xlint:deprecation for details.
43 > Task :react-native-gradle-plugin:pluginDescriptors
44 > Task :react-native-gradle-plugin:processResources
45 > Task :react-native-gradle-plugin:classes
46 > Task :react-native-gradle-plugin:inspectClassesForKotlinIC
47 > Task :react-native-gradle-plugin:jar
48 > Configure project :expo-application
49 WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the `gradle.properties` file or use the new publishing DSL.
50 > Configure project :expo-constants
51 WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the `gradle.properties` file or use the new publishing DSL.
52 > Configure project :expo-error-recovery
53 WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the `gradle.properties` file or use the new publishing DSL.
54 > Configure project :expo-file-system
55 WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the `gradle.properties` file or use the new publishing DSL.
56 > Configure project :expo-font
57 WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the `gradle.properties` file or use the new publishing DSL.
58 > Configure project :expo-image-loader
59 WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the `gradle.properties` file or use the new publishing DSL.
60 > Configure project :expo-image-picker
61 WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the `gradle.properties` file or use the new publishing DSL.
62 > Configure project :expo-keep-awake
63 WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the `gradle.properties` file or use the new publishing DSL.
64 > Configure project :expo-modules-core
65 WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the `gradle.properties` file or use the new publishing DSL.
66 Checking the license for package CMake 3.18.1 in /home/expo/Android/Sdk/licenses
67 License for package CMake 3.18.1 accepted.
68 Preparing "Install CMake 3.18.1 (revision: 3.18.1)".
69 "Install CMake 3.18.1 (revision: 3.18.1)" ready.
70 Installing CMake 3.18.1 in /home/expo/Android/Sdk/cmake/3.18.1
71 "Install CMake 3.18.1 (revision: 3.18.1)" complete.
72 "Install CMake 3.18.1 (revision: 3.18.1)" finished.
73 > Configure project :expo-splash-screen
74 WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the `gradle.properties` file or use the new publishing DSL.
75 > Configure project :expo
76 Using expo modules
77 - expo-application (4.2.2)
78 - expo-constants (13.2.4)
79 - expo-error-recovery (3.2.0)
80 - expo-file-system (14.1.0)
81 - expo-font (10.2.0)
82 - expo-image-loader (3.2.0)
83 - expo-image-picker (13.3.1)
84 - expo-keep-awake (10.2.0)
85 - expo-modules-core (0.11.4)
86 - expo-splash-screen (0.16.2)
87 WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the `gradle.properties` file or use the new publishing DSL.
88 Checking the license for package Android SDK Build-Tools 30.0.3 in /home/expo/Android/Sdk/licenses
89 License for package Android SDK Build-Tools 30.0.3 accepted.
90 Preparing "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)".
91 "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" ready.
92 Installing Android SDK Build-Tools 30.0.3 in /home/expo/Android/Sdk/build-tools/30.0.3
93 "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" complete.
94 "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" finished.
95 Checking the license for package Android SDK Platform 31 in /home/expo/Android/Sdk/licenses
96 License for package Android SDK Platform 31 accepted.
97 Preparing "Install Android SDK Platform 31 (revision: 1)".
98 "Install Android SDK Platform 31 (revision: 1)" ready.
99 Installing Android SDK Platform 31 in /home/expo/Android/Sdk/platforms/android-31
100 "Install Android SDK Platform 31 (revision: 1)" complete.
101 "Install Android SDK Platform 31 (revision: 1)" finished.
102 WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 33
103 This Android Gradle plugin (7.1.1) was tested up to compileSdk = 32
104 This warning can be suppressed by adding
105 android.suppressUnsupportedCompileSdk=33
106 to this project's gradle.properties
107 The build will continue, but you are strongly encouraged to update your project to
108 use a newer Android Gradle Plugin that has been tested with compileSdk = 33
109 Checking the license for package Android SDK Platform 33 in /home/expo/Android/Sdk/licenses
110 License for package Android SDK Platform 33 accepted.
111 Preparing "Install Android SDK Platform 33 (revision: 2)".
112 "Install Android SDK Platform 33 (revision: 2)" ready.
113 Installing Android SDK Platform 33 in /home/expo/Android/Sdk/platforms/android-33
114 "Install Android SDK Platform 33 (revision: 2)" complete.
115 "Install Android SDK Platform 33 (revision: 2)" finished.
116 The Kotlin Gradle plugin was loaded multiple times in different subprojects, which is not supported and may break the build. 
117 This might happen in subprojects that apply the Kotlin plugins with the Gradle 'plugins { ... }' DSL if they specify explicit versions, even if the versions are equal.
118 Please add the Kotlin plugin to the common parent project or the root project, then remove the versions in the subprojects.
119 If the parent project does not need the plugin, add 'apply false' to the plugin line.
120 See: https://docs.gradle.org/current/userguide/plugins.html#sec:subprojects_plugins_dsl
121 The Kotlin plugin was loaded in the following projects: ':expo', ':expo-modules-core'
122 > Task :app:bundleReleaseJsAndAssets
123 warning: the transform cache was reset.
124 Welcome to Metro!
125 Fast - Scalable - Integrated
126 info Writing bundle output to:, /home/expo/workingdir/build/android/app/build/generated/assets/react/release/index.android.bundle
127 info Writing sourcemap output to:, /home/expo/workingdir/build/android/app/build/generated/sourcemaps/react/release/index.android.bundle.map
128 info Done writing bundle output
129 info Done writing sourcemap output
130 info Copying 30 asset files
131 info Done copying assets
132 > Task :app:generatePackageList
133 > Task :app:preBuild
134 > Task :app:preReleaseBuild
135 > Task :app:mergeReleaseShaders
136 > Task :app:compileReleaseShaders NO-SOURCE
137 > Task :app:generateReleaseAssets UP-TO-DATE
138 > Task :expo:generateExpoModulesPackageList
139 > Task :expo:preBuild
140 > Task :expo:preReleaseBuild
141 > Task :expo:mergeReleaseShaders
142 > Task :expo:compileReleaseShaders NO-SOURCE
143 > Task :expo:generateReleaseAssets UP-TO-DATE
144 > Task :expo:packageReleaseAssets
145 > Task :expo-application:preBuild UP-TO-DATE
146 > Task :expo-application:preReleaseBuild UP-TO-DATE
147 > Task :expo-application:mergeReleaseShaders
148 > Task :expo-application:compileReleaseShaders NO-SOURCE
149 > Task :expo-application:generateReleaseAssets UP-TO-DATE
150 > Task :expo-application:packageReleaseAssets
151 > Task :expo-constants:preBuild UP-TO-DATE
152 > Task :expo-constants:preReleaseBuild UP-TO-DATE
153 > Task :expo-constants:mergeReleaseShaders
154 > Task :expo-constants:compileReleaseShaders NO-SOURCE
155 > Task :expo-constants:createReleaseExpoConfig
156 Execution optimizations have been disabled for task ':expo-constants:createReleaseExpoConfig' to ensure correctness due to the following reasons:
157 - Gradle detected a problem with the following location: '/home/expo/workingdir/build/android'. Reason: Task ':expo-constants:createReleaseExpoConfig' uses this output of task ':app:bundleReleaseJsAndAssets' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
158 - Gradle detected a problem with the following location: '/home/expo/workingdir/build/android'. Reason: Task ':expo-constants:createReleaseExpoConfig' uses this output of task ':app:compileReleaseShaders' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
159 - Gradle detected a problem with the following location: '/home/expo/workingdir/build/android'. Reason: Task ':expo-constants:createReleaseExpoConfig' uses this output of task ':app:mergeReleaseShaders' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
160 > Task :expo-constants:copyReleaseExpoConfig
161 > Task :expo-constants:generateReleaseAssets UP-TO-DATE
162 > Task :expo-constants:packageReleaseAssets
163 > Task :expo-error-recovery:preBuild UP-TO-DATE
164 > Task :expo-error-recovery:preReleaseBuild UP-TO-DATE
165 > Task :expo-error-recovery:mergeReleaseShaders
166 > Task :expo-error-recovery:compileReleaseShaders NO-SOURCE
167 > Task :expo-error-recovery:generateReleaseAssets UP-TO-DATE
168 > Task :expo-error-recovery:packageReleaseAssets
169 > Task :expo-file-system:preBuild UP-TO-DATE
170 > Task :expo-file-system:preReleaseBuild UP-TO-DATE
171 > Task :expo-file-system:mergeReleaseShaders
172 > Task :expo-file-system:compileReleaseShaders NO-SOURCE
173 > Task :expo-file-system:generateReleaseAssets UP-TO-DATE
174 > Task :expo-file-system:packageReleaseAssets
175 > Task :expo-font:preBuild UP-TO-DATE
176 > Task :expo-font:preReleaseBuild UP-TO-DATE
177 > Task :expo-font:mergeReleaseShaders
178 > Task :expo-font:compileReleaseShaders NO-SOURCE
179 > Task :expo-font:generateReleaseAssets UP-TO-DATE
180 > Task :expo-font:packageReleaseAssets
181 > Task :expo-image-loader:preBuild UP-TO-DATE
182 > Task :expo-image-loader:preReleaseBuild UP-TO-DATE
183 > Task :expo-image-loader:mergeReleaseShaders
184 > Task :expo-image-loader:compileReleaseShaders NO-SOURCE
185 > Task :expo-image-loader:generateReleaseAssets UP-TO-DATE
186 > Task :expo-image-loader:packageReleaseAssets
187 > Task :expo-image-picker:preBuild UP-TO-DATE
188 > Task :expo-image-picker:preReleaseBuild UP-TO-DATE
189 > Task :expo-image-picker:mergeReleaseShaders
190 > Task :expo-image-picker:compileReleaseShaders NO-SOURCE
191 > Task :expo-image-picker:generateReleaseAssets UP-TO-DATE
192 > Task :expo-image-picker:packageReleaseAssets
193 > Task :expo-keep-awake:preBuild UP-TO-DATE
194 > Task :expo-keep-awake:preReleaseBuild UP-TO-DATE
195 > Task :expo-keep-awake:mergeReleaseShaders
196 > Task :expo-keep-awake:compileReleaseShaders NO-SOURCE
197 > Task :expo-keep-awake:generateReleaseAssets UP-TO-DATE
198 > Task :expo-keep-awake:packageReleaseAssets
199 > Task :expo-modules-core:preBuild UP-TO-DATE
200 > Task :expo-modules-core:preReleaseBuild UP-TO-DATE
201 > Task :expo-modules-core:mergeReleaseShaders
202 > Task :expo-modules-core:compileReleaseShaders NO-SOURCE
203 > Task :expo-modules-core:generateReleaseAssets UP-TO-DATE
204 > Task :expo-modules-core:packageReleaseAssets
205 > Task :expo-splash-screen:preBuild UP-TO-DATE
206 > Task :expo-splash-screen:preReleaseBuild UP-TO-DATE
207 > Task :expo-splash-screen:mergeReleaseShaders
208 > Task :expo-splash-screen:compileReleaseShaders NO-SOURCE
209 > Task :expo-splash-screen:generateReleaseAssets UP-TO-DATE
210 > Task :expo-splash-screen:packageReleaseAssets
211 > Task :react-native-image-picker:preBuild UP-TO-DATE
212 > Task :react-native-image-picker:preReleaseBuild UP-TO-DATE
213 > Task :react-native-image-picker:mergeReleaseShaders
214 > Task :react-native-image-picker:compileReleaseShaders NO-SOURCE
215 > Task :react-native-image-picker:generateReleaseAssets UP-TO-DATE
216 > Task :react-native-image-picker:packageReleaseAssets
217 > Task :react-native-pager-view:preBuild UP-TO-DATE
218 > Task :react-native-pager-view:preReleaseBuild UP-TO-DATE
219 > Task :react-native-pager-view:mergeReleaseShaders
220 > Task :react-native-pager-view:compileReleaseShaders NO-SOURCE
221 > Task :react-native-pager-view:generateReleaseAssets UP-TO-DATE
222 > Task :react-native-pager-view:packageReleaseAssets
223 > Task :react-native-safe-area-context:preBuild UP-TO-DATE
224 > Task :react-native-safe-area-context:preReleaseBuild UP-TO-DATE
225 > Task :react-native-safe-area-context:mergeReleaseShaders
226 > Task :react-native-safe-area-context:compileReleaseShaders NO-SOURCE
227 > Task :react-native-safe-area-context:generateReleaseAssets UP-TO-DATE
228 > Task :react-native-safe-area-context:packageReleaseAssets
229 > Task :react-native-screens:preBuild UP-TO-DATE
230 > Task :react-native-screens:preReleaseBuild UP-TO-DATE
231 > Task :react-native-screens:mergeReleaseShaders
232 > Task :react-native-screens:compileReleaseShaders NO-SOURCE
233 > Task :react-native-screens:generateReleaseAssets UP-TO-DATE
234 > Task :react-native-screens:packageReleaseAssets
235 > Task :react-native-svg:preBuild UP-TO-DATE
236 > Task :react-native-svg:preReleaseBuild UP-TO-DATE
237 > Task :react-native-svg:mergeReleaseShaders
238 > Task :react-native-svg:compileReleaseShaders NO-SOURCE
239 > Task :react-native-svg:generateReleaseAssets UP-TO-DATE
240 > Task :react-native-svg:packageReleaseAssets
241 > Task :react-native-webview:preBuild UP-TO-DATE
242 > Task :react-native-webview:preReleaseBuild UP-TO-DATE
243 > Task :react-native-webview:mergeReleaseShaders
244 > Task :react-native-webview:compileReleaseShaders NO-SOURCE
245 > Task :react-native-webview:generateReleaseAssets UP-TO-DATE
246 > Task :react-native-webview:packageReleaseAssets
247 > Task :app:mergeReleaseAssets
248 > Task :app:copyReleaseBundledJs
249 > Task :expo:packageReleaseRenderscript NO-SOURCE
250 > Task :expo-application:packageReleaseRenderscript NO-SOURCE
251 > Task :expo-constants:packageReleaseRenderscript NO-SOURCE
252 > Task :expo-error-recovery:packageReleaseRenderscript NO-SOURCE
253 > Task :expo-file-system:packageReleaseRenderscript NO-SOURCE
254 > Task :expo-font:packageReleaseRenderscript NO-SOURCE
255 > Task :expo-image-loader:packageReleaseRenderscript NO-SOURCE
256 > Task :expo-image-picker:packageReleaseRenderscript NO-SOURCE
257 > Task :expo-keep-awake:packageReleaseRenderscript NO-SOURCE
258 > Task :expo-modules-core:packageReleaseRenderscript NO-SOURCE
259 > Task :expo-splash-screen:packageReleaseRenderscript NO-SOURCE
260 > Task :react-native-image-picker:packageReleaseRenderscript NO-SOURCE
261 > Task :react-native-pager-view:packageReleaseRenderscript NO-SOURCE
262 > Task :react-native-safe-area-context:packageReleaseRenderscript NO-SOURCE
263 > Task :react-native-screens:packageReleaseRenderscript NO-SOURCE
264 > Task :react-native-svg:packageReleaseRenderscript NO-SOURCE
265 > Task :react-native-webview:packageReleaseRenderscript NO-SOURCE
266 > Task :app:compileReleaseRenderscript NO-SOURCE
267 > Task :app:generateReleaseResValues
268 > Task :app:generateReleaseResources
269 > Task :expo:compileReleaseRenderscript NO-SOURCE
270 > Task :expo:generateReleaseResValues
271 > Task :expo:generateReleaseResources
272 > Task :expo:packageReleaseResources
273 > Task :expo-application:compileReleaseRenderscript NO-SOURCE
274 > Task :expo-application:generateReleaseResValues
275 > Task :expo-application:generateReleaseResources
276 > Task :expo-application:packageReleaseResources
277 > Task :expo-constants:compileReleaseRenderscript NO-SOURCE
278 > Task :expo-constants:generateReleaseResValues
279 > Task :expo-constants:generateReleaseResources
280 > Task :expo-constants:packageReleaseResources
281 > Task :expo-error-recovery:compileReleaseRenderscript NO-SOURCE
282 > Task :expo-error-recovery:generateReleaseResValues
283 > Task :expo-error-recovery:generateReleaseResources
284 > Task :expo-error-recovery:packageReleaseResources
285 > Task :expo-file-system:compileReleaseRenderscript NO-SOURCE
286 > Task :expo-file-system:generateReleaseResValues
287 > Task :expo-file-system:generateReleaseResources
288 > Task :expo-file-system:packageReleaseResources
289 > Task :expo-font:compileReleaseRenderscript NO-SOURCE
290 > Task :expo-font:generateReleaseResValues
291 > Task :expo-font:generateReleaseResources
292 > Task :expo-font:packageReleaseResources
293 > Task :expo-image-loader:compileReleaseRenderscript NO-SOURCE
294 > Task :expo-image-loader:generateReleaseResValues
295 > Task :expo-image-loader:generateReleaseResources
296 > Task :expo-image-loader:packageReleaseResources
297 > Task :expo-image-picker:compileReleaseRenderscript NO-SOURCE
298 > Task :expo-image-picker:generateReleaseResValues
299 > Task :expo-image-picker:generateReleaseResources
300 > Task :expo-image-picker:packageReleaseResources
301 > Task :expo-keep-awake:compileReleaseRenderscript NO-SOURCE
302 > Task :expo-keep-awake:generateReleaseResValues
303 > Task :expo-keep-awake:generateReleaseResources
304 > Task :expo-keep-awake:packageReleaseResources
305 > Task :expo-modules-core:compileReleaseRenderscript NO-SOURCE
306 > Task :expo-modules-core:generateReleaseResValues
307 > Task :expo-modules-core:generateReleaseResources
308 > Task :expo-modules-core:packageReleaseResources
309 > Task :expo-splash-screen:compileReleaseRenderscript NO-SOURCE
310 > Task :expo-splash-screen:generateReleaseResValues
311 > Task :expo-splash-screen:generateReleaseResources
312 > Task :expo-splash-screen:packageReleaseResources
313 > Task :react-native-image-picker:compileReleaseRenderscript NO-SOURCE
314 > Task :react-native-image-picker:generateReleaseResValues
315 > Task :react-native-image-picker:generateReleaseResources
316 > Task :react-native-image-picker:packageReleaseResources
317 > Task :react-native-pager-view:compileReleaseRenderscript NO-SOURCE
318 > Task :react-native-pager-view:generateReleaseResValues
319 > Task :react-native-pager-view:generateReleaseResources
320 > Task :react-native-pager-view:packageReleaseResources
321 > Task :react-native-safe-area-context:compileReleaseRenderscript NO-SOURCE
322 > Task :react-native-safe-area-context:generateReleaseResValues
323 > Task :react-native-safe-area-context:generateReleaseResources
324 > Task :react-native-safe-area-context:packageReleaseResources
325 > Task :react-native-screens:compileReleaseRenderscript NO-SOURCE
326 > Task :react-native-screens:generateReleaseResValues
327 > Task :react-native-screens:generateReleaseResources
328 > Task :react-native-screens:packageReleaseResources
329 > Task :react-native-svg:compileReleaseRenderscript NO-SOURCE
330 > Task :react-native-svg:generateReleaseResValues
331 > Task :react-native-svg:generateReleaseResources
332 > Task :react-native-svg:packageReleaseResources
333 > Task :react-native-webview:compileReleaseRenderscript NO-SOURCE
334 > Task :react-native-webview:generateReleaseResValues
335 > Task :react-native-webview:generateReleaseResources
336 > Task :react-native-webview:packageReleaseResources
337 > Task :app:mergeReleaseResources FAILED
338 Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
339 You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
340 See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings
341 Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
342 Please consult deprecation warnings for more details.
343 84 actionable tasks: 84 executed
344 Unable to list file systems to check whether they can be watched. The whole state of the virtual file system has been discarded. Reason: Could not query file systems: could not open mount file (errno 2: No such file or directory)
345[stderr] FAILURE: Build failed with an exception.
346[stderr] * What went wrong:
347[stderr] Execution failed for task ':app:mergeReleaseResources'.
348[stderr] > A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable
349[stderr] > Android resource compilation failed
350[stderr] ERROR:/home/expo/workingdir/build/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: AAPT: error: failed to read PNG signature: file does not start with PNG signature.
351[stderr]
352[stderr] ERROR:/home/expo/workingdir/build/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: AAPT: error: file failed to compile.
353[stderr]
354[stderr] * Try:
355[stderr] > Run with --stacktrace option to get the stack trace.
356[stderr] > Run with --info or --debug option to get more log output.
357[stderr] > Run with --scan to get full insights.
358[stderr] * Get more help at https://help.gradle.org
359[stderr] BUILD FAILED in 3m 45s
360 Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.
  "dependencies": {
    "@apollo/client": "^3.7.0-beta.6",
    "@react-navigation/bottom-tabs": "^6.3.3",
    "@react-navigation/material-top-tabs": "^6.2.4",
    "@react-navigation/native": "^6.0.12",
    "@react-navigation/native-stack": "^6.8.0",
    "expo": "~46.0.9",
    "expo-font": "~10.2.0",
    "expo-image-picker": "~13.3.1",
    "expo-status-bar": "~1.4.0",
    "firebase": "^9.10.0",
    "install": "^0.13.0",
    "link": "^1.5.1",
    "nachos-ui": "^0.2.0-beta.1",
    "npm": "^8.18.0",
    "react": "18.0.0",
    "react-dom": "18.0.0",
    "react-native": "0.69.5",
    "react-native-flash-message": "^0.3.1",
    "react-native-image-modal": "1.0.16",
    "react-native-image-picker": "^4.10.0",
    "react-native-image-slider-banner": "^1.0.2",
    "react-native-image-view": "^2.1.9",
    "react-native-pager-view": "^6.0.0",
    "react-native-safe-area-context": "4.3.1",
    "react-native-screens": "~3.15.0",
    "react-native-svg": "12.3.0",
    "react-native-tab-view": "^3.1.1",
    "react-native-web": "0.13.12",
    "react-native-webview": "11.6.2",
    "uuid": "^9.0.0"
  }

Hi @nazrul

I’ve edited your post to make it more manageable. The relevant details are from line 337 onwards, but really from line 345.

The above is the actual problem. It looks like your app icon is not actually a PNG.

While this is not likely to be causing your problem I think you probably shouldn’t have npm as a dependency of your project.

1 Like