0 votes

When I try to export an APK or AAB in Godot 3.3.3 I get this error message:

Task :copyAndRenameDebugApk FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':copyAndRenameDebugApk'.
    > Could not list contents of directory '/sys/kernel/security/apparmor/policy'.

Could someone help me with this?

Godot version Godot 3.3.3
in Engine by (18 points)

1 Answer

+1 vote

I finally managed to solve this problem. First I removed the project from Godot's splash screen. Then I imported it again and changed the export destination (it seems there was some problem when I tried to overwrite the APK or export the AAB to the same path).

by (18 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.