I had the same problem with SD Card 1TB, but I just solved thankfully.
I DON'T recoomend to use Disks app, nor Gparted app, it's a big problem.
The steps are following to install exfat-fuse and cryptsetup:
sudo apt-get upgrade && sudo apt-get update
sudo apt-get install exfat-fuse
sudo apt-get install cryptsetup
If the drive gets stuck to be formated because it "is in use", just type:
umount –l /dev/<drive>
There are two options of steps: With or without encryption
A.1. WITHOUT ENCRYPTION: First format the drive, you can check lsblk to find the drive:
sudo mkfs -t exfat /dev/<drive>
A.2. If it was successful and if you can access that drive in a folder, great and the final step is to format with ext4 if you want instead of exFAT:
sudo mkfs -t ext4 /dev/<drive>
B.1. WITH ENCRYPTION: There are steps to encrypt the drive, you can check lsblk to find the drive, type the following command and set a new password, and later type the next command to unlock the drive:
sudo cryptsetup --verbose --verify-passphrase luksFormat /dev/<drive>
sudo cryptsetup luksOpen /dev/<drive> luks
B.2. Check the mapping of the drive:
sudo fdisk -l
B.3. The drive is mapped to /dev/mapper/luks as shown the output of the above command (you can check ls /dev/mapper). Now use the mkfs command, I've tried to create an ext4 filesystem but later I tried to mount and I got a message "bad superblock, bad option or other error", I don't know why. So the only way is to create an exFAT filesystem that is very good.
sudo mkfs -t exfat /dev/mapper/luks
That's all, enjoy it. Good luck!