Skip to content
This repository was archived by the owner on Jul 3, 2020. It is now read-only.
This repository was archived by the owner on Jul 3, 2020. It is now read-only.

What to replace arm-linux-androideabi with in manifest? #234

@OptimisticPeach

Description

@OptimisticPeach

I'm trying to get a project to compile that previously (About 6 months ago) compiled, I get the following error when I try to compile it as is:

error: unknown variant `arm-linux-androideabi`, expected one of `armv7-linux-androideabi`, `aarch64-linux-android`, `i686-linux-android`, `x86_64-linux-android` for key `package.metadata.android.build_targets` at line 51 column 1

So, I try armv7-linux-androideabi, which successfully compiles and installs through adb, but fails to launch. I'm trying to run this on a Pixel 2, where I used to use arm-linux-androideabi, cpu-z reports the kernel arch is aarch64 (Which apparently doesn't work) and the closest I could find was armv7-linux-androideabi (Which doesn't work either).

In PR #223 I read the following:

  • The default and supported build targets has changed. The default is to build on all targets supported by the current NDK. arm-linux-androideabi was removed. See README for supported targets.

How might I go about making my app compile and run on my Pixel 2?

On a side note, I used to clone cargo-apk locally and edit the NativeActivity code to remove the decoration and navigation bars (It's kind of difficult to play snake with them), where might I inject that code now? "Injected"/"replaced" code is here.

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