You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...has a little difference between thecpufeatures/cpu-features.c in Android NDK souces which detecting armv7 architecture from the "CPU Architecture" field:
char* cpuArch = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "CPU architecture");
if (cpuArch != NULL) {
char* end;
long archNumber;
int hasARMv7 = 0;
D("found cpuArch = '%s'\n", cpuArch);
/* read the initial decimal number, ignore the rest */
archNumber = strtol(cpuArch, &end, 10);
/* Note that ARMv8 is upwards compatible with ARMv7. */
if (end > cpuArch && archNumber >= 7) {
hasARMv7 = 1;
}
//...omitted
if (hasARMv7) {
g_cpuFeatures |= ANDROID_CPU_ARM_FEATURE_ARMv7;
}
Also, I'm curious why Dart VM does not use cpu_features for detection.
The text was updated successfully, but these errors were encountered:
I'm using Flutter 1.12.13. My Flutter app crashes on some user's devices caused by
Unrecognized ARM CPU architecture
:The Flutter 1.12.13 depends on a4911c6.
Related issue flutter/flutter#47819.
And I notice that code of
cpu_arm.cc
:sdk/runtime/vm/cpu_arm.cc
Lines 174 to 176 in a4911c6
...has a little difference between the
cpufeatures/cpu-features.c
in Android NDK souces which detecting armv7 architecture from the "CPU Architecture" field:Also, I'm curious why
Dart VM
does not usecpu_features
for detection.The text was updated successfully, but these errors were encountered: