Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android export failing on Windows #96762

Closed
devloglogan opened this issue Sep 9, 2024 · 6 comments · Fixed by #96777
Closed

Android export failing on Windows #96762

devloglogan opened this issue Sep 9, 2024 · 6 comments · Fixed by #96777

Comments

@devloglogan
Copy link
Contributor

devloglogan commented Sep 9, 2024

Tested versions

Experienced this bug in:

Bug does not take place in:

  • 4.3-stable

System information

Godot v4.4.dev (d0dc389) - Windows 10.0.22631 - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 4070 (NVIDIA; 31.0.15.3161) - Intel(R) Core(TM) i7-14700K (28 Threads)

Issue description

When attempting to export an XR project to my Quest 3, the export fails and I get the following error:

C:\Users\langl\workspace\godot\editor\export\editor_export_platform.h:227 - Export: Building of Android project failed, check output for the error:
  
The system cannot find the path specified.

Cannot remove non-existent file or directory: C:/Users/langl/AppData/Local/Godot/tmpexport.1725898406.apk

Steps to reproduce

Just export the project to an android device, in my case, from Windows to Quest 3.

Minimal reproduction project (MRP)

I'm testing using the demo project from the OpenXR Vendors Repo.

@AThousandShips

This comment was marked as resolved.

@AThousandShips AThousandShips added this to the 4.4 milestone Sep 9, 2024
@devloglogan
Copy link
Contributor Author

@AThousandShips apologies, added that. In the process of finding the commit that introduced the regression.

@dsnopek
Copy link
Contributor

dsnopek commented Sep 9, 2024

I can reproduce this issue on Windows with d0dc389 (master from yesterday), however, it works fine for me on Linux.

@devloglogan
Copy link
Contributor Author

#91902 seems to be the PR that introduced this issue
cc: @bruvzg

@bruvzg bruvzg self-assigned this Sep 9, 2024
@bruvzg
Copy link
Member

bruvzg commented Sep 10, 2024

Seems like Windows does not like long paths for a .bat scripts.

@akien-mga akien-mga changed the title Android export failing Android export failing on Windows Sep 10, 2024
@akien-mga akien-mga moved this from Unassessed to Immediate Blocker in 4.x Release Blockers Sep 10, 2024
@devloglogan
Copy link
Contributor Author

devloglogan commented Sep 10, 2024

Can confirm #96777 does fix the issue for me! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment