love2d / love-android

Android build setup for LÖVE.
https://love2d.org
Other
207 stars 72 forks source link

NO GAME screen when using .love file as asset in `embed/assets`. #267

Closed PropherTone closed 7 months ago

PropherTone commented 7 months ago
  1. Put all your games in app/src/embed/assets such that your main.lua path is app/src/embed/assets/main.lua; or
  2. Put your zipped *.love in app/src/embed/assets with name game.love

It's perfectly normal when using the first way,but second way keeps displaying NO GAME on screen. "game.love" are worked fine by using love.exe.

Logcat print lua error Could not set source.,consequently I cheked the apk's file and indeed has assets dir with game.love in it.

MikuAuahDark commented 7 months ago

Can you confirm if you're testing with main branch or 11.x/11.5 branch?

PropherTone commented 7 months ago

Sorry I can't show you the project I am currently working on.but I cloned the project and put the game.love into embed/assets again,and the issue still present. Screenshot are here:

image
PropherTone commented 7 months ago

Here's are terminal. It's in main branch

image