[error] SDK 36 with turtle updated

Hi folks.

I have the sdk 36 e and an updated turtle-cli, but im facing the following error when i try to generate apk with turtle.

Download log & error

Best,
Alex

It looks like this is the relevant info from that log. Unfortunately I don’t know what’s wrong, but it seems there’s a problem running aapt2:

[...]
Dec 30 18:06:05 turtle[21350] INFO:  > Task :expo-ads-admob:verifyReleaseResources
Dec 30 18:06:05 turtle[21350] INFO:   FAILED
Dec 30 18:06:09 turtle[21350] INFO:  > Task :app:mergeReleaseResources
Dec 30 18:06:09 turtle[21350] INFO:   FAILED
Dec 30 18:06:09 turtle[21350] INFO:  FAILURE: Build completed with 2 failures.
Dec 30 18:06:09 turtle[21350] INFO:  1: Task failed with an exception.
Dec 30 18:06:09 turtle[21350] INFO:  -----------
Dec 30 18:06:09 turtle[21350] INFO:  * What went wrong:
Dec 30 18:06:09 turtle[21350] INFO:  Execution failed for task ':expo-ads-admob:verifyReleaseResources'.
Dec 30 18:06:09 turtle[21350] INFO:  > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Dec 30 18:06:09 turtle[21350] INFO:     > AAPT2 aapt2-3.5.1-5435860-osx Daemon #0: Daemon startup failed
Dec 30 18:06:09 turtle[21350] INFO:       This should not happen under normal circumstances, please file an issue if it does.
Dec 30 18:06:09 turtle[21350] INFO:  * Try:
Dec 30 18:06:09 turtle[21350] INFO:  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Dec 30 18:06:09 turtle[21350] INFO:  ==============================================================================
Dec 30 18:06:09 turtle[21350] INFO:  2: Task failed with an exception.
Dec 30 18:06:09 turtle[21350] INFO:  -----------
Dec 30 18:06:09 turtle[21350] INFO:  * What went wrong:
Dec 30 18:06:09 turtle[21350] INFO:  Execution failed for task ':app:mergeReleaseResources'.
Dec 30 18:06:09 turtle[21350] INFO:  > Multiple task action failures occurred:
Dec 30 18:06:09 turtle[21350] INFO:     > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Dec 30 18:06:09 turtle[21350] INFO:        > AAPT2 aapt2-3.5.1-5435860-osx Daemon #127: Daemon startup failed
Dec 30 18:06:09 turtle[21350] INFO:          This should not happen under normal circumstances, please file an issue if it does.
Dec 30 18:06:09 turtle[21350] INFO:  * Try:
Dec 30 18:06:09 turtle[21350] INFO:  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Dec 30 18:06:09 turtle[21350] INFO:  ==============================================================================
Dec 30 18:06:09 turtle[21350] INFO:  * Get more help at 
Dec 30 18:06:09 turtle[21350] INFO:  https://help.gradle.org
Dec 30 18:06:09 turtle[21350] INFO:  BUILD FAILED in 1m 1s
Dec 30 18:06:09 turtle[21350] INFO:  43 actionable tasks: 43 executed

============================ERROR==============================

Dec 30 16:08:15 turtle[17862] ERROR: Error: ./gradlew exited with non-zero code: 1
    at ChildProcess.completionListener (/usr/local/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:65:13)
    at Object.onceWrapper (events.js:286:20)
    at ChildProcess.emit (events.js:198:13)
    at ChildProcess.EventEmitter.emit (domain.js:448:20)
    at maybeClose (internal/child_process.js:982:16)
    at Socket.stream.socket.on (internal/child_process.js:389:11)
    at Socket.emit (events.js:198:13)
    at Socket.EventEmitter.emit (domain.js:448:20)
    at Pipe._handle.close (net.js:606:12)
    ...
    at spawnAsync (/usr/local/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:26:19)
    at spawnAsyncThrowError (/@expo/xdl@57.4.0/src/detach/ExponentTools.ts:132:19)
    at buildShellAppAsync (/@expo/xdl@57.4.0/src/detach/AndroidShellApp.js:1240:11)
  platform: "android"
Dec 30 16:08:15 turtle[17862] ERROR: Failed to build standalone app
  err: Error: ./gradlew exited with non-zero code: 1
      at ChildProcess.completionListener (/usr/local/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:65:13)
      at Object.onceWrapper (events.js:286:20)
      at ChildProcess.emit (events.js:198:13)
      at ChildProcess.EventEmitter.emit (domain.js:448:20)
      at maybeClose (internal/child_process.js:982:16)
      at Socket.stream.socket.on (internal/child_process.js:389:11)
      at Socket.emit (events.js:198:13)
      at Socket.EventEmitter.emit (domain.js:448:20)
      at Pipe._handle.close (net.js:606:12)
      ...
      at spawnAsync (/usr/local/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:26:19)
      at spawnAsyncThrowError (/@expo/xdl@57.4.0/src/detach/ExponentTools.ts:132:19)
      at buildShellAppAsync (/@expo/xdl@57.4.0/src/detach/AndroidShellApp.js:1240:11)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.