Page 5 of 6

Re: [tool] LoveToAndroid - .love to .apk without thinking

Posted: Fri Sep 09, 2016 12:53 pm
by Sisi
Thanks for your work! Is it possible to make it fully compatible with 0.10? Actually i have libraries using function setStencil for example, and it doesnt work

Re: [tool] LoveToAndroid - .love to .apk without thinking

Posted: Fri Sep 09, 2016 1:02 pm
by qubodup
Hi,

https://love2d.org/wiki/love.graphics.setStencil says "Available since LÖVE 0.8.0 and removed in LÖVE 0.10.0".

Changes compared to love for desktop are hopefully all listed on https://bitbucket.org/MartinFelis/love- ... /wiki/Home

Re: [tool] LoveToAndroid - .love to .apk without thinking

Posted: Fri Sep 09, 2016 1:18 pm
by Sisi
Woops my bad, I was talking about "stencil" and "setStencilTest", not "setStencil"

Re: [tool] LoveToAndroid - .love to .apk without thinking

Posted: Fri Sep 09, 2016 1:26 pm
by qubodup
If there is a problem, you might want to search and - if not covered yet - report it on viewforum.php?f=4 or https://bitbucket.org/MartinFelis/love- ... tatus=open with a quote of the error message. I just compiled and packaged love android but I don't know much about its development and availability of non-basic functions. Good luck!

Re: [tool] LoveToAndroid - .love to .apk without thinking

Posted: Sat Apr 20, 2019 6:05 pm
Hello qubodup , are you here? it's great program! really
Exist version for Love 0.11? i leave 5 stars for you on itch. good service ,and i try donate (im from another country)

in home i create man and use signed app - there
viewtopic.php?f=4&t=85554&p=222346#p222346

but i in vacation with fresh clean notebook.

I thinking is not working debug key - is the real problem.

Code: Select all

alex@NOUT:~/Programs/StartGamedev$ keytool -keygen -v -keystore debug.keystore -alias androiddebugkey -storepass android
insufficient option:  -keygen    
SOLUTION!!!!!!!! FOR CRAPPY JAVA KEYGEN!!!

Code: Select all

 keytool -genkey -v -keystore ~/.android/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"
 
On page 2 solution wont help
========================
how looks error without keygen::: Keywords ::: Unable to get debug signature key

Code: Select all

lex@NOUT:~/Programs/StartGamedev$ sh make-apk.sh 
i get error
cp: не удалось выполнить stat для 'bin/love_android_sdl2-debug.apk': Нет такого файла или каталога
-package:
[apkbuilder] Current build type is different than previous build: forced apkbuilder run.
[apkbuilder] Creating love_android_sdl2-debug-unaligned.apk and signing it with a debug key...
[apkbuilder] Exception in thread "main" java.lang.ExceptionInInitializerError
[apkbuilder] Caused by: java.lang.RuntimeException: could not locate data
[apkbuilder] 	at sun.text.normalizer.NormalizerImpl.<clinit>(NormalizerImpl.java:60)
[apkbuilder] 	... 8 more

BUILD FAILED
/home/alex/Programs/StartGamedev/tools/android-linux/tools/ant/build.xml:969: The following error occurred while executing this line:
/home/alex/Programs/StartGamedev/tools/android-linux/tools/ant/build.xml:312: com.android.sdklib.build.ApkCreationException: Unable to get debug signature key
	at com.android.sdklib.build.ApkBuilder.getDebugKey(ApkBuilder.java:27

Re: [tool] LoveToAndroid - .love to .apk without thinking

Posted: Mon Jul 06, 2020 10:50 am
by Funlife2003
does it work on 0.11 ? thanks for making this tho.

Re: [tool] LoveToAndroid - .love to .apk without thinking

Posted: Mon Jul 06, 2020 1:38 pm
by Funlife2003
for some reason a error pops up in the line k:read("*all"). this only occurs in the apk and not in the love file. please help.

Re: [tool] LoveToAndroid - .love to .apk without thinking

Posted: Fri Jan 20, 2023 10:54 am
by zingo
Sorry to "necropost", but this would be extremely useful if updated for the newest version of Love2d (11.4 at the moment). It's also fun to code/test games directly on an android, so if at all possible, an app would be awesome as well. Apologies again for digging this old thread up, but I wasn't able to find any similar "automated" tools...at least, none that were up to date.

Re: [tool] LoveToAndroid - .love to .apk without thinking

Posted: Fri Jan 20, 2023 11:33 am
by GVovkiv
zingo wrote: Fri Jan 20, 2023 10:54 am Sorry to "necropost", but this would be extremely useful if updated for the newest version of Love2d (11.4 at the moment). It's also fun to code/test games directly on an android, so if at all possible, an app would be awesome as well. Apologies again for digging this old thread up, but I wasn't able to find any similar "automated" tools...at least, none that were up to date.
Considering that author was last online in 2017... that's highly unlikely to happen, sadly

Re: [tool] LoveToAndroid - .love to .apk without thinking

Posted: Fri Jan 20, 2023 11:54 am
by zingo
This much is true, but figured it was worth a shot. May just stick to exporting to linux appimage, windows executable, or web, as those platforms seem more readily supported and/or common...actually, come to think of it, I haven't run across any Love2d games in .apk format...yet (or I just haven't been looking in the right place). At any rate, it may be a while before I have a finished project. Thank you for taking the time to respond anyhow, and I hope OP is doing well, wherever they may be...