Android APK for arm64 emulators
⚡ Make sure your build runs on the arm64 emulator and benefit from the speed of Waldo’s latest infrastructure!
Android was designed for the arm64architecture. However, Intel computers were so widespread that, most of the time, emulators would run against the x86_64 (Intel) architecture. This is why Waldo initially required your Android build to be compatible with the x86_64 architecture.
In Q2 2024, Waldo upgraded its infrastructure to use arm64 emulators instead of x86_64.
The impact? Device startup times are 3 times faster ⚡! This can greatly impact test duration (especially with suites containing many small tests, as they require allocating more devices from Waldo).
armarchitecture For The Win!For this reason, Waldo support for
x86_64emulators was ended in September 2024.
How to know if your APK is built for arm64?
arm64?- in Android Studio, open the
APK AnalyzerfromBuild > Analyze APKand select your APK. - Check the
libfolder in the APK to verify that it containsarmeabi-v7aorarm64-v8a. If so, congrats, your app is ready to run on ourarm64emulators 💪 !
Other, follow the step below ⬇️.
Tune your app config to build for arm64
arm64
Your app probably already builds forarm64, so make sure you first try the previous step.
If you build with Gradle
- Open your
build.gradlefile (usually the one in the app module). - Look for the
ndksection if you have one, and ensure that theabiFiltersincludearmeabi-v7aorarm64-v8a.
android {
...
defaultConfig {
...
ndk {
abiFilters 'armeabi-v7a', 'arm64-v8a'
}
}
...
}Updated about 2 months ago
