Error:Failed to complete Gradle execution.
Closed this issue · 6 comments
i use macOS 10.13.3 with AS 3.1
Cause:
The version of Gradle you are using (3.3) does not support the forTasks() method on BuildActionExecuter. Support for this is available in Gradle 3.5 and all later versions.
and i changed the gradle-wrappper.properties
from
distributionUrl=https://services.gradle.org/distributions/gradle-3.3-all.zip
to
distributionUrl=https://services.gradle.org/distributions/gradle-3.5-all.zip
when i build apk. i received this
Information:Gradle tasks [:assembleArm7Debug]
Warning:WARNING: Dependency org.json:json:20090211 is ignored for arm7Debug as it may be conflicting with the internal version provided by Android.
Warning:WARNING: Dependency org.json:json:20090211 is ignored for arm7Release as it may be conflicting with the internal version provided by Android.
Warning:WARNING: Dependency org.json:json:20090211 is ignored for x86Debug as it may be conflicting with the internal version provided by Android.
Warning:WARNING: Dependency org.json:json:20090211 is ignored for x86Release as it may be conflicting with the internal version provided by Android.
/Users/hy/Desktop/android-ndk-r15c/sources/cxx-stl/llvm-libc++/include/vector
Information:(458, 29) 'std::vector' declared here
/Users/hy/Desktop/openFrameworks/libs/openFrameworks/graphics/ofGraphicsBaseTypes.h
Information:(11, 7) template is declared here
/Users/hy/Desktop/openFrameworks/addons/ofxAndroidMobileVision/src/ofxAndroidMobileVision.h
Error:(18, 2) error: no template named 'vector'; did you mean 'std::vector'?
Error:(18, 9) error: use of undeclared identifier 'ofVec2f'
Error:(22, 11) error: implicit instantiation of undefined template 'ofPixels_'
Error:(39, 2) error: no template named 'vector'; did you mean 'std::vector'?
Error:(48, 18) error: no template named 'vector'; did you mean 'std::vector'?
Error:(50, 2) error: no template named 'vector'; did you mean 'std::vector'?
/Users/hy/Desktop/openFrameworks/addons/ofxAndroidMobileVision/src/ofxAndroidMobileVision.cpp
Error:(10, 9) error: use of undeclared identifier 'ofLogNotice'
Error:(16, 9) error: use of undeclared identifier 'ofLogNotice'
Error:(23, 9) error: use of undeclared identifier 'ofLogError'
Error:(29, 9) error: use of undeclared identifier 'ofLogError'
Error:(35, 9) error: use of undeclared identifier 'ofLogError'
Error:(52, 9) error: use of undeclared identifier 'ofLogError'
Error:(59, 9) error: use of undeclared identifier 'ofLogError'
Error:(98, 1) error: no template named 'vector'; did you mean 'std::vector'?
Error:(104, 9) error: use of undeclared identifier 'ofLogError'
Error:(111, 9) error: use of undeclared identifier 'ofLogError'
Error:(115, 46) error: implicit instantiation of undefined template 'ofPixels_'
Error:(116, 44) error: implicit instantiation of undefined template 'ofPixels_'
Error:(116, 80) error: implicit instantiation of undefined template 'ofPixels_'
Error:Execution failed for task ':compileOFAndroidAppArmeabi-v7aDebugArm7SharedLibraryOFAndroidAppArmeabi-v7aDebugArm7SharedLibraryMainCpp'.
A build operation failed.
C++ compiler failed while compiling ofxAndroidMobileVision.cpp.
See the complete log at: file:///Users/hy/Desktop/openFrameworks/apps/devApps/gmojiAndroid/build/tmp/compileOFAndroidAppArmeabi-v7aDebugArm7SharedLibraryOFAndroidAppArmeabi-v7aDebugArm7SharedLibraryMainCpp/output.txt
Information:BUILD FAILED
Information:Total time: 52.748 secs
Information:20 errors
Information:4 warnings
Information:See complete output in console
Thanks!
But followed your instruction , i got these :
`Information:Gradle tasks [:assembleArm7Debug]
Warning:WARNING: Dependency org.json:json:20090211 is ignored for arm7Debug as it may be conflicting with the internal version provided by Android.
Warning:WARNING: Dependency org.json:json:20090211 is ignored for arm7Release as it may be conflicting with the internal version provided by Android.
Warning:WARNING: Dependency org.json:json:20090211 is ignored for x86Debug as it may be conflicting with the internal version provided by Android.
Warning:WARNING: Dependency org.json:json:20090211 is ignored for x86Release as it may be conflicting with the internal version provided by Android.
/Users/hy/Desktop/android-ndk-r15c/sources/android/support/include/wchar.h
Information:(128, 10) 'wmemcpy' declared here
Information:(129, 10) 'wmemmove' declared here
Information:(127, 5) 'wmemcmp' declared here
Information:(126, 10) 'wmemchr' declared here
/Users/hy/Desktop/android-ndk-r15c/sources/cxx-stl/llvm-libc++/include/cstring
Error:(70, 9) error: no member named 'memcpy' in the global namespace; did you mean 'wmemcpy'?
Error:(71, 9) error: no member named 'memmove' in the global namespace; did you mean 'wmemmove'?
Error:(72, 9) error: no member named 'strcpy' in the global namespace
Error:(73, 9) error: no member named 'strncpy' in the global namespace
Error:(74, 9) error: no member named 'strcat' in the global namespace
Error:(75, 9) error: no member named 'strncat' in the global namespace
Error:(76, 9) error: no member named 'memcmp' in the global namespace; did you mean 'wmemcmp'?
Error:(77, 9) error: no member named 'strcmp' in the global namespace
Error:(78, 9) error: no member named 'strncmp' in the global namespace
Error:(79, 9) error: no member named 'strcoll' in the global namespace
Error:(80, 9) error: no member named 'strxfrm' in the global namespace
Error:(81, 9) error: no member named 'memchr' in the global namespace; did you mean 'wmemchr'?
Error:(82, 9) error: no member named 'strchr' in the global namespace
Error:(83, 9) error: no member named 'strcspn' in the global namespace
Error:(84, 9) error: no member named 'strpbrk' in the global namespace
Error:(85, 9) error: no member named 'strrchr' in the global namespace
Error:(86, 9) error: no member named 'strspn' in the global namespace
Error:(87, 9) error: no member named 'strstr' in the global namespace
Error:(89, 9) error: no member named 'strtok' in the global namespace
Error:(70, 9) error: no member named 'memcpy' in the global namespace; did you mean 'wmemcpy'?
Error:(71, 9) error: no member named 'memmove' in the global namespace; did you mean 'wmemmove'?
Error:(72, 9) error: no member named 'strcpy' in the global namespace
Error:(73, 9) error: no member named 'strncpy' in the global namespace
Error:(74, 9) error: no member named 'strcat' in the global namespace
Error:(75, 9) error: no member named 'strncat' in the global namespace
Error:(76, 9) error: no member named 'memcmp' in the global namespace; did you mean 'wmemcmp'?
Error:(77, 9) error: no member named 'strcmp' in the global namespace
Error:(78, 9) error: no member named 'strncmp' in the global namespace
Error:(79, 9) error: no member named 'strcoll' in the global namespace
Error:(80, 9) error: no member named 'strxfrm' in the global namespace
Error:(81, 9) error: no member named 'memchr' in the global namespace; did you mean 'wmemchr'?
Error:(82, 9) error: no member named 'strchr' in the global namespace
Error:(83, 9) error: no member named 'strcspn' in the global namespace
Error:(84, 9) error: no member named 'strpbrk' in the global namespace
Error:(85, 9) error: no member named 'strrchr' in the global namespace
Error:(86, 9) error: no member named 'strspn' in the global namespace
Error:(87, 9) error: no member named 'strstr' in the global namespace
Error:(89, 9) error: no member named 'strtok' in the global namespace
Error:(70, 9) error: no member named 'memcpy' in the global namespace; did you mean 'wmemcpy'?
Error:(71, 9) error: no member named 'memmove' in the global namespace; did you mean 'wmemmove'?
Error:(72, 9) error: no member named 'strcpy' in the global namespace
Error:(73, 9) error: no member named 'strncpy' in the global namespace
Error:(74, 9) error: no member named 'strcat' in the global namespace
Error:(75, 9) error: no member named 'strncat' in the global namespace
Error:(76, 9) error: no member named 'memcmp' in the global namespace; did you mean 'wmemcmp'?
Error:(77, 9) error: no member named 'strcmp' in the global namespace
Error:(78, 9) error: no member named 'strncmp' in the global namespace
Error:(79, 9) error: no member named 'strcoll' in the global namespace
Error:(80, 9) error: no member named 'strxfrm' in the global namespace
Error:(81, 9) error: no member named 'memchr' in the global namespace; did you mean 'wmemchr'?
Error:(82, 9) error: no member named 'strchr' in the global namespace
Error:(83, 9) error: no member named 'strcspn' in the global namespace
Error:(84, 9) error: no member named 'strpbrk' in the global namespace
Error:(85, 9) error: no member named 'strrchr' in the global namespace
Error:(86, 9) error: no member named 'strspn' in the global namespace
Error:(87, 9) error: no member named 'strstr' in the global namespace
Error:(89, 9) error: no member named 'strtok' in the global namespace
Error:(70, 9) error: no member named 'memcpy' in the global namespace; did you mean 'wmemcpy'?
Error:(71, 9) error: no member named 'memmove' in the global namespace; did you mean 'wmemmove'?
Error:(72, 9) error: no member named 'strcpy' in the global namespace
Error:(73, 9) error: no member named 'strncpy' in the global namespace
Error:(74, 9) error: no member named 'strcat' in the global namespace
Error:(75, 9) error: no member named 'strncat' in the global namespace
Error:(76, 9) error: no member named 'memcmp' in the global namespace; did you mean 'wmemcmp'?
Error:(77, 9) error: no member named 'strcmp' in the global namespace
Error:(78, 9) error: no member named 'strncmp' in the global namespace
Error:(79, 9) error: no member named 'strcoll' in the global namespace
Error:(80, 9) error: no member named 'strxfrm' in the global namespace
Error:(81, 9) error: no member named 'memchr' in the global namespace; did you mean 'wmemchr'?
Error:(82, 9) error: no member named 'strchr' in the global namespace
Error:(83, 9) error: no member named 'strcspn' in the global namespace
Error:(84, 9) error: no member named 'strpbrk' in the global namespace
Error:(85, 9) error: no member named 'strrchr' in the global namespace
Error:(86, 9) error: no member named 'strspn' in the global namespace
Error:(87, 9) error: no member named 'strstr' in the global namespace
Error:(89, 9) error: no member named 'strtok' in the global namespace
Error:(70, 9) error: no member named 'memcpy' in the global namespace; did you mean 'wmemcpy'?
Error:(71, 9) error: no member named 'memmove' in the global namespace; did you mean 'wmemmove'?
Error:(72, 9) error: no member named 'strcpy' in the global namespace
Error:(73, 9) error: no member named 'strncpy' in the global namespace
Error:(74, 9) error: no member named 'strcat' in the global namespace
Error:(75, 9) error: no member named 'strncat' in the global namespace
Error:(76, 9) error: no member named 'memcmp' in the global namespace; did you mean 'wmemcmp'?
Error:(77, 9) error: no member named 'strcmp' in the global namespace
Error:(78, 9) error: no member named 'strncmp' in the global namespace
Error:(79, 9) error: no member named 'strcoll' in the global namespace
Error:(80, 9) error: no member named 'strxfrm' in the global namespace
Error:(81, 9) error: no member named 'memchr' in the global namespace; did you mean 'wmemchr'?
Error:(82, 9) error: no member named 'strchr' in the global namespace
Error:(83, 9) error: no member named 'strcspn' in the global namespace
Error:(84, 9) error: no member named 'strpbrk' in the global namespace
Error:(85, 9) error: no member named 'strrchr' in the global namespace
Error:(86, 9) error: no member named 'strspn' in the global namespace
Error:(87, 9) error: no member named 'strstr' in the global namespace
Error:(89, 9) error: no member named 'strtok' in the global namespace
Error:(70, 9) error: no member named 'memcpy' in the global namespace; did you mean 'wmemcpy'?
Error:(71, 9) error: no member named 'memmove' in the global namespace; did you mean 'wmemmove'?
Error:(72, 9) error: no member named 'strcpy' in the global namespace
Error:(73, 9) error: no member named 'strncpy' in the global namespace
Error:(74, 9) error: no member named 'strcat' in the global namespace
Error:(75, 9) error: no member named 'strncat' in the global namespace
Error:(76, 9) error: no member named 'memcmp' in the global namespace; did you mean 'wmemcmp'?
Error:(77, 9) error: no member named 'strcmp' in the global namespace
Error:(78, 9) error: no member named 'strncmp' in the global namespace
Error:(79, 9) error: no member named 'strcoll' in the global namespace
Error:(80, 9) error: no member named 'strxfrm' in the global namespace
Error:(81, 9) error: no member named 'memchr' in the global namespace; did you mean 'wmemchr'?
Error:(82, 9) error: no member named 'strchr' in the global namespace
Error:(83, 9) error: no member named 'strcspn' in the global namespace
Error:(84, 9) error: no member named 'strpbrk' in the global namespace
Error:(85, 9) error: no member named 'strrchr' in the global namespace
Error:(86, 9) error: no member named 'strspn' in the global namespace
Error:(87, 9) error: no member named 'strstr' in the global namespace
Error:(89, 9) error: no member named 'strtok' in the global namespace
Error:(70, 9) error: no member named 'memcpy' in the global namespace; did you mean 'wmemcpy'?
Error:(71, 9) error: no member named 'memmove' in the global namespace; did you mean 'wmemmove'?
Error:(72, 9) error: no member named 'strcpy' in the global namespace
Error:(73, 9) error: no member named 'strncpy' in the global namespace
Error:(74, 9) error: no member named 'strcat' in the global namespace
Error:(75, 9) error: no member named 'strncat' in the global namespace
Error:(76, 9) error: no member named 'memcmp' in the global namespace; did you mean 'wmemcmp'?
Error:(77, 9) error: no member named 'strcmp' in the global namespace
Error:(78, 9) error: no member named 'strncmp' in the global namespace
Error:(79, 9) error: no member named 'strcoll' in the global namespace
Error:(80, 9) error: no member named 'strxfrm' in the global namespace
Error:(81, 9) error: no member named 'memchr' in the global namespace; did you mean 'wmemchr'?
Error:(82, 9) error: no member named 'strchr' in the global namespace
Error:(83, 9) error: no member named 'strcspn' in the global namespace
Error:(84, 9) error: no member named 'strpbrk' in the global namespace
Error:(85, 9) error: no member named 'strrchr' in the global namespace
Error:(86, 9) error: no member named 'strspn' in the global namespace
Error:(87, 9) error: no member named 'strstr' in the global namespace
Error:(89, 9) error: no member named 'strtok' in the global namespace
Error:(70, 9) error: no member named 'memcpy' in the global namespace; did you mean 'wmemcpy'?
Error:(71, 9) error: no member named 'memmove' in the global namespace; did you mean 'wmemmove'?
Error:(72, 9) error: no member named 'strcpy' in the global namespace
Error:(73, 9) error: no member named 'strncpy' in the global namespace
Error:(74, 9) error: no member named 'strcat' in the global namespace
Error:(75, 9) error: no member named 'strncat' in the global namespace
Error:(76, 9) error: no member named 'memcmp' in the global namespace; did you mean 'wmemcmp'?
Error:(77, 9) error: no member named 'strcmp' in the global namespace
Error:(78, 9) error: no member named 'strncmp' in the global namespace
Error:(79, 9) error: no member named 'strcoll' in the global namespace
Error:(80, 9) error: no member named 'strxfrm' in the global namespace
Error:(81, 9) error: no member named 'memchr' in the global namespace; did you mean 'wmemchr'?
Error:(82, 9) error: no member named 'strchr' in the global namespace
Error:(83, 9) error: no member named 'strcspn' in the global namespace
Error:(84, 9) error: no member named 'strpbrk' in the global namespace
Error:(85, 9) error: no member named 'strrchr' in the global namespace
Error:(86, 9) error: no member named 'strspn' in the global namespace
Error:(87, 9) error: no member named 'strstr' in the global namespace
Error:(89, 9) error: no member named 'strtok' in the global namespace
Error:(70, 9) error: no member named 'memcpy' in the global namespace; did you mean 'wmemcpy'?
Error:(71, 9) error: no member named 'memmove' in the global namespace; did you mean 'wmemmove'?
Error:(72, 9) error: no member named 'strcpy' in the global namespace
Error:(73, 9) error: no member named 'strncpy' in the global namespace
Error:(74, 9) error: no member named 'strcat' in the global namespace
Error:(75, 9) error: no member named 'strncat' in the global namespace
Error:(76, 9) error: no member named 'memcmp' in the global namespace; did you mean 'wmemcmp'?
Error:(77, 9) error: no member named 'strcmp' in the global namespace
Error:(78, 9) error: no member named 'strncmp' in the global namespace
Error:(79, 9) error: no member named 'strcoll' in the global namespace
Error:(80, 9) error: no member named 'strxfrm' in the global namespace
Error:(81, 9) error: no member named 'memchr' in the global namespace; did you mean 'wmemchr'?
Error:(82, 9) error: no member named 'strchr' in the global namespace
Error:(83, 9) error: no member named 'strcspn' in the global namespace
Error:(84, 9) error: no member named 'strpbrk' in the global namespace
Error:(85, 9) error: no member named 'strrchr' in the global namespace
Error:(86, 9) error: no member named 'strspn' in the global namespace
Error:(87, 9) error: no member named 'strstr' in the global namespace
Error:(89, 9) error: no member named 'strtok' in the global namespace
Error:(70, 9) error: no member named 'memcpy' in the global namespace; did you mean 'wmemcpy'?
Error:(71, 9) error: no member named 'memmove' in the global namespace; did you mean 'wmemmove'?
Error:(72, 9) error: no member named 'strcpy' in the global namespace
Error:(73, 9) error: no member named 'strncpy' in the global namespace
Error:(74, 9) error: no member named 'strcat' in the global namespace
Error:(75, 9) error: no member named 'strncat' in the global namespace
Error:(76, 9) error: no member named 'memcmp' in the global namespace; did you mean 'wmemcmp'?
Error:(77, 9) error: no member named 'strcmp' in the global namespace
Error:(78, 9) error: no member named 'strncmp' in the global namespace
Error:(79, 9) error: no member named 'strcoll' in the global namespace
Error:(80, 9) error: no member named 'strxfrm' in the global namespace
Error:(81, 9) error: no member named 'memchr' in the global namespace; did you mean 'wmemchr'?
Error:(82, 9) error: no member named 'strchr' in the global namespace
Error:(83, 9) error: no member named 'strcspn' in the global namespace
Error:(84, 9) error: no member named 'strpbrk' in the global namespace
Error:(85, 9) error: no member named 'strrchr' in the global namespace
Error:(86, 9) error: no member named 'strspn' in the global namespace
Error:(87, 9) error: no member named 'strstr' in the global namespace
Error:(89, 9) error: no member named 'strtok' in the global namespace
Error:Execution failed for task ':compileOFAndroidAppArmeabi-v7aDebugArm7SharedLibraryOFAndroidAppArmeabi-v7aDebugArm7SharedLibraryMainCpp'.
Multiple build operations failed.
C++ compiler failed while compiling ofxAndroidSoundPlayer.cpp.
C++ compiler failed while compiling ofxAndroidVideoGrabber.cpp.
C++ compiler failed while compiling ofxAndroidUtils.cpp.
C++ compiler failed while compiling LandmarkTracker.cpp.
C++ compiler failed while compiling main.cpp.
C++ compiler failed while compiling ofApp.cpp.
C++ compiler failed while compiling ofxAndroidVibrator.cpp.
C++ compiler failed while compiling ofxAndroidSoundStream.cpp.
C++ compiler failed while compiling ofxAndroidAccelerometer.cpp.
C++ compiler failed while compiling ofAppAndroidWindow.cpp.
...and 28 more failures.
See the complete log at: file:///Users/hy/Desktop/openFrameworks-master/apps/devApps/gmojiAndroid/build/tmp/compileOFAndroidAppArmeabi-v7aDebugArm7SharedLibraryOFAndroidAppArmeabi-v7aDebugArm7SharedLibraryMainCpp/output.txt
Information:BUILD FAILED
Information:Total time: 57.381 secs
Information:191 errors
Information:4 warnings
Information:See complete output in console`
Could please tell me where to download of-0.10.0?
Can't find it from the link in readme.
Thanks!