install large apk cause "Operation timeout"

Bug #1978908 reported by charles
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Anbox Cloud
Incomplete
Undecided
Gary.Wang

Bug Description

I have a large apk to install, but
"amc application create almostcut" returns:
Error: Operation timeout

below is the info from syslog:
Jun 16 03:09:49 ip-172-31-5-67 systemd[837949]: Started snap.amc.amc.1bb78505-c11c-412c-9f8f-38351c676381.scope.
Jun 16 03:09:49 ip-172-31-5-67 kernel: [734463.272979] audit: type=1400 audit(1655348989.428:1486949): apparmor="DENIED" operation="bind" profile="snap.amc.amc" pid=975499 comm="amc.arm64" family="unix" sock_type="dgram" protocol=0 requested_mask="bind" denied_mask="bind" addr=none
Jun 16 03:14:50 ip-172-31-5-67 systemd[837949]: snap.amc.amc.1bb78505-c11c-412c-9f8f-38351c676381.scope: Succeeded.

this apk is 1.1G large, I noticed this doc:
https://anbox-cloud.io/docs/howto/port/obb-files
states that files larger than 100M need to port with obb, but based on google's document:
https://developer.android.com/google/play/expansion-files
I don't see how to build apk with obb file.

I am using android studio, and able to build aab file, which is used to upload to google play. is there any other way to install large apk file? where could I find the detailed log?

Revision history for this message
Gary.Wang (gary-wzl77) wrote :

Is there any other way to install large apk file?
A: For the large apk file, you could just specify a large `--timeout` flag to overcome the issue of `Operation timeout`, something like:

    $ amc application create --timeout 30m almostcut

BR
Gary

Simon Fels (morphis)
Changed in anbox-cloud:
assignee: nobody → Gary.Wang (gary-wzl77)
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.