-
Notifications
You must be signed in to change notification settings - Fork 119
What to replace arm-linux-androideabi with in manifest? #234
Description
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.