This repository was archived by the owner on Oct 18, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 514
This repository was archived by the owner on Oct 18, 2024. It is now read-only.
[Bug]: TextureView widget crash. #1129
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
App crashed when I drag and drop TextureView widget.
What's the expected behavior?
The app crashes every time when I drag and drop the TextureView widget.
What version of AndroidIDE you're using?
v2.5.0 (debug builds)
Relevant log output
AndroidIDE crash report
Manufacturer: OPPO
Device: CPH1909
ABI: arm64-v8a
SDK version: 27
App version: v2.5.0-beta (250)
Stacktrace:
java.lang.UnsupportedOperationException: TextureView doesn't support displaying a foreground drawable
at android.view.TextureView.setForeground(TextureView.java:353)
at com.itsaky.androidide.uidesigner.fragments.DesignerWorkspaceFragment.setupView$uidesigner_release(Unknown Source:74)
at com.itsaky.androidide.inflater.internal.ViewGroupImpl.addChild(SourceFile:16)
at com.itsaky.androidide.uidesigner.drag.WidgetDragListener.onDrag(Unknown Source:96)
at android.view.View.callDragEventHandler(View.java:23614)
at android.view.View.dispatchDragEvent(View.java:23605)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1730)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1712)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1712)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1712)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1712)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1712)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1712)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1712)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1712)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1712)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1712)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1712)
at android.view.ViewRootImpl.handleDragEvent(ViewRootImpl.java:6701)
at android.view.ViewRootImpl.-wrap9(Unknown Source:0)
at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:4509)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:6977)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:528)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:910)Duplicate issues
- This issue has not been reported yet.
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working