Skip to content

v1.1.0

Choose a tag to compare

@ysdragon ysdragon released this 04 Sep 08:12
· 25 commits to master since this release
79a0951

Ring2APK - v1.1.0

One-command Android toolchain setup plus dotted SDK platform support.

Highlights

  • setup-env tool — new interactive tools/setup-env.ring (≈1200 lines) installs JDK, Android SDK (cmdline-tools, platform-tools, platforms, build-tools), NDK, and CMake, then configures JAVA_HOME, ANDROID_HOME, ANDROID_SDK_ROOT, ANDROID_NDK_ROOT, PATH. Supports interactive and non-interactive modes, ships in the package, documented in the README.
  • Dotted SDK platforms — :compileSdk = "37.0" now matches platforms/android-37.0 literally (quoted strings pass through unstripped); a bare major with no exact dir falls back to its base dotted dir (36 → android-36.0). android.jar not found errors now list installed platforms, ~/Android joins the default SDK search locations, and SDK validation tolerates string inputs via NumOrZero.
  • Windows path hardening — all build/init/run/sign path assembly moved to joinPath, and the vendored-Ring exclusion is separator-normalized so hashing and filtering behave on Windows.

Features

  • package — add ring-html and archive package dependencies
  • build — log a message when Java compilation is skipped (no sources)

Fixes

  • config — type-check cApiLevel before string conversion in platform lookup

Refactor

  • paths — replace string concatenation with joinPath across build/init/run/sign

Docs

  • README — setup-env usage instructions
  • cli — remove examples section from help output

Package

  • package.ring ships tools/setup-env.ring and the new ring-html/archive dependencies

Full Changelog: v1.0.1...v1.1.0