General discussion about LÖVE, Lua, game development, puns, and unicorns.
axehigh
Prole
Posts: 10 Joined: Sat Jan 18, 2020 10:12 am
Post
by axehigh » Sat Jan 18, 2020 2:38 pm
Hi,
I am trying to build a APK, using the "
https://github.com/love2d/love-android " repo. I've copied the game.love file into the asset folder. When running "gradlew assemble" the build fails, because
" Missing LOVE. Make sure to initialize the submodule correctly!"
The error message is coming from the Android.mk file
Code: Select all
LOVE_JNI_DIR := $(call my-dir)
IS_NDK_R17 := $(shell python ${LOVE_JNI_DIR}/detect_ndkrel.py $(NDK_ROOT)/source.properties 17)
IS_ANDROID_21 := $(shell python ${LOVE_JNI_DIR}/detect_androidapi.py $(TARGET_PLATFORM) 21)
HAS_LOVE := $(shell python ${LOVE_JNI_DIR}/detect_love.py ${LOVE_JNI_DIR})
ifneq (${HAS_LOVE},yes)
$(error Missing LOVE. Make sure to initialize the submodule correctly!)
endif
include $(call all-subdir-makefiles)
Apparently has_love is false. What is missing here?
Love is installed, so I fail to see what is missing here
AuahDark
Party member
Posts: 107 Joined: Mon Oct 23, 2017 2:34 pm
Location: Indonesia
Contact:
Post
by AuahDark » Tue Jan 28, 2020 4:15 pm
Make sure to clone the submodules along with the repository.
Code: Select all
git clone --recurse-submodules https://github.com/love2d/love-android
I added that check because often people did not clone the repository correctly. I should probably updated the readme to include this notice.
EDIT: Added important instructions to love-android readme.
Profile . Do you encounter crashes in LÖVE Android and wanna send me logcats? Please hit me up in LÖVE Discord and
send the full logcat file!
Users browsing this forum: Amazon [Bot] and 1 guest