Fixed
Status Update
Comments
an...@google.com <an...@google.com> #2
Hi, was this a regression after you upgrade your NDK or upgrade your Android Studio?
as...@google.com <as...@google.com> #3
Neither of them. There were no change to AS (4.1-RC1) nor NDK versions.
I just changed my old scripts in build.gradle to the android recommended method i.e.
externalNativeBuild { ndkBuild { path file('jni/Android.mk') } }
If I reverted the change to my old script, everything is working again. The old scripts uses
ndk.dir=/opt/android/android-sdk/ndk-bundle
as defined in local.properties file
The source.properties files indicate the version as:
Pkg.Desc = Android NDK Pkg.Revision = 21.3.6528147
Description
Relevant error in the stacktrace:
To reproduce, clone aosp/3452915 and try to build and run the
RememberRetainedTests
. It seems like something in the method signature ofrememberRetained
is throwing off the compiler? Likely the combination of inline, varargs, default arguments and default composable arguments. Could also have something to do with calling the internal@PublishedApi
?