Update build.gradle for latest AGP #2026
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
Last month(2020/10), there was Android Studio 4.1 release, this PR targets that.
Tool Requirement
Adjust for the IDE (Android Studio)
21.3.6528147
NDK version is not mandatory. Users can comment the line, and use their own.
Usage
The build step is not changed.
Note
ignore
.cxx
which wasexternalNativeBuild
in old Android Gradle Plugin versionsbuild.gradle
file now uses variablerootDir
instead of using the relative path to make ease of understanding.After the install, the
libs/
folder will contain.so
for each architecture and.aar
filesWith the AGP 4.1, the aar include files in
include/fmt/*.h
.Related Issues
Previous Work
#1039 (update for Gradle 5.2)
License Agreement
I agree that my contributions are licensed under the {fmt} license, and agree to future changes to the licensing.