Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

[Bug]: TextureView widget crash. #1129

Closed
2 tasks
MohitKashyapUK opened this issue Jul 18, 2023 · 0 comments
Closed
2 tasks

[Bug]: TextureView widget crash. #1129

MohitKashyapUK opened this issue Jul 18, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@MohitKashyapUK
Copy link

MohitKashyapUK commented Jul 18, 2023

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant