-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
SDK Tools, Revision 25.3.0 and OpenCVDetectAndroidSDK.cmake #8460
Copy link
Copy link
Closed
Labels
category: build/installfeaturefutureThis issue can't be fixed during restrictions of the compatibility requirementsThis issue can't be fixed during restrictions of the compatibility requirementsplatform: android
Description
System information (version)
- OpenCV => 3.2.0
- Operating System / Platform => Gentoo / Android
- Compiler => Android NDK toolchain gcc
Detailed description
OpenCVDetectAndroidSDK.cmake doesn't detect an Android SDK after updating to the SDK Tools, Revision 25.3.0.
-- SDK target: android_sdk_target_status-NOTFOUND
-- android tool: NO~/Android/Sdk/tools/android
The android command is no longer available.
For manual SDK and AVD management, please use Android Studio.
For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanagerAn older version of the tools just werks.
https://developer.android.com/studio/releases/sdk-tools.html
SDK Tools, Revision 25.3.0 (March 2017)
...
Obsolete/deprecated tools have been removed:
android
ddms (instead see Using DDMS)
draw9patch (instead see Draw 9-patch)
hierarchyviewer (instead see Profile Your Layout with Hierarchy Viewer)
traceview (instead see Profiling with Traceview and dmtracedump)
ant scripts
Project and activity templates
Steps to reproduce
- Update SDK tools using an Android Studio
- Try to build an OpenCV for Android with Java wrappers and examples support.
alalek:
Current solution is to downgrade SDK Tools to the latest available version prior 25.3.0: 25.2.5. Direct download links are:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
category: build/installfeaturefutureThis issue can't be fixed during restrictions of the compatibility requirementsThis issue can't be fixed during restrictions of the compatibility requirementsplatform: android