Corona,
edit: I have successfully uploaded a current build to Google Play, it was not rejected.
I can build my app and load it onto my Android device, but it crashes on launch immediately after the Corona Splash Screen displays.
I’ve tried the latest daily build and also the most recent public release.
I did not change my build.settings that worked Nov 3/17.
I have stripped out almost everything from my build settings that I’ve posted below and it still crashes on launch.
It appears Corona is calling the “getCurrentUser()” function and it needs the android.permission.INTERACT_ACROSS_USERS.
My App does not have this funciton.
I have that permission in my build.settings.
Here is log from the console.
BUILD SUCCESSFUL
Total time: 0 seconds
BuildID: 5b691e7ed3ce5
[echo] “creating unsigned.apk”
BUILD SUCCESSFUL
Total time: 7 seconds
Android build succeeded in 37 seconds
Installing and running Yard_Sale_Android_Ver_220 on SM-T113
4371 KB/s (11527857 bytes in 2.575s)
Installing and running Yard_Sale_Android_Ver_220 to SM-T113 successfull!
Starting: Intent { cmp=com.portal5b.register.yardsale/com.ansca.corona.CoronaActivity }
---------- Device Log Starts ----------
SM-T113: mDVFSHelper.acquire()
SM-T113: Permission Denial: getCurrentUser() from pid=17526, uid=10178 requires android.permission.INTERACT_ACROSS_USERS
SM-T113: Permission Denial: getCurrentUser() from pid=17526, uid=10178 requires android.permission.INTERACT_ACROSS_USERS
SM-T113: Platform: SM-T113 / ARM Neon / 4.4.4 / Mali-400 MP / OpenGL ES 2.0 / 2018.3342 / English | US | en_US | en
SM-T113: mDVFSHelper.release()
SM-T113: WARNING: licensing.init() was already called for google.
SM-T113: mDVFSHelper.acquire()
SM-T113: mDVFSHelper.release()
SM-T113: Scheduling restart of crashed service com.android.defcontainer/.DefaultContainerService in 1000ms
SM-T113: Permission Denial: getCurrentUser() from pid=17601, uid=10002 requires android.permission.INTERACT_ACROSS_USERS
SM-T113: mDVFSHelper.acquire()
SM-T113: mDVFSHelper.release()
---------- Device Log Finished ----------
Here are my build.settings
settings = { orientation = { default = "landscapeLeft", supported = { "landscapeLeft", "landscapeRight", }, }, android = { usesPermissions = { "android.permission.INTERACT\_ACROSS\_USERS", "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.WRITE\_EXTERNAL\_STORAGE", "android.permission.ACCESS\_FINE\_LOCATION", "android.permission.ACCESS\_COARSE\_LOCATION", "com.android.vending.CHECK\_LICENSE", }, minSdkVersion = "16", largeHeap = true, }, }
Any ideas? I want to continue allowing older Android devices the ability to use the app if possible.
Nail