Hey Makers,
here i m getting some error with Side Menu Below:
Argument #2 (com.google.appinventor.components.runtime.Maker…) to ‘io.makeroid.companion.Screen1.SideMenu(com.google.appinventor.components.runtime.AndroidViewComponent)’ has wrong type (com.google.appinventor.components.runtime.MakeroidSideMenuLayout) (expected: com.google.appinventor.components.runtime.AndroidViewComponent)
Note: You will not see another error reported for 5 seconds.
and also with the Title Bar Icons when clicked
call to “Screen1$titlebarselected” has too few arguments (1; must be 2)
Please give a solution for both errors
Thanks!
Here Side Menu Blocks:
Here title bar icon’s blocks:
Peter
(Moderator)
October 20, 2018, 4:13pm
#5
Post your aia or send it via pm.
Peter
(Moderator)
October 20, 2018, 4:30pm
#6
You have a warning see the yellow triangle. an empty else if
some of your images are really big. This should be much smaller.
your app builds for me. Didn’t install and test it.
What’s The recommended size for side menu header Image
Peter:
an empty else if
filled the block after i gave u the aia Sorry! i will test it again!
i still have 1 more warning !!! but can’t find it
Peter
(Moderator)
October 20, 2018, 4:49pm
#12
I dont know. You should test that yourself. But this is much to big.
1 Like
and also what about the side menu error i mentions in the first post and also the title bar icon clicked block!
These errors are still there
Peter
(Moderator)
October 20, 2018, 4:52pm
#14
Can not help you with that. Maybe someone else. Be patient, maybe someone knows the answer.
1 Like
it says “wrong type of Side Menu layout” try to change that
use any 16:9 ratio size image
I m using the side menu layout in Makeroid Layouts section.
yusufcihan
(Yusuf Cihan)
October 20, 2018, 5:54pm
#18
Expand all your blocks and click “Show Warnings”
After finding the error you can use “Undo” feature to get back your collapsed blocks.
1 Like
Mika
October 21, 2018, 7:19am
#19
Please show us how you add the side menu…
Iam sure you do it in the complete wrong way…
You dont need to add the side menu layout component to the screen 1 side menu block…
Just create the menu items and it is added automatic…
Maybe @Sander can help you here…
Else search in the community… You are not the first one who wants to have a side menu…
1 Like