Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: GridLayout #982

Closed
2 tasks done
jonstudio8 opened this issue May 19, 2023 · 0 comments
Closed
2 tasks done

[Bug]: GridLayout #982

jonstudio8 opened this issue May 19, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jonstudio8
Copy link

What happened?

no error

What's the expected behavior?

GridLayout

What version of AndroidIDE you're using?

v2.4.0 (debug builds)

Relevant log output

AndroidIDE crash report
Manufacturer: samsung
Device: SM-A127M
ABI: arm64-v8a
SDK version: 33
App version: v2.4.1-beta (241)

 Stacktrace: 
java.lang.IllegalArgumentException: row indices (start + span) mustn't exceed the row count. 
	at android.widget.GridLayout.handleInvalidParams(GridLayout.java:861)
	at android.widget.GridLayout.checkLayoutParams(GridLayout.java:875)
	at android.widget.GridLayout.checkLayoutParams(GridLayout.java:892)
	at android.view.ViewGroup.addViewInner(ViewGroup.java:5485)
	at android.view.ViewGroup.addView(ViewGroup.java:5296)
	at android.view.ViewGroup.addView(ViewGroup.java:5236)
	at com.itsaky.androidide.inflater.internal.ViewGroupImpl.addChild(ViewGroupImpl.kt:9)
	at com.itsaky.androidide.uidesigner.drag.WidgetDragListener.onDrag(WidgetDragListener.kt:491)
	at android.view.View.callDragEventHandler(View.java:29017)
	at android.view.View.dispatchDragEvent(View.java:29008)
	at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1856)
	at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1838)
	at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1838)
	at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1838)
	at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1838)
	at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1838)
	at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1838)
	at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1838)
	at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1838)
	at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1838)
	at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1838)
	at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1838)
	at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1838)
	at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1838)
	at android.view.ViewRootImpl.handleDragEvent(ViewRootImpl.java:9477)
	at android.view.ViewRootImpl.-$$Nest$mhandleDragEvent(Unknown Source:0)
	at android.view.ViewRootImpl$ViewRootHandler.handleMessageImpl(ViewRootImpl.java:6845)
	at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:6697)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:226)
	at android.os.Looper.loop(Looper.java:313)
	at android.app.ActivityThread.main(ActivityThread.java:8757)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)

Duplicate issues

  • This issue has not been reported yet.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jonstudio8 jonstudio8 added the bug Something isn't working label May 19, 2023
@itsaky itsaky closed this as completed in 96340f8 May 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant