Skip to content

Commit

Permalink
try no-desugaring
Browse files Browse the repository at this point in the history
  • Loading branch information
planetis-m committed Aug 25, 2024
1 parent ff7ce6b commit 09808ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_android.nims
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ task buildAndroid, "Compile and package raylib project for Android":
for f in listFiles(ProjectBuildPath / "obj/com" / AppCompanyName / AppProductName):
if f.endsWith(".class"): quoteShell(f)
exec(AndroidBuildTools / (when defined(windows): "d8.bat" else: "d8") &
" --release --output " & ProjectBuildPath / "bin" &
" " & join(classes, " ") & " --lib " & androidResourcePath)
" --release --no-desugaring --output " & ProjectBuildPath / "bin" &
" " & join(classes, " ")
# Create Android APK package: bin/{ProjectName}.unaligned.apk
let unalignedApkPath = ProjectBuildPath / "bin" / (ProjectName & ".unaligned.apk")
let alignedApkPath = ProjectBuildPath / "bin" / (ProjectName & ".aligned.apk")
Expand Down

0 comments on commit 09808ab

Please sign in to comment.