I have been looking for the answer for 3 years... and I think I found it.
First, you log in on this page:https://www.netlify.com
you export your game to cordova, upload the www folder. and copy the link of the page that he gave you. then you go to appinventor, you also log in, you create an application and put a webwiver, and in the home url you put the link to the netfily page, export to apk and that's it. It may sound confusing but if you do it it makes sense.