Application does not install in release mode when sent to server

Asked

Viewed 36 times

1

I have an instance on Amazon EC2 that using PHP upload of an APK. I created a MIME-TYPE mapping the .apk with application/vnd.android.package-archive, and also editing the .htaccess inserting a type this way below:

AddType application/vnd.android.package-archive .apk

The problem is that when I send a .apk on-mode debug works normally, but when I do upload of the mode application release, does the download correctly, however at the time of installation displays a message that does not recognize the downloaded package.

To make upload of the file use the method move_upload_file, thus below:

move_uploaded_file($_FILES['fileUpload']['tmp_name'], $dir.$namefile)

Does anyone have any idea what might be going on? Is there any other configuration that should be performed in the application in release mode to install correctly? You need to make some specific configuration when sending the file?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.