Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
[ID: 558956]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Before Studio 3.5, it used to build only the architecture of the target device.
It really builds only 32 bit ARM and 64bit ARM, when the release builds build also for x86 and x86_64 as is the default for the NDK.
I press the "play" (run) button, as usual.
This is Android Studio 3.5, NDK 20.0.5594570 and CMake 3.10.2.4988404 (provided on MacOS) and system CMake on Fedora Linux.
I don't filter on ABIs anywhere, no splits, no nothing.
This is the only thing in build.gradle that configures the C++ build
externalNativeBuild {
cmake {
version "3.10.2"
}
}
My CMakeLists.txt is as bland as it gets:
cmake_minimum_required(VERSION 3.3)
# Configure CCache if available
find_program(CCACHE_FOUND ccache)
if (CCACHE_FOUND)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
endif (CCACHE_FOUND)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
project(yelo-app-common)
#set( CMAKE_VERBOSE_MAKEFILE on )
add_subdirectory(deps/leveldb)
add_subdirectory(deps/Poco)
add_subdirectory(src)
if(ANDROID)
add_subdirectory(deps/djinni)
add_subdirectory(android)
else()
add_subdirectory(test)
endif(ANDROID)