You cannot install this app because another user has already installed an incompatible version on this device

I have a Samsung Galaxy S9+.
Android Version: 8.0.0

I recently put a micro SD card in it and moved many apps to it.  One of them was Bejeweled Classic by Electronic Arts.  Later I noticed that the icon for it was missing, so I went to download/install it again.  When that happened I got a strange error message: "You cannot install this app because another user has already installed an incompatible version on this device"

NOTE: I cannot find the app on my Installed Applications list.

You cannot install this app because another user has already installed an incompatible version on this device
In the link above someone wrote:
What worked for me was: adb shell pm uninstall com.packagename

I have a Terminal Emulator to try that command, I just need to know the exact packagename.

Question: How do I get a listing of package names in the Terminal Emulator?

Screenshot of error message
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nociSoftware EngineerCommented:
You can lookup the name in google play...
bejeweled gives as url result:

So this would be:
AviationAceSole-ProprietorAuthor Commented:
1|star2qltesq:/ $ pm uninstall
android.os.DeadObjectException: Transaction failed on small parcel;
remote process probably died
        at android.os.BinderProxy.transactNative(Native Method)
        at android.os.BinderProxy.transact(
        at android.os.BinderProxy.shellCommand(
        at Method)
255|star2qltesq:/ $

Open in new window

Can you tell me what went wrong there?

Screen shot of the terminal emulator running the uninstall c ommand
AviationAceSole-ProprietorAuthor Commented:
Can someone throw me a bone here?
5 Ways Acronis Skyrockets Your Data Protection

Risks to data security are risks to business continuity. Businesses need to know what these risks look like – and where they can turn for help.
Check our newest E-Book and learn how you can differentiate your data protection business with advanced cloud solutions Acronis delivers

RobOwner (Aidellio)Commented:
This typically means that another user has installed the incompatible app.  Are you running multiple users on the device?

AviationAceSole-ProprietorAuthor Commented:
No.  Single user  Samsung Galaxy S9+.
The issue happened after I moved apps from internal memory to the SD card.
AviationAceSole-ProprietorAuthor Commented:
Yesterday I had tried something I tried before, but this time it worked.
I went to the Google Play Store in a web browser (as opposed to using the Play Store app on the phone) and told it to install this game on my phone from there.  This time it worked.  I don't know why it worked this time, but it did.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RobOwner (Aidellio)Commented:
That's great. Was it only the one app your having issues with?
AviationAceSole-ProprietorAuthor Commented:
Yup.  The only one.  Weird.
AviationAceSole-ProprietorAuthor Commented:
I never really did get a good explanation of how to use the shell pm uninstall command in this thread.  I needed to know how to get a listing of the package names installed on this device.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.