Hello,
I'm on my galaxy s8+ and each time I try to run the Love2D Hello World example or other I get the Super Toast screen.
I have tried all possibilities listed on the playstore including setting a local webserver with kws and none works.
From what I have read it seams to be related to a bad path.
I noticed that I don't have /sdcard on android 7.
Any help appreciated.
Thanks.
Android & Stuck on Super Toast screen.
Re: Android & Stuck on Super Toast screen.
The supertoast screen means your main.lua or .love file aren't found. (on PC. On apps they should be packaged with the apk)
And since it didn't find any game files it can run, it displays a default screen.
Are you sure you built your apk correctly?
And since it didn't find any game files it can run, it displays a default screen.
Are you sure you built your apk correctly?
Re: Android & Stuck on Super Toast screen.
Thanks for the answer.
I haven't built any APK.
I wanted to code on the S8 directly and wanted to execute the code like it is shown in this video:
https://www.youtube.com/watch?v=MnMWWehbhsY&t=147s
This is also the way it is explained in the playstore description of love2D for Android.
I haven't built any APK.
I wanted to code on the S8 directly and wanted to execute the code like it is shown in this video:
https://www.youtube.com/watch?v=MnMWWehbhsY&t=147s
This is also the way it is explained in the playstore description of love2D for Android.
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Android & Stuck on Super Toast screen.
Probably device dependent, but i don't need to create apk-s or even .love files on my tablet for löve to find the one specific directory it searches for a main.lua; not sure what it's called though, since i can't check it atm.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: Android & Stuck on Super Toast screen.
Hello
At the root of the device I have /sdcard which is linked to /storage/emulated/0
In /sdcard I have created a directory called "lovegame" in which I have my main.love textile which is correctly indented.
When I open it with love2d I get the SuperToast screen.
At the root of the device I have /sdcard which is linked to /storage/emulated/0
In /sdcard I have created a directory called "lovegame" in which I have my main.love textile which is correctly indented.
When I open it with love2d I get the SuperToast screen.
Re: Android & Stuck on Super Toast screen.
It should be called main.lua, not main.love. A .love file is a packaged game, but by default LÖVE tries to run a main.lua file in that directory.
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: Android & Stuck on Super Toast screen.
Before posting here I also tried main.lua and it was the same result (super toast). I tried it again now (as it is a quick test )
...And I get the super toast screen
...And I get the super toast screen
Re: Android & Stuck on Super Toast screen.
For some reason I have the same problem.
I didn't want to build/install a new apk of my app every time.
It seems I can't get Love to find my game.
I didn't have much time so I solved my problem opening the .love game from the file manager and it works now!
I don't code from my phone anyway.
I didn't want to build/install a new apk of my app every time.
It seems I can't get Love to find my game.
I didn't have much time so I solved my problem opening the .love game from the file manager and it works now!
I don't code from my phone anyway.
Re: Android & Stuck on Super Toast screen.
Here are the instructions from the playstore:
# Instructions
You can run games in multiple ways:
Upload your .love file to a web server and open the link with a browser on your Android device
- or -
Put the .love file on your device and open it with a file explorer (e.g. X-plore, open file as */*, select LÖVE for Android).
- or -
Extract it to /sdcard/lovegame such that main.lua is found at /sdcard/lovegame/main.lua and then run the app
- or -
Extract your game anywhere on your device and open its main.lua using a file browser (e.g. X-plore, open main.lua as */*, select LÖVE for Android).
With extracted sources you can edit the source files with any text editor of your choice to tweak your game or add new functionality.
None of the above worked for me
How did you manage to solve the issue ?
# Instructions
You can run games in multiple ways:
Upload your .love file to a web server and open the link with a browser on your Android device
- or -
Put the .love file on your device and open it with a file explorer (e.g. X-plore, open file as */*, select LÖVE for Android).
- or -
Extract it to /sdcard/lovegame such that main.lua is found at /sdcard/lovegame/main.lua and then run the app
- or -
Extract your game anywhere on your device and open its main.lua using a file browser (e.g. X-plore, open main.lua as */*, select LÖVE for Android).
With extracted sources you can edit the source files with any text editor of your choice to tweak your game or add new functionality.
None of the above worked for me
How did you manage to solve the issue ?
Re: Android & Stuck on Super Toast screen.
Bump !
Help !
Help !
Who is online
Users browsing this forum: No registered users and 4 guests