Bug on app initializing int.android.view.Menu.size()

Hi, when i open the compiled app on my phone is displayed this error:

TITLE: Runtime Error
DESCRIPTION: Attempt to invoke interface method ‘int.android.view.Menu.size()’ on a null object reference
BUTTON: END APPLICATION

In the project i don’t use any extension.
Can someone help me?
Thanks

Please share the apk/ aia.

In the project there aren’t blocks, so the app is empty

But when i have the apk i can look what the log says. Then i know whats going wrong.
And how looks the designer screen?
Which things are there added?

Whenever i trie to connect to the companion I get this error:

makeroid Attempt to invoke interface method ‘int android.view.Menu.size()’ on a null object reference

Even when I start a complete new project.
Via “live-connection” it first loads then suddenly the companion dissapears into the background. When I trie to move it in front the screen1 appears shortly and then the companion resets. Same via USB connection.
But i still can export my testapp (audio picker, 2 btns, player, metafile, 2 lbls) successfull.
So maybe a bug with the current companion. looking forward to updates!

Edit: I will check with chrome
Edit2: the same error ( Chrome Version 63.0.3239.84 (Offizieller Build) (64-Bit)

makeroid Companion version 2.2.0
makeroid starter v 2
Android 7.0
Firefox 57.0.2 (64-Bit)

I send you later a test apk.
Maybe there it is fixed.

I got it!

Screen orientation must be “portrait”.
Then the companion and also the starter working.
“landscape” “user” or “unspecified” dont work.
maybe a bug in the companion?

Yes, I have the same problem when I change the orientation from Portrait to another. The companion just crash.