mirror of
https://github.com/opencv/opencv.git
synced 2024-12-01 14:59:54 +08:00
5ccb4e0487
AGP 8.0 build.gradle namespace and aidl buildFeature requirement added #23447 Hello, Android Gradle Plugin version 8.0 is asking for namespace. This is become mandatory and after I update my AGP to 8.0, I got this error ``` Namespace not specified. Please specify a namespace in the module's build.gradle file like so: android { namespace 'com.example.namespace' } If the package attribute is specified in the source AndroidManifest.xml, it can be migrated automatically to the namespace value in the build.gradle file using the AGP Upgrade Assistant; please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information. ``` This change fix this future releases. However I am not sure how opencv wants to user namespace I used "org.opencv" if there is a different namespace please let me know so I can changed that too. Also should I add namepsace into "opencv/modules/java/android_sdk/android_gradle_lib/build.gradle" here ? ### Sources Android developer link: https://developer.android.com/studio/preview/features#namespace-dsl Issue Tracker Google: https://issuetracker.google.com/issues/191813691?pli=1#comment19 ### 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 |
||
---|---|---|
.. | ||
android | ||
checks | ||
FindCUDA | ||
mirrors | ||
platforms | ||
templates | ||
vars | ||
cl2cpp.cmake | ||
copy_files.cmake | ||
FindCUDA.cmake | ||
FindCUDNN.cmake | ||
FindFlake8.cmake | ||
FindONNX.cmake | ||
FindOpenVX.cmake | ||
FindPylint.cmake | ||
FindVulkan.cmake | ||
OpenCVCompilerDefenses.cmake | ||
OpenCVCompilerOptimizations.cmake | ||
OpenCVCompilerOptions.cmake | ||
OpenCVCRTLinkage.cmake | ||
OpenCVDetectApacheAnt.cmake | ||
OpenCVDetectCUDA.cmake | ||
OpenCVDetectCXXCompiler.cmake | ||
OpenCVDetectDirectX.cmake | ||
OpenCVDetectFlatbuffers.cmake | ||
OpenCVDetectHalide.cmake | ||
OpenCVDetectInferenceEngine.cmake | ||
OpenCVDetectOpenCL.cmake | ||
OpenCVDetectPython.cmake | ||
OpenCVDetectTBB.cmake | ||
OpenCVDetectTrace.cmake | ||
OpenCVDetectVTK.cmake | ||
OpenCVDetectVulkan.cmake | ||
OpenCVDetectWebNN.cmake | ||
OpenCVDownload.cmake | ||
OpenCVExtraTargets.cmake | ||
OpenCVFindAtlas.cmake | ||
OpenCVFindCANN.cmake | ||
OpenCVFindFrameworks.cmake | ||
OpenCVFindIPP.cmake | ||
OpenCVFindIPPIW.cmake | ||
OpenCVFindLAPACK.cmake | ||
OpenCVFindLATEX.cmake | ||
OpenCVFindLibsGrfmt.cmake | ||
OpenCVFindLibsGUI.cmake | ||
OpenCVFindLibsPerf.cmake | ||
OpenCVFindLibsVideo.cmake | ||
OpenCVFindMKL.cmake | ||
OpenCVFindOpenBLAS.cmake | ||
OpenCVFindOpenEXR.cmake | ||
OpenCVFindProtobuf.cmake | ||
OpenCVFindTengine.cmake | ||
OpenCVFindTIMVX.cmake | ||
OpenCVFindVA.cmake | ||
OpenCVFindWebP.cmake | ||
OpenCVFindXimea.cmake | ||
OpenCVGenABI.cmake | ||
OpenCVGenAndroidMK.cmake | ||
OpenCVGenConfig.cmake | ||
OpenCVGenHeaders.cmake | ||
OpenCVGenInfoPlist.cmake | ||
OpenCVGenPkgconfig.cmake | ||
OpenCVGenSetupVars.cmake | ||
OpenCVInstallLayout.cmake | ||
OpenCVMinDepVersions.cmake | ||
OpenCVModule.cmake | ||
OpenCVPackaging.cmake | ||
OpenCVPCHSupport.cmake | ||
OpenCVPluginStandalone.cmake | ||
OpenCVPylint.cmake | ||
OpenCVUtils.cmake | ||
OpenCVVersion.cmake |