• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Anbox apk install

Scheduled Pinned Locked Moved OS
5 Posts 4 Posters 1.7k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      gallagherd1993
      last edited by 11 Nov 2018, 23:27

      i have been having a heck of time trying to get a apk to install i have been able to install everything onto the nexus 5.

      Copy the apk to /home/phablet/anbox-data/data
      
      Login to android container on your phone
      
          lxc-console -ndefault -P /home/phablet/anbox-data/containers -t0
      
      cd into data/
      
      install the apk by using pm install [appname].apk
      

      the very beginning try copy file never can find the directory... when trying to access the info via file manager not allowed... terminal i can... doing a terminal RM command directories can never be found any help would be great

      1 Reply Last reply Reply Quote 0
      • I Offline
        Ingo
        last edited by 12 Nov 2018, 08:02

        I've done it recently. Let's assume you want to install Spotify and the APK is called "com.spotify.music.apk".

        Then, on your PC in a terminal in the same folder where the APK is located

        adb root
        adb push com.spotify.music.apk /home/phablet/anbox-data/data
        adb shell
        sudo lxc-console -ndefault -P /home/phablet/anbox-data/containers -t0
        cd data
        pm install com.spotify.music.apk
        

        Then, on the phone, refresh the app scope and it should be there.

        1 Reply Last reply Reply Quote 2
        • I Offline
          Ingo
          last edited by 18 Nov 2018, 13:38

          BTW, did you try the official docs: https://docs.ubports.com/en/latest/userguide/dailyuse/anbox.html#how-to-install-new-apks

          After you install android-tools-adb on the phone (described in the docs) the installation of an APK would just require (again: on the phone)

          adb install my-app.apk
          
          1 Reply Last reply Reply Quote 0
          • G Offline
            Guy
            last edited by 22 Jan 2019, 02:03

            This post is deleted!
            L 1 Reply Last reply 22 Jan 2019, 05:29 Reply Quote 0
            • L Offline
              Lakotaubp @Guy
              last edited by Lakotaubp 22 Jan 2019, 05:29

              @guy Please do not post the same question in two places at the same time. It will not get answered any quicker. I have deleted this one and left the other.

              1 Reply Last reply Reply Quote 2
              • First post
                Last post