Skip to content

CodeAssist 3.44.0

Choose a tag to compare

@tyron12233 tyron12233 released this 10 Nov 06:07
· 479 commits to main since this release

🚀 CodeAssist 3.44.0

SMALLER APP

  • CodeAssist itself is now shrunk and optimized for release: the APK is about 50 MB smaller (241 MB, was 292 MB)

FASTER BUILDS

  • A new app's first build is several times faster: CodeAssist now downloads its libraries already converted for Android instead of converting them on your phone. On a small 2 GB test phone, a new Jetpack Compose app's first build went from about 1.5 minutes to about 10 seconds
  • The download starts as soon as a project's libraries are known, so it is usually done before you press Run
  • Edit and run is faster too: packaging only rewrites what changed, and Android's resource classes (R) are much smaller in new projects
  • New setting: Settings → Build Runtime → Download prebuilt libraries (Automatically / Wi-Fi only / Off)

FASTER EDITOR

  • Code completion for libraries is ready sooner: library indexes, including parameter names and docs, are downloaded instead of built on your phone
  • Fixed: after installing or updating CodeAssist, the first project could spend over a minute indexing Android's own classes again
  • Indexing and downloads now wait while a build runs, so they no longer slow it down
  • CodeAssist re-indexes your libraries once after this update

NEW PROJECTS

  • New Jetpack Compose and Material You projects start at Android 8.0 (API 26); lower versions are still available in the project form
  • New projects use per-library R classes (android.nonTransitiveRClass, the Android Gradle Plugin default): a library's resources are read through that library's package, like androidx.appcompat.R.attr.colorPrimary. Existing projects are unchanged; turn it on under the module's settings
  • Gradle projects follow android.nonTransitiveRClass from gradle.properties

SETTINGS

  • Build Runtime shows settings that were hidden before: Low memory mode, Forward app logs and the Kotlin compiler options

FIXES

  • The build no longer lists dozens of harmless warnings from converting libraries (D8)
  • Projects below Android 8.0: libraries are converted against the Kotlin standard library and coroutines again (they were left out, so some library code could be converted incorrectly)
  • KSP (Room and other annotation processors): a failed run says why
  • A Kotlin compiler crash names its cause
  • Compose preview of a brand-new project no longer gets stuck on "Text candidates=0" while its libraries load
  • Compiling on low-memory devices with Android 11 or older no longer crashes
  • Tapping a bottom-bar label opens its item
  • A running program's window can be read by screen readers

Full changelog: https://github.com/tyron12233/CodeAssist/releases/tag/v3.44.0