black screen Issue

Hi Everyone,

 

I’m building a game for mobile devices with corona sdk, its working fine on IOS device and now I want to install it on android device.

 

I’m trying to install my app on android device and because my app is large than 50mb, the corona split it into apk and obb files.

 

apk = 7mb, obb = 153mb

 

I uploaded my files on google store, then I launch and install the apk.

Now - when i’m trying to open my application it runs with a black screen with no error. I found that its works fine on Android 4.0.4 and 5.1.1 but the problem only occurs at Android 6.0.1.

 

these are the following permission I am using to build .apk

 android =

    {

     usesExpansionFile = true,

        usesPermissions =

        {

        

            “android.permission.INTERNET”,

            

            “android.permission.CAMERA”,

            “android.permission.WRITE_EXTERNAL_STORAGE”,

              “android.permission.READ_EXTERNAL_STORAGE”,

              

        },

 

 

In config.lua I use image suffix

 

imageSuffix =

{

["@2x"] = 0.5,

   ["@1x"] = 0.2,

  

},

  

 

please advise

Thanks and Regards,

Ashwini 

Do you see any errors in Console?

Looks like you do not have some permissions. Please note that starting from Android 6.0 you should ask dangerous permissions in runtime. Check with our blog post about it and visit our documentation page to know how to implement that properly

https://coronalabs.com/blog/2016/02/16/introducing-new-android-6-features/

https://docs.coronalabs.com/api/library/native/showPopup.html#requestapppermission

I am getting this problem but on 7.0, I have it working fine on 6.01

The same version uploaded to the google store works on 6.01 but on 7.0 I get the black screen, has anything changed?

Do you see any errors in Console?

Looks like you do not have some permissions. Please note that starting from Android 6.0 you should ask dangerous permissions in runtime. Check with our blog post about it and visit our documentation page to know how to implement that properly

https://coronalabs.com/blog/2016/02/16/introducing-new-android-6-features/

https://docs.coronalabs.com/api/library/native/showPopup.html#requestapppermission

I am getting this problem but on 7.0, I have it working fine on 6.01

The same version uploaded to the google store works on 6.01 but on 7.0 I get the black screen, has anything changed?