"Runtime error on start .apk with BLE" again

Hi, all.

Since topic with same title is closed (Runtime error on start .apk with BLE - #14 by Shahvej_Alam) and no solution was presented, I’ve decided to start a new discussion because I’m face the very same problem: app works fine is loaded by Kodular platform but it throws an error message right at the beginning when app was installed on the smartphone:

“runtime error
not connected to a bluetooth low energy device”

Although, app runs normally if you simply ignores the message.

Important to say: at some point of the app development, it started to happen. Same device, same Android version.

I’ve done a lot of tests but I could not find what makes such error message happens.

Any clue?