Troubleshooting
Common Build Issues
Android
Problem: Gradle version mismatch
Problem: Dependency resolution failures
# Solution: Clear Gradle cache
rm -rf ~/.gradle/caches/
./gradlew clean build --refresh-dependencies
iOS
Problem: SPM package resolution fails
Problem: Header generation timeout
Problem: Xcode build fails
Problem: Godot version mismatch when using a custom godot.dir
# The GODOT_VERSION file in the configured directory must match
# the godotVersion property in common/config/config.properties.
# Solution: remove and re-download Godot into the configured directory
./script/build_ios.sh -gG
Problem: Build cannot find Godot headers after setting godot.dir
# Verify the path is set correctly in common/local.properties:
# godot.dir=/your/custom/path
# Then re-generate headers:
./script/build_ios.sh -H
Problem: "No such module" errors
Getting Help
- Check existing GitHub Issues
- Check exısting GitHub Discussions
- Review Godot documentation
- See Google AdMob documentation