Code: Select all
label splashscreen:
if renpy.variant("android"):
if renpy.request_permission("android.permission.MANAGE_EXTERNAL_STORAGE"):
pause 0.01
return
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 30, in <module>
AttributeError: 'NoneType' object has no attribute 'SDL_AndroidRequestPermission'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "00start.rpyc", line 241, in script call
File "script.rpyc", line 30, in script
File "renpy/ast.py", line 1842, in execute
File "renpy/python.py", line 1209, in py_eval
File "renpy/python.py", line 1202, in py_eval_bytecode
File "game/script.rpy", line 30, in <module>
File "renpy/exports.py", line 4666, in request_permission
AttributeError: 'NoneType' object has no attribute 'SDL_AndroidRequestPermission'
I also tried using it in a new project to make sure nothing was causing conflicts