Skip to content

Can't compile for android #427

@Dispersia

Description

@Dispersia

I saw this issue: #308 but I don't think another issue was ever created. I have tried going back to android-ndk-r16b where the arm-linux-androideabi-clang is installed, and have the .cargo/config pointing to it correctly, but I still get that it's missing.

I also tried on NDK 20 to specify the linker I wanted it to use, and it still wants the arm-linux-androideabi-clang even if that's not what I told it to use as the last user on that thread posted.

I'm trying to compile https://github.com/Dispersia/bounce using cargo-apk, if you want to reproduce it. I have OpenSSL set to the correct prebuilt android binaries.

Is there any way to get this to build?
image

EDIT: I symlinked those files to the base NDK folder and just reference it there and it seems to be working under ndk 16b... Should it not use the cargo config full path to reference the executable? Is this a problem with cargo-apk then? I'm not sure which part of the build is calling this.

Thanks!

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