Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork56.4k
Enable Android AAR package build with SDK project itself without Python#24752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
asmorkalov commentedDec 25, 2023
@mshabunin@opencv-alalek please take a look. |
opencv-alalek left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
There is lack of instructions how to validate the result.
| @@ -0,0 +1,45 @@ | |||
| #!/bin/bash -e | |||
| SDK_DIR=$1 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
${1:?Required OpenCV Android SDK path} ?
| echo "OpenCV Android SDK path: ${SDK_DIR}" | ||
| ANDROID_HOME=${ANDROID_HOME:-${ANDROID_SDK_ROOT:-${ANDROID_SDK?Required ANDROID_HOME/ANDROID_SDK/ANDROID_SDK_ROOT}}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Prefer using:? to avoid empty values too.
Details:https://tldp.org/LDP/abs/html/parameter-substitution.html
Uh oh!
There was an error while loading.Please reload this page.
- Added JavaDoc package build and publishing- Added Source package build and publishing- More metadata for publishing- Disable native samples build with aar, because prefab is not complete yet
1da8e1b tob59eca2Compare
Pull Request Readiness Checklist
See details athttps://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.