Closed beyondckw closed 2 years ago
Could you try adding implementation("androidx.profileinstaller:profileinstaller:1.2.0-alpha01")
as a dependency to your app? You probably already have it as transitive dependency coming with Jetpack Compose. The 1.2.0 version adds support Android 12 + devices.
I already added implementation("androidx.profileinstaller:profileinstaller:1.2.0-alpha02")
Could you give us more details on what device, OS version do you run the benchmarks? Thank you
oneplus a5010 , android 11
same on honor 9c
same on huawei mate 20 pro
It worked after turning off battery optimizations. Hope this helps to others.
Thanks for the info! @tikurahul is this something we could take care of internally?
Huawei mate 20 pro - Adding androidx.profileinstaller:profileinstaller:1.2.0
, turning off battery optimizations and disabling (might stuck the app restart if not) the app launch manager has solved my issue.
It's still happening, even tho I've the dependency added :(
implementation("androidx.profileinstaller:profileinstaller:1.3.1")
Turn off the battery optimisation and it will work.
Even I am facing the same issue,not working with MotoE, OnePlus and Pixel. Could there be any other issue. I am using implementation("androidx.profileinstaller:profileinstaller:1.3.1") with Gradle 8.2
it also seems that debuggable application lead to this error.
I change the compilationMode to CompilationMode.Partial,other the same as origin project AS: bumblebee