FilenameToLongPackageName failed to convert ''

Hey, I tried both of these methods but none of them worked for me