When attempting to upload our apk file, the server responds back with simply
"File HelloWorld.apk file not uploaded"
Nothing is logged in trace.log in relation to this upload, so not able to see any type of log message to diagnose further. How do you enable logging for this?
Is there a timeout, or file upload size limit? If so, how/where do you change that? The HelloWorld.apk file size is 5.6MB
There is indeed a filesize limit, but it is imposed by MySQL by default (1MB). If you are using MySQL 5.1 or 5.5 (5.6 is not supported in Worklight 5.0.x). follow these steps:
- Locate the file
my.ini
belonging to your MySQL installation
- In it, find the section
[mysqld]
- Underneath the section name, paste this:
max_allowed_packet=1000M
- Re-start the MySQL service
- Re-deploy the .apk file
You may need to re-start the application server running Application Center as well.