If you are changing it so you can test locally you should do it differently. Follow the documentation here: https://docs.mendix.com/refguide7/developing-hybrid-mobile-apps
Regards,
Ronald