Question

[Solved] Exception: Package android does not belong to 2000

I have my Android device connected to my laptop and When I try to run:

adb shell pm set-install-location 2

I am getting this error:

"Package android does not belong to 2000"

What does it means?

How can I fix it?

Enquirer: J19

||

Solution #1:

After “adb devices” just type “adb shell” (enter) then type “su” (enter and accept on the phone display), This enables SuperUser. Now you can type “pm set-install-location 2”
Verify the new destination with “pm get-install-location”

Respondent: Meetai.com

Solution #2:

“Basically speaking: You can’t. At least not without rooting.
The main reasons Android does not allow you to install an application to your external SD card are:

Security: It’s the main reason for that restriction. Basic file systems like NTFS or FAT (any version of it) do not allow for Unix-like permission management.
This means: any application would be able to write to any file on that storage.
Thinking of malicious apps, they would be able to replace proper apps with fake/infected ones, bricking your phone and rendering it unusable.

Volatile storage: Your external SD card is not safe to be inserted in your device all the time. You are able to eject it any time what makes your SD card not a very good candidate for a permanent storage. Consider apps running off of your SD card and you eject it. Those apps will just crash and all other apps saved on your SD card are gone as well. You can’t use them at that time and the data of those app is also affected by reason #1.”

Respondent: Rushang Prajapati

The answers/resolutions are collected from stackoverflow, are licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0 .

Most Popular

To Top
India and Pakistan’s steroid-soaked rhetoric over Kashmir will come back to haunt them both clenbuterol australia bossier man pleads guilty for leadership role in anabolic steriod distribution conspiracy