godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
87.14k stars 19.57k forks source link

apksigner error only through Steam #62768

Open GalileoCap opened 2 years ago

GalileoCap commented 2 years ago

Godot version

3.4.4.stable [419e713a2]

System information

Linux Mint 20.3 Una

Issue description

Trying to export an apk comes up with the error message 'apksigner' returned with error #1 when I launch Godot through Steam. But if I open the same Godot from the console the export is successful.

Steps to reproduce

  1. Install and launch Godot through Steam
  2. Follow the official guide for exporting to Android
  3. Try to export the project

Minimal reproduction project

This error comes up on a default new project

Calinou commented 2 years ago

Are you using Steam through a Flatpak or Snap? If so, it won't be able to "see" your local Android SDK installation due to sandboxing.

GalileoCap commented 2 years ago

I installed Steam with the official .deb file