external sd – Unable to set removable SD card as the default location using ADB

I have a Sony Xperia (E2303) running Android 6.0.1. I have a 32 GB removable SD card. I got Android to format it. I think it is still a FAT32 file system. I was not given an option to format as internal as ext4.

I tried the suggestion: Installing to SDCard by default in this article by Izzy.

I am not rooted. When I run the command, this is what I get – a permission related issue on a folder created by the Android OS on the SD Card:

$ adb shell pm set-install-location 2
Error: java.lang.SecurityException: Package android does not belong to 2000
$ 

Does anyone have any ideas of what I can do to resolve this?