opencv/platforms/android
Alexander Smorkalov c803aa2ddd
Merge pull request #26057 from asmorkalov:as/android_16k_pages
Android builds update #26057

Fixes https://github.com/opencv/opencv/issues/26027
Should also address https://github.com/opencv/opencv/issues/26542
 
Changes:
- Switched to Android build tools 34, NDK 26d, target API level 34 (required by Google Play).
- Use flexible page size on Android by default to support Android 15+.
- Dummy stub for R and BuildConfig classes for javadoc.
- Java 17 everywhere.
- Strict ndkVersion and ABI list in release package.

Related:
- Docker: https://github.com/opencv-infrastructure/opencv-gha-dockerfile/pull/41
- Pipeline: https://github.com/opencv/ci-gha-workflow/pull/183

Related IPP issue with NDK 27+: https://github.com/opencv/opencv/issues/26072

Google documentation for 16kb pages support : https://developer.android.com/guide/practices/page-sizes?hl=en

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake
2024-12-31 11:53:04 +03:00
..
aar-template Merge pull request #26057 from asmorkalov:as/android_16k_pages 2024-12-31 11:53:04 +03:00
build-tests Merge pull request #24956 from asmorkalov:as/android_build_offline 2024-02-05 11:57:16 +03:00
gradle-wrapper Merge pull request #24910 from alexlyulkov:al/android-tests 2024-01-31 15:09:57 +03:00
build_aar.sh Merge pull request #24956 from asmorkalov:as/android_build_offline 2024-02-05 11:57:16 +03:00
build_java_shared_aar.py Merge pull request #26057 from asmorkalov:as/android_16k_pages 2024-12-31 11:53:04 +03:00
build_sdk.py Merge pull request #26057 from asmorkalov:as/android_16k_pages 2024-12-31 11:53:04 +03:00
build_static_aar.py Merge pull request #26057 from asmorkalov:as/android_16k_pages 2024-12-31 11:53:04 +03:00
default.config.py Merge pull request #26057 from asmorkalov:as/android_16k_pages 2024-12-31 11:53:04 +03:00
ndk-10.config.py android: update build_sdk.py 2018-01-14 16:05:48 +00:00
ndk-16.config.py android: update build_sdk.py 2018-01-14 16:05:48 +00:00
ndk-17.config.py android: NDK17 support 2018-08-27 21:07:34 +00:00
ndk-18-api-level-21.config.py Merge pull request #14005 from komakai:android-video-cap 2019-03-19 21:28:45 +03:00
ndk-18-api-level-24.config.py Merge pull request #19597 from komakai:android-ndk-camera 2021-02-25 19:14:11 +00:00
ndk-18.config.py android: gradle-based package and samples 2018-12-19 14:59:48 +03:00
ndk-22.config.py Make Kotlin plugin version compatible with the Gradle version 2021-06-08 22:51:07 +09:00
ndk-25.config.py Added Kotlin test, changed Kotlin version for OpenCV 2024-02-07 11:17:36 +03:00
README.android Update README.android 2017-07-31 08:28:34 +02:00

See http://opencv.org/platforms/android