This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Could not read uploaded file - New APK to deploy

I created a very simple app that just loads a website using webview. 

 

I can side load this APK with no issue and it works.

 

When I try to upload it for deployment in Mobile Control 7.0.1.0, the server generates an error:

 

ERROR [com.sophos.mobilecontrol.server.adminui.appmanagement.appmodelmanager] (default task-1048) could not read uploaded file:

java.lang.ArrayIndexOutOfBoundsException 1480

 

Anyone have any ideas? Thanks!! 



This thread was automatically locked due to age.
Parents
  • My simulator had the version 8 and when I was trying to install a new apk with the same version I was getting the error you mention, so the solution was to increase the versionCode and generate a new apk Myloweslife

    Do it in the build.gradle (Module: App) file

    android {
        defaultConfig {
            versionCode 9          <---
            versionName "1.1.0"    
            ...
        }
        ...
    }
Reply
  • My simulator had the version 8 and when I was trying to install a new apk with the same version I was getting the error you mention, so the solution was to increase the versionCode and generate a new apk Myloweslife

    Do it in the build.gradle (Module: App) file

    android {
        defaultConfig {
            versionCode 9          <---
            versionName "1.1.0"    
            ...
        }
        ...
    }
Children
No Data