Status Update
Comments
ha...@google.com <ha...@google.com>
ac...@google.com <ac...@google.com> #2
Fixed with the following CL (missed tagging this bug):
There will be additional follow up work (handling new mainline versions that fix the issue), but we'll file separate bugs to improve that.
vs...@google.com <vs...@google.com> #3
How To Get Method Tracing Working in Microbench
Options:
1) Flash API 23 through 25
2) Flash API 31 through 33, and disable wifi/network on the device
Not connecting to the network prevents mainline updates. You can validate that your device hasn't taken a problematic mainline version with the following shell command:
adb shell cmd package list packages --show-versioncode --apex-only art
You should see e.g.:
package:com.google.android.art versionCode:320000000
If the first two digits of the version code are less than 34, you're good, method tracing will work and be on by default in microbench.
3) Force Mainline Update with Fix (will be documented later)
ja...@motorolasolutions.com <ja...@motorolasolutions.com> #4
ac...@google.com <ac...@google.com> #5
For our team, I am going to P0 this. It looks like we are getting an NPE every time we check the device's status.
java.lang.NullPointerException
at java.base/java.util.EnumSet.typeCheck(EnumSet.java:401)
at java.base/java.util.RegularEnumSet.add(RegularEnumSet.java:161)
at java.base/java.util.RegularEnumSet.add(RegularEnumSet.java:36)
at java.base/java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
at com.android.tools.idea.gradle.project.model.GradleAndroidModel.getSupportedAbis(GradleAndroidModel.java:385)
at com.android.tools.idea.run.LaunchCompatibilityCheckerImpl.create(LaunchCompatibilityCheckerImpl.java:139)
at com.android.tools.idea.run.deployment.AsyncDevicesGetter.initChecker(AsyncDevicesGetter.java:232)
at com.android.tools.idea.run.deployment.AsyncDevicesGetter.get(AsyncDevicesGetter.java:114)
at com.android.tools.idea.run.deployment.DeviceAndSnapshotComboBoxExecutionTarget.deviceStream(DeviceAndSnapshotComboBoxExecutionTarget.java:67)
at com.android.tools.idea.run.deployment.DeviceAndSnapshotComboBoxExecutionTarget.isApplicationRunning(DeviceAndSnapshotComboBoxExecutionTarget.java:49)
ja...@motorolasolutions.com <ja...@motorolasolutions.com> #6
so...@google.com <so...@google.com> #7
I can reproduce it by appying an invalid abiFilter
like:
ndk {
abiFilter 'zzzz'
}
so...@google.com <so...@google.com> #8
or it can be as simple as abiFilter 'X86'
instead of x86
cm...@google.com <cm...@google.com> #9
I think this is due to my change
cm...@google.com <cm...@google.com> #10
Ah, no it isn't, sorry for the confusion
cm...@google.com <cm...@google.com> #11
This is fixed by
A workaround if you do want to upgrade assuming we understood the problem correctly would be to remove all invalid ABIs from the abiFilters (i.e. only
sa...@google.com <sa...@google.com> #12
so...@google.com <so...@google.com> #13
Chris has already cherry-picked this to Chipmunk: ag/18372473
de...@google.com <de...@google.com> #14
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Dolphin Beta 2 (2021.3.1.11)
- Android Gradle Plugin 7.3.0-beta02
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
[Deleted User] <[Deleted User]> #15
Jjj
[Deleted User] <[Deleted User]> #16
9380724295
Description
Build: AI-212.5712.43.2112.8512546, 202204281627,
AI-212.5712.43.2112.8512546, JRE 11.0.12+7-b1504.28-7817840x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 2400.0x1350.0
AS: Chipmunk | 2021.2.1; Kotlin plugin: 212-1.6.21-release-334-AS5457.46; Android Gradle Plugin: 4.1.0; Gradle: 6.5; Gradle JDK: version 11.0.12; NDK: from local.properties: (not specified), latest from SDK: 22.1.7171670; LLDB: pinned revision 3.1 not found, latest from SDK: (package not found); CMake: from local.properties: (not specified), latest from SDK: 3.18.1-g262b901-dirty, from PATH: (not found)Source: send_feedback_icon
IMPORTANT: Please read