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
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Can you tell us what version of the Mapbox Android SDK that the app is using? Version 3.2.0 ships with support for the following ABI:
armeabi
armeabi-v7a
mips
x86
x86_64
If you're looking to ship smaller versions of your app's .apk files, I'd recommend exploring different apk-split options that Google makes available in the Gradle build tools.
Thank you for your replay, My mapbox android sdk version is 3.1.0, It's already ships with support for the following ABI:
armeabi
armeabi-v7a
mips
x86
x86_64
My problem is that: why armeabi "so" lib of mapbox is not work on armv7 devices?
"so" of armeabi can also be work on armv7 devices usually, But if i compile armeabi folder of mapbox only, without armeabi-v7 folder by abiFilters "armeabi", The map is blank on armv7 devices.
@Trinea This is my understanding as well, armeabi ABIs should work on armeabi-v7a devices. This could be a performance issue, or a bug with a specific device. Could you tell us which device have you been using to run your tests?
Independently, I'd also like to recommend the solution@bleege mentions above to reduce the size of your SDK. Shipping different APK split by ABI will guarantee that your users will take advantage of newer devices' CPU capabilities.
Just noting that I've talked with @tmpsantos and he's had some success getting this to work in his local development environment. More technical information will come from him as he's running point on this investigation.
This fix has also been cherrypicked on to the release-android-v4.1.0 branch which means that it'll ship with 4.1.0 Final. To help expedite it's availability process I've kicked off a new build to produce a new 4.1.0-SNAPSHOT. It should be available in about 30 minutes.
@wingwuyf We publish nightly SNAPSHOTS and according the Web site it looks like the latest one is Number 48 from this morning. Please note that SNAPSHOTS aren't on the main mavenCentral() server but on Maven Central's SNAPSHOT server. This means the app's build.gradle will need to add it. Full installation details on how to do this are available on the Mapbox Android SDK Web site.
Activity
bleege commentedon Feb 18, 2016
Can you tell us what version of the Mapbox Android SDK that the app is using? Version
3.2.0ships with support for the following ABI:If you're looking to ship smaller versions of your app's .apk files, I'd recommend exploring different
apk-splitoptions that Google makes available in the Gradle build tools./cc @mapbox/support
Trinea commentedon Feb 20, 2016
Thank you for your replay, My mapbox android sdk version is 3.1.0, It's already ships with support for the following ABI:
My problem is that: why armeabi "so" lib of mapbox is not work on armv7 devices?
"so" of armeabi can also be work on armv7 devices usually, But if i compile armeabi folder of mapbox only, without armeabi-v7 folder by
abiFilters "armeabi", The map is blank on armv7 devices.zugaldia commentedon Mar 11, 2016
@Trinea This is my understanding as well,
armeabiABIs should work onarmeabi-v7adevices. This could be a performance issue, or a bug with a specific device. Could you tell us which device have you been using to run your tests?Independently, I'd also like to recommend the solution @bleege mentions above to reduce the size of your SDK. Shipping different APK split by ABI will guarantee that your users will take advantage of newer devices' CPU capabilities.
Trinea commentedon Mar 12, 2016
@zugaldia yes
we only compile armeabi for all devices. It's our project remaining problem, and we have not time to fix it now.
Our appstore does not support apk-split, we donnot use Google Play.
zugaldia commentedon Mar 12, 2016
@Trinea thank you for the feedback, this is very useful. Could you point us at the device you're using to reproduce this empty map issue?
Trinea commentedon Mar 13, 2016
ndk {
abiFilters "armeabi"
}
build.gradle like above
on Nexus 5
bleege commentedon Mar 14, 2016
@Trinea Could you tell us about other dependencies that the app is using? Specifically, are there any other
.aarthat contain native code (ex:.so).?zugaldia commentedon Mar 14, 2016
Just confirming that the TestApp shows the following crash on a Nexus 5 if we include the filter indicated above:
zugaldia commentedon Mar 14, 2016
If the filter is changed to
abiFilters "armeabi-v7a", everything works as expected.For reference: Computing Version code in multi-flavor setup.
tmpsantos commentedon Jun 2, 2016
From the many things I've been trying, upgrading to Android NDK Revision 11c (March 2016) unfortunately won't fix this issue.
It seems to me that the compiler is generating invalid code for the C++14 stuff we use on
run_loop.hpp.4 remaining items
bleege commentedon Jun 3, 2016
Just noting that I've talked with @tmpsantos and he's had some success getting this to work in his local development environment. More technical information will come from him as he's running point on this investigation.
KarenZZhang commentedon Jun 5, 2016
Thank you so much for your kind help! @bleege @tmpsantos @tobrun
bleege commentedon Jun 6, 2016
I talked with @tmpsantos over the weekend and he said that he's going to pick this up on Monday.
xinnong commentedon Jun 6, 2016
Excellent! Thanks @bleege @tmpsantos
tmpsantos commentedon Jun 6, 2016
Have a fix for this being tested/reviewed at #5254. I got an armeabi build working on a Nexus 5 (armv7) and Nexus 5x (armv8) with that branch.
bleege commentedon Jun 6, 2016
This fix has also been cherrypicked on to the
release-android-v4.1.0branch which means that it'll ship with4.1.0 Final. To help expedite it's availability process I've kicked off a new build to produce a new4.1.0-SNAPSHOT. It should be available in about 30 minutes.Great job @tmpsantos!
wingwuyf commentedon Jun 8, 2016
@bleege How can I get the new build 4.1.0-SNAPSHOT? I can't find it in mavenCentral. Thanks!
bleege commentedon Jun 8, 2016
@wingwuyf We publish nightly SNAPSHOTS and according the Web site it looks like the latest one is Number 48 from this morning. Please note that SNAPSHOTS aren't on the main
mavenCentral()server but on Maven Central's SNAPSHOT server. This means the app'sbuild.gradlewill need to add it. Full installation details on how to do this are available on the Mapbox Android SDK Web site.wingwuyf commentedon Jun 8, 2016
@bleege I've tried the 4.1.0-SNAPSHOT, it works fine without any trouble. Thank you so much!
bleege commentedon Jun 8, 2016
@wingwuyf Great to hear that everything is working for you!