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

Uninstalling Apk using Anbox

Scheduled Pinned Locked Moved Support
7 Posts 3 Posters 6.7k Views 1 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.
    • J Offline
      jmarshallh
      last edited by jmarshallh 20 Mar 2019, 23:30

      hi , i'm like a newbie with ubports, so sorry if the question was already asked :
      i managed to install and lauch Apks with anbox,
      but a problem here : how uninstall an app ? because when i do :
      adb uninstall myapk.apk , i ve got an error "don"t find this package" , i installed it from my home/phablets/Downloads but impossible to find it to remove it
      what i m missing ?
      thank you and again sorry for my poor english language
      [EDIT : it seems that few apks seems working ... ]

      1 Reply Last reply Reply Quote 0
      • I Offline
        Ingo
        last edited by 21 Mar 2019, 08:05

        In the doc it says adb uninstall [APP_ID] to uninstall an Android App but it doesn't explain what [APP_ID] is.
        http://docs.ubports.com/en/latest/userguide/dailyuse/anbox.html#how-to-uninstall-apps

        [APP_ID] is not the name of the APK so that won't work. There are different ways to find out this ID, e.g. for Whatsapp: if you look at the app in the play store with your browser, the ID is part of the URL
        https://play.google.com/store/apps/details?id=com.whatsapp

        com.whatsapp in this case is the [APP_ID] , therefore it would be

        adb uninstall com.whatsapp
        
        1 Reply Last reply Reply Quote 3
        • J Offline
          jmarshallh
          last edited by 21 Mar 2019, 14:59

          thanks for the answer, but : i'm trying to uninstall Aptoide apk, which i can't found in PlayStore, so no ID, still searching
          and another : it seems that when i initialized Anbox, some apks installed automatically like Gallery, Email, WebViewPhp , and others even though i did not ask for them , an idea ?
          as always, thank you

          1 Reply Last reply Reply Quote 0
          • I Offline
            Ingo
            last edited by 21 Mar 2019, 15:53

            You can list all installed APP_IDs with

            adb shell pm list packages
            

            That probably gives a lengthy output where you have to look for aptoide, something like

             package:/data/app/<app_id of aptoide>
            
            1 Reply Last reply Reply Quote 1
            • M Offline
              mihael
              last edited by 21 Mar 2019, 22:09

              I uninstalled Anbox apps from Settings (the one from Android - inside Anbox) -> Apps -> click on the specific app and choose Uninstall.

              1 Reply Last reply Reply Quote 2
              • J Offline
                jmarshallh
                last edited by 21 Mar 2019, 22:48

                hi !
                i tried to uninstall apps with Mihael's post : it does not work, i can click on "uninstall" but the app is still here...
                so i tried to list all apps with "adb shell pm list packages"; i can see a lot of apps but none i installed myself ...where are they ?
                still searching, and as always, thank you !

                1 Reply Last reply Reply Quote 0
                • I Offline
                  Ingo
                  last edited by 22 Mar 2019, 07:49

                  When you uninstall an Android app (that removes the app in the android container), the corresponding Ubuntu Touch icon on the app scope will still be there and needs to be removed manually (for now?).
                  Those are stored in /home/phablet/.local/share/applications/ and IIRC all Android apps starter files begin with anbox (or was it android or apk?; you'll get it once you see it 😉 ).

                  1 Reply Last reply Reply Quote 0
                  2 out of 7
                  • First post
                    2/7
                    Last post