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 2.2k 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

      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
      • IngoI Offline
        Ingo
        last edited by

        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
        • IngoI Offline
          Ingo
          last edited by

          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

            This post is deleted!
            LakotaubpL 1 Reply Last reply Reply Quote 0
            • LakotaubpL Offline
              Lakotaubp @Guy
              last edited by Lakotaubp

              @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

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post