question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

failed to run script: [string "android.lua"] error extracting assets

See original GitHub issue

Built apk but it fails:

11-17 10:13:08.234 15867 15893 V luajit-launcher: [NativeThread]: activity gained focus.
11-17 10:13:08.235 15867 15893 V luajit-launcher: [NativeThread]: launching LuaJIT assets
11-17 10:13:08.256 15867 15867 D luajit-launcher: [NativeGlue]: NativeWindowRedrawNeeded: 0xddd2ac60 -- 0xdddbf008
11-17 10:13:08.268 15867 15893 D luajit-launcher-debug: checking write storage permission
11-17 10:13:08.273 15867 15893 I luajit-launcher-debug: Zip file not found, trying raw assets...
11-17 10:13:08.276 15867 15893 E luajit-launcher: [NativeThread]: failed to run script: [string "android.lua"]:2421: error extracting assets
11-17 10:13:08.276 15867 15893 E luajit-launcher: [NativeThread]: Stopping due to previous errors

BTW, I can’t find any chat, is there one? I joined #luajit IRC channel but it’s silent.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Frenziecommented, Nov 18, 2020

Also see https://github.com/love2d/love-android for some interesting stuff.

0reactions
ildarcommented, Nov 23, 2020

Seems this discussion got some amount of off-topic. Yet TL;DR; for it:

  1. to get a working apk one needs either make example or populate assets with some other Lua code.
  2. Actually extending this luajit Android launcher is possible with Lua modules and even binary modules (I managed to build luasocket for it BTW)
  3. There are some other projects “recommended to consider” but all have their peculiarities. I like this one ATM.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Lua Error: "attempt to call a string value" under Android NDK?
Problem resolved. It turns out that the compiled lua code are not portable. You must compile lua scripts against a target machine.
Read more >
Nlua | NLua is the bind between Lua world and the .NET world.
To do this just use the method LoadCLRPackage and use the import function inside your Lua script to load the Assembly. state.LoadCLRPackage ();...
Read more >
Bug listing with status RESOLVED with resolution FIXED as at ...
... Bug:216 - "kdm fails to start emerged window managers due to missing/wrong /usr/X11R6/bin/wm/ scripts" status:RESOLVED resolution:FIXED severity:major ...
Read more >
Receiving Lua Error Script Message in ILLiad Docline
I am unable to receiving requests in ILLiad. Error: Lua Script Error. An error occurred while attempting to execute a Lua script.
Read more >
Android Player settings - Unity - Manual
Icon settings for Android. Setting, Description. Adaptive, Specify textures of various sizes to represent your application on devices running ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found