Skip to content

How can I compile the android apk for example/hello_world? #1954

@sry948749099

Description

@sry948749099

I have tried two methods, first, i used FFI compile hello_world to a shared lib, then used MainActivity in android studio, but, get a fatal problem.
111

second, I change the method to use cargo apk build..., but the apk also cannot run in android devices. I also try to use the NativeActivity method in android studio, but error:

111

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions