0 Favourites

HTML5 Game + Andromo App Maker

  • I ve been making html5 games for website using construct 2. I wanted to make it available on android too so i tried to build it using andromo. I want to use andromo as it is easy to monetize my app using admob ads without any mediation. I uploaded the zip file following all the proper instructions with the main file being index.html and built the app. But when i access it in my app i get an error saying :

    "Exported games won't work until you upload them. (When running on the file:/// protocol, browsers block many features from working for security reasons.)"

    What can i do to make my game run offline using andromo html activity?

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • Open the index file in notepad. Look for this line in the code:

    <script>
    	// Issue a warning if trying to preview an exported project on disk.
    	(function(){
    		// Check for running exported on file protocol
    		if (window.location.protocol.substr(0, 4) === "file")
    		{
    			alert("Exported games won't work until you upload them. (When running on the file:/// protocol, browsers block many features from working for security reasons.)");
    		}
    	})();
    	</script>[/code:e7eqmyc3]
    
    Delete that and that error message will go away. Now I am not sure if bugs will pop up in the future but it will definitely make the error message go away.
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)