Anybody khow why I am getting this error/warning while designing …
Attempt to invoke virtual method ‘void android.view.ViewGroup.removeView(android.view.View)’ on a null object reference
Anybody khow why I am getting this error/warning while designing …
Attempt to invoke virtual method ‘void android.view.ViewGroup.removeView(android.view.View)’ on a null object reference
Please show us your Blocks and also if you are using any extension then please mention it too
Are you trying to remove any component or view ?
There’s option in View to remove view therefore may be extension developer want to remove the view of parent thats why I asked that
Do two things
One more question
What is Search_View1 and Search_View2
Do you mean Scratch_View?
When the error is coming?
Which block do you suspect that is giving error?
Error is coming when Companion loads all components and Views.
Oh yes, Actually the blocks are blurred therfore it was looking like search view
BTW what’s it and
Have you tried it in apk after compiling
Scratch view giving me this error on companion.
show blocks what are you doing there and try do debug using Do it
method