godotengine / godotengine/godot

Godot always freezes when I press the export project button for Android using a Gradle build.

Open
#97,049 7 comments 0 reactions 0 assignees View on GitHub
bug needs testing platform:android topic:export
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

Reproducible in: v4.3.stable.official [77dcf97]

### System information

Godot v4.3.stable - macOS 12.5.0 - Vulkan (Mobile) - integrated Apple M2 - Apple M2 (8 Threads)

### Issue description

I am experiencing a freeze crash when trying to export my project to Android using the Gradle build system in Godot. The editor crashes without displaying any error messages, making it difficult to determine whether the issue is due to a configuration mistake or a bug. Even after I close Godot, my Mac overheats

Export Setup Details:

1. JDK:

- Version: OpenJDK 17.0.12
- Runtime Environment: Temurin-17.0.12+7 (build 17.0.12+7)
- JVM: OpenJDK 64-Bit Server VM Temurin-17.0.12+7 (build 17.0.12+7, mixed mode)

2. Android Development Tools:

- Android Studio: 2024.1.1
- Android SDK Platform-Tools: Version 35.0.2
- Android SDK Build-Tools: Version 34.0.0
- Android SDK Platform: Version 34
- Android SDK Command-line Tools: Latest version
- CMake: Version 3.10.2.4988404
- NDK: Version 23.2.8568313

3. config.gradle file in Android Build Template

ext.versions = [

- androidGradlePlugin: '8.2.0',
- compileSdk : 34,
- minSdk : 21,
- targetSdk : 34,
- buildTools : '34.0.0',
- kotlinVersion : '1.9.20',
- fragmentVersion : '1.7.1',
- nexusPublishVersion: '1.3.0',
- javaVersion : JavaVersion.VERSION_17,
- ndkVersion : '23.2.8568313',
- splashscreenVersion: '1.0.1'

]

### Steps to reproduce

1. Open any project in Godot.
2. Go to Project > Export.
3. Select Android and configure the export settings.
4. Enable Gradle Build
6. Click on Export Project.

### Minimal reproduction project (MRP)

N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.