4ian / GDevelop

🎮 Open-source, cross-platform 2D/3D/multiplayer game engine designed for everyone.
https://gdevelop.io
Other
10.81k stars 848 forks source link

Android export problem #886

Closed triloute closed 5 years ago

triloute commented 5 years ago

Hello there. Lizard told me to ask for help here. I converted my gdevelop4 project into a gdevelop5 one. Then resolved a few bugs and tried to export my project to an apk with gdevelop but.... The download link provided at the end of the process provide me a zip file called "mygame. Zip" and inside 3 folders called "assets" "meta-inf" and "res". And 3 files called "classes. Dex" "resources. Arc" and "androidmanifest. Xml"... :?: And when i look in gdevelop "all your builds" the project is tagged as "cordova build" And more important of course: NO APK Oh and i used the right tool to export to android... The first one in gdevelop... I did 4 tries... Any idea?

zatsme commented 5 years ago

That zip is the APK try to rename it and install. Not sure why it didn't download as apk extension though? 🤔

4ian commented 5 years ago

Zatsme must be correct. What's the name of the file when you download it?

triloute commented 5 years ago

Install successful after i renamed the file on my phone. I renamed the file on my computer at first but after the transfer it was "mygame.apk.zip" so i have to tename it again. But i think it's still a bug...

triloute commented 5 years ago

@ zatsme : thanks @ 4ian : "mygames.zip"

4ian commented 5 years ago

but after the transfer it was "mygame.apk.zip" so i have to tename it again

Then it's a problem of transfer to your phone, not a problem with GDevelop :) I've just tested and I properly get an apk.

In these conditions, make sure to double check what is happening to your files, and change the way your transfer files to your phone ;)