Status Update
Comments
gh...@google.com <gh...@google.com>
jl...@google.com <jl...@google.com>
jg...@google.com <jg...@google.com> #2
Google, я твой рот шатал, хватит косячить!!
da...@2peaches.de <da...@2peaches.de> #3
I can't launch my app on some physical devices with Android Studio 2.3 and Instant Run on .
Disabling instant run can fix the problem for me, but this's not cool..
to...@yahoo.com <to...@yahoo.com> #4
to...@yahoo.com <to...@yahoo.com> #5
br...@icebergsoftworks.com <br...@icebergsoftworks.com> #6
ma...@gmail.com <ma...@gmail.com> #8
da...@gmail.com <da...@gmail.com> #9
ab...@gmail.com <ab...@gmail.com> #10
ja...@gmail.com <ja...@gmail.com> #11
please share gradle version and build tools version and min/max sdk versions to triage this issue.
jg...@google.com <jg...@google.com> #12
There was another issue with TabLayout that has only been fixed in Android Studio Giraffe (see
Please file a new issue if this still does not work for you in Giraffe or newer versions of Studio
pa...@outlook.com <pa...@outlook.com> #13
This is now happening for every single xml preview, including drawables, on Giraffe Patch 2.
Happened out of nowhere, sudden massive CPU use non stop, computer started lagging everywhere, forced kill the app after 10min of this nonsense, restarted and no previews for any layouts show up, no matter which .xml file used, new, old, modified, nothing works for the preview now and no warnings show up either. Already tried clearing cache, restarting pc, cleared build files in the project folder, NOTHING WORKS. This is absolutely bonkers, the ability to preview any XML is completely dead and there is no explanation, warning, or error to explain why it is now stuck like this. Unbelievable.
di...@google.com <di...@google.com> #14
#13 The bug you are experiencing might not be this one. It would help to get the logs and diagnostic information for your particular issue.
If you could report a bug following the instructions in
Thanks
an...@google.com <an...@google.com> #15
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 Hedgehog | 2023.1.1 RC 2
- Android Gradle Plugin 8.2.0-rc02
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!
Description
AI-213.7172.25.2113.9123335, JRE 11.0.13+0-b1751.21-8125866x64 JetBrains s.r.o., OS Mac OS X(aarch64) v12.5, screens 2880.0x1800.0, 5120.0x2880.0; Retina
AS: Dolphin | 2021.3.1 Patch 1
Kotlin plugin: 213-1.7.20-release-for-android-studio-AS6777.52
Android Gradle Plugin: 7.2.2
Gradle: 7.4
Gradle JDK: version 11.0.13
NDK: from local.properties: (not specified), latest from SDK: (not found)
CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)
Sometimes View classes can't be instantiated in in AndroidStudio. I had this problem already with TabLayout and MaterialCardView. Following error message appears:
Failed on instantiate one or more classes
The following classes could not be instantiated:
- com.google.android.material.card.MaterialCardView (Open Class, Show Exception, Clear Cache)
Tip: Use View.isInEditMode() in your custom views to skip code or show sample data when shown in the IDE. If this is an unexpected error you can also try to build the project, then manually refresh the layout.
java.lang.IllegalArgumentException: Motion easing theme attribute must be an @interpolator resource for ?attr/motionEasing*Interpolator attributes or a string for ?attr/motionEasing* attributes.
at com.google.android.material.motion.MotionUtils.resolveThemeInterpolator(MotionUtils.java:74)
at com.google.android.material.card.MaterialCardViewHelper.<init>(MaterialCardViewHelper.java:161)
at com.google.android.material.card.MaterialCardView.<init>(MaterialCardView.java:174)
at com.google.android.material.card.MaterialCardView.<init>(MaterialCardView.java:160)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.jetbrains.android.uipreview.ViewLoader.createNewInstance(ViewLoader.java:351)
at org.jetbrains.android.uipreview.ViewLoader.loadClass(ViewLoader.java:200)
at org.jetbrains.android.uipreview.ViewLoader.loadView(ViewLoader.java:161)
at com.android.tools.idea.rendering.LayoutlibCallbackImpl.loadView(LayoutlibCallbackImpl.java:294)
at android.view.BridgeInflater.loadCustomView(BridgeInflater.java:417)
at android.view.BridgeInflater.loadCustomView(BridgeInflater.java:428)
at android.view.BridgeInflater.createViewFromTag(BridgeInflater.java:332)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:965)
at android.view.LayoutInflater.inflate(LayoutInflater.java:663)
at android.view.LayoutInflater.inflate(LayoutInflater.java:505)
at com.android.layoutlib.bridge.impl.RenderSessionImpl.inflate(RenderSessionImpl.java:359)
at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:436)
at com.android.tools.idea.layoutlib.LayoutLibrary.createSession(LayoutLibrary.java:121)
at com.android.tools.idea.rendering.RenderTask.createRenderSession(RenderTask.java:717)
at com.android.tools.idea.rendering.RenderTask.lambda$inflate$9(RenderTask.java:873)
at com.android.tools.idea.rendering.RenderExecutor$runAsyncActionWithTimeout$3.run(RenderExecutor.kt:192)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
I think this bug has a VERY HIGH priority, AndroidStudio is the industry-standard for android software development.