Expansion File 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 copied the both of files into my android device and put the obb file under “Android/obb/myPackagefolder” folder (according to some guides), then I launch and install the apk.

Now - when i’m trying to open my application it runs with a black screen. It throw error of images. when I restart my Android device then it works fine.

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”,

              

        },

 

please help me, I spend a lot of time on it… thanks

Regards,

Ashwini 

  1. This is a duplicate post.

  2. This should probably go under the Android discussion here:

https://forums.coronalabs.com/forum/531-android/

Also, you said when you restarted it, it works fine? Try installing the APK again and see if the same error occurs.

  1. This is a duplicate post.

  2. This should probably go under the Android discussion here:

https://forums.coronalabs.com/forum/531-android/

Also, you said when you restarted it, it works fine? Try installing the APK again and see if the same error occurs.