Opened 8 years ago

Closed 7 years ago

#1203 closed enhancement (fixed)

Android is not only ARM

Reported by: nextloop Owned by: str4d
Priority: minor Milestone:
Component: apps/android Version: 0.9.11
Keywords: Cc:
Parent Tickets: Sensitive: no

Description line 50:
Android api level is set to 8.
Plattform 8 only supports arm architecture. I am not sure what happens on other CPU architectures. Will java fallback be used? Is it fast enough?

The app is usually compiled using the precompiled (which is probably an arm binary). During an F-Droid build i have to remove all binary files, so it is each time newly compiled.

What's against changing the api level to the newest(19) and modifying the script so it produces also jni binaries for x86, MIPS and so on (maybe configureable)?
I believe the NDK api level is independent from the Android one.

I might be completely wrong with my findings, as i only have some basic android knowledge.


Change History (7)

comment:2 Changed 8 years ago by zzz

Component: otherapps/android
Owner: set to zzz

comment:3 Changed 8 years ago by zzz

The basic way to fix this is to pass more environment variables and arguments from routerjars/custom_rules.xml to routerjars/jni/ You'll have to help us understand the F-Droid build environment and how the targets are set.

comment:4 Changed 8 years ago by nextloop

I am not sure whether this is the standard android behaviour, but I think the NDK-dir is usually set in, maybe custum_rules.xml can pass them to the script?

Going to add more here as time permits.

comment:5 Changed 7 years ago by zzz


related/dup: #718

comment:6 Changed 7 years ago by zzz

Owner: changed from zzz to str4d
Status: newassigned

Reassigning to str4d as he is working on this

comment:7 Changed 7 years ago by str4d

Resolution: fixed
Status: assignedclosed files for x86 and MIPS can be built as of a03b4a542c4c26d11441da6d8dbba735aab2127a. They now need to be tested.

Closing this ticket because has been modified. #718 left open for testing.

Note: See TracTickets for help on using tickets.