Required to change the minSdkVersion from 4 to 8 as base64 encode and decode requires minsdkVersion to be more than 8