Your problem is Android 10 and Companion 2.59. You can use an Android 9 and lower and get back where you were; to continue to use Android 10 follow the advice here>
Mixing and matching code on offline versions of App Inventor aia's with online probably exasperates the problem.
Try the advice in the link. There are several different 'solutions'. You should be ok once you realize certain files are no longer accessible from where they used to be accessible prior to the latest changes necessitated by Google's latest requirements for GooglePlay.
Regards,
Steve