Skip to content

Null pointer when finding libraries #1717

Closed
@dbrnz

Description

@dbrnz

I've successfully built the Webview test app for Python 3, NDK 19, API 24 and am now trying to get it to run -- starting the app gives "Attempting to get length of null array" when PythonActivity tries to load the application libraries.

I've traced this to addLibraryIfExists() in ./pythonforandroid/bootstraps/common/build/src/main/java/org/kivy/android/PythonUtil.java where it appears that libsDir doesn't exist and so the files variable is set to null. I'm uncertain as to how paths values in the debugger relate to those in the FileExplorer, but the debugger has the library path as /data/user/0/com.pandq.test/lib yet File Explorer shows the libraries inside /data/app/com.pandq.test-1/lib/arm64. Is some form of versioning going on?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions