Storyboard functions in main.lua not being called on device

Hello,

Today I tried to republish an update to my app on Google Play, however I received an error stating from the apk upload:

“You uploaded a debuggable APK”

I was using build 1076. After seeing other people with the same problem I’ve updated to the newest version.

Now I have a different problem. When I run the app in the Windows simulator, it runs fine. When I install it on my phone (HTC DNA) any function call in my main.lua file I try to call (from other scenes) fails to load. This includes event listeners like capturing the android buttons. The functions in question are not local functions. Storyboard variables are being passed from scene to scene. I’ve tried all public builds after 1076 and they all produce the same issue. I then went back to 1076, rebuilt the apk and those function calls work.

Any idea what changed in the newer builds?

Thanks for any help!

Google changed something on their end, and a setting we were putting in the APK file is not compatible with how Google does things now.  This was fixed before the previous public build 1202, so upgrade to 1202 or later and you won’t have this problem.

Rob

Thanks Rob!!

I found out my error…

I had an ads.init function and didn’t realize in the newer build you needed a plugin setting in the build.lua file. This was causing the errors.

Google changed something on their end, and a setting we were putting in the APK file is not compatible with how Google does things now.  This was fixed before the previous public build 1202, so upgrade to 1202 or later and you won’t have this problem.

Rob

Thanks Rob!!

I found out my error…

I had an ads.init function and didn’t realize in the newer build you needed a plugin setting in the build.lua file. This was causing the errors.