App installing error on Android 6.0

Hey everyone! I need some help.
I have an issue on Android 6.0 that if the apk is more than 7-8 MB it reboots my phone when I try to install it.
(It looks like everything is ok but after some seconds the phone starts to lag and after, it reboots.)
Did anyone had this problem before?
(I have to say that I tried to install it on Android 4.4.4 and it works)

Do you have the problem with Makeroid or Thunkable. You have post the same question there.

I tried the project on both

See my answer at the thunkable forum.