I’m trying to figure out a way to bundle a project on my phone when a computer is unavailable. I’m trying to use Github and bob.jar to do this. However, whenever I create a bundle with bob.jar, the app immediately crashes. It crashed on both android and Windows. Even when I took bob to my computer, the app still crashed. Bundling in the Defold app works just as normal.
this is what I’m running:
java -jar bob.jar --platform armv7-android --archive build bundle -bf apk --bo ./bundles/android --build-server https://build.defold.com --variant debug --binary-output ./build/android/armv7-android -tc true clean resolve
This is the logcat that comes out:
2023-07-05 19:49:00.418 7631-7678 defold mchlkpng.mpcreator I INFO:ENGINE: Initialised sound device 'default'
2023-07-05 19:49:00.425 7631-7631 ViewRootIm...dActivity] mchlkpng.mpcreator V updateAppliedLetterboxDirection, direction=0, Caller=android.view.ViewRootImpl.handleDispatchLetterboxDirectionChanged:13665
2023-07-05 19:49:00.431 7631-7631 ViewRootIm...dActivity] mchlkpng.mpcreator V updateAppliedLetterboxDirection, direction=1, Caller=android.view.ViewRootImpl.handleDispatchLetterboxDirectionChanged:13665
2023-07-05 19:49:00.450 7631-7631 InputMethodManager mchlkpng.mpcreator D startInputInner - Id : 0
2023-07-05 19:49:00.561 7631-7678 hw-ProcessState mchlkpng.mpcreator D Binder ioctl to enable oneway spam detection failed: Invalid argument
2023-07-05 19:49:00.566 7631-7678 BLASTBufferQueue mchlkpng.mpcreator I [ViewRootImpl@9517a60[DefoldActivity]#0](f:0,a:0) onFrameAvailable the first frame is available
2023-07-05 19:49:00.566 7631-7678 BLASTBufferQueue mchlkpng.mpcreator D [ViewRootImpl@9517a60[DefoldActivity]#0](f:0,a:1) acquireNextBufferLocked size=1555x720 mFrameNumber=1 applyTransaction=true mTimestamp=1324834326959889(auto) mPendingTransactions.size=0 graphicBufferId=32774895435776 transform=7
2023-07-05 19:49:00.573 7631-7678 defold mchlkpng.mpcreator W WARNING:INPUT: No gamepad map found for gamepad 0 (Virtual). The raw gamepad map will be used.
2023-07-05 19:49:00.573 7631-7678 glfw-android mchlkpng.mpcreator V handleCommand (main thread): APP_CMD_GAINED_FOCUS
2023-07-05 19:49:00.585 7631-7678 defold mchlkpng.mpcreator D DEBUG:SCRIPT: hi
2023-07-05 19:49:00.586 7631-7678 defold mchlkpng.mpcreator E ERROR:SCRIPT: attempt to call a userdata value
2023-07-05 19:49:00.586 7631-7678 libc mchlkpng.mpcreator A ../src/gameobject/comp_script.cpp:723: dmGameObject::InputResult dmGameObject::CompScriptOnInput(const dmGameObject::ComponentOnInputParams &): assertion "top == lua_gettop(L)" failed
2023-07-05 19:49:00.586 7631-7631 DecorView mchlkpng.mpcreator I notifyKeepScreenOnChanged: keepScreenOn=false
2023-07-05 19:49:00.588 7631-7678 defold mchlkpng.mpcreator I INFO:CRASH: Successfully wrote Crashdump to file: /data/user/0/mchlkpng.mpcreator/files/_crash
2023-07-05 19:49:00.588 7631-7678 defold mchlkpng.mpcreator E ERROR:CRASH: CALL STACK:
#00 pc 0x00002ee408 ...UoPvg==/lib/arm/libMapCreator.so <unknown>+0
#01 pc 0x000005e188 ...droid.runtime/lib/bionic/libc.so <unknown>+0
#02 pc 0x00000635f6 ...droid.runtime/lib/bionic/libc.so abort+137
#03 pc 0x000006389a ...droid.runtime/lib/bionic/libc.so __assert2+25
#04 pc 0x00000cbb78 ...UoPvg==/lib/arm/libMapCreator.so <unknown>+0
#05 pc 0x00000c2df8 ...UoPvg==/lib/arm/libMapCreator.so <unknown>+0
#06 pc 0x00000a3188 ...UoPvg==/lib/arm/libMapCreator.so <unknown>+0
#07 pc 0x00000a3808 ...UoPvg==/lib/arm/libMapCreator.so <unknown>+0
#08 pc 0x00000a42fc ...UoPvg==/lib/arm/libMapCreator.so <unknown>+0
#09 pc 0x000009f8a4 ...UoPvg==/lib/arm/libMapCreator.so <unknown>+0
#10 pc 0x000029c8d0 ...UoPvg==/lib/arm/libMapCreator.so <unknown>+0
#11 pc 0x00000ad484 ...droid.runtime/lib/bionic/libc.so <unknown>+0
#12 pc 0x000006459e ...droid.runtime/lib/bionic/libc.so <unknown>+0
Here is the crash dump:
crash.txt (49.2 KB)
Any ideas for the cause? Thanks.