set ANDROID_HOME=C:\Users\사용자이름\AppData\Local\Android\Sdkgit clone https://github.com/godotengine/godot.git
cd godot
git checkout 4.x요청하신 플래그를 그대로 사용하려면 (단, 사용 중인 Godot 버전이 해당 옵션을 지원해야 함):
scons platform=android target=template_debug generate_android_binaries=yes debug_symbols=yes gradle_do_not_strip=yesSentry 문서에서도 Android export template을 target=template_debug, platform=android, arch=arm32, debug_symbols=yes 옵션으로 컴파일하는 예제를 보여줍니다 .
실제 출시할 빌드라면 template_debug 대신 template_release를 사용하는 것이 좋습니다.
scons platform=android target=template_release generate_android_binaries=yes debug_symbols=yes gradle_do_not_strip=yesscons platform=android target=template_release generate_android_binaries=yes debug_symbols=yes gradle_do_not_strip=yes separate_debug_symbols=yes
Comments
0 comments