artetxem / mitzuli

The open, easy-to-use and powerful translator app for Android
http://www.mitzuli.com
GNU General Public License v2.0
163 stars 67 forks source link

Gradle Setup Error on Android Studio #31

Open mokeam opened 7 years ago

mokeam commented 7 years ago

`Information:Gradle tasks [:app:generateDebugSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:generateDebugAndroidTestSources, :libraries:cropper:generateDebugSources, :libraries:cropper:generateDebugAndroidTestSources, :libraries:cropper:mockableAndroidJar, :libraries:cropper:prepareDebugUnitTestDependencies, :libraries:opencv:generateDebugSources, :libraries:opencv:mockableAndroidJar, :libraries:opencv:prepareDebugUnitTestDependencies, :libraries:opencv:generateDebugAndroidTestSources, :libraries:tesseract-android-tools:generateDebugSources, :libraries:tesseract-android-tools:mockableAndroidJar, :libraries:tesseract-android-tools:prepareDebugUnitTestDependencies, :libraries:tesseract-android-tools:generateDebugAndroidTestSources] :app:preBuild UP-TO-DATE :app:preDebugBuild UP-TO-DATE :app:checkDebugManifest :app:preReleaseBuild UP-TO-DATE :libraries:axmlrpc:compileJava UP-TO-DATE :libraries:axmlrpc:processResources UP-TO-DATE :libraries:axmlrpc:classes UP-TO-DATE :libraries:axmlrpc:jar UP-TO-DATE :libraries:cropper:preBuild UP-TO-DATE :libraries:cropper:preReleaseBuild UP-TO-DATE :libraries:cropper:checkReleaseManifest :libraries:cropper:prepareReleaseDependencies :libraries:cropper:compileReleaseAidl UP-TO-DATE :libraries:cropper:compileReleaseNdk UP-TO-DATE :libraries:cropper:compileLint UP-TO-DATE :libraries:cropper:copyReleaseLint UP-TO-DATE :libraries:cropper:mergeReleaseShaders UP-TO-DATE :libraries:cropper:compileReleaseShaders UP-TO-DATE :libraries:cropper:generateReleaseAssets UP-TO-DATE :libraries:cropper:mergeReleaseAssets UP-TO-DATE :libraries:cropper:mergeReleaseProguardFiles UP-TO-DATE :libraries:cropper:packageReleaseRenderscript UP-TO-DATE :libraries:cropper:compileReleaseRenderscript UP-TO-DATE :libraries:cropper:generateReleaseResValues UP-TO-DATE :libraries:cropper:generateReleaseResources UP-TO-DATE :libraries:cropper:packageReleaseResources UP-TO-DATE :libraries:cropper:processReleaseManifest UP-TO-DATE :libraries:cropper:generateReleaseBuildConfig UP-TO-DATE :libraries:cropper:processReleaseResources UP-TO-DATE :libraries:cropper:generateReleaseSources UP-TO-DATE :libraries:cropper:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE :libraries:cropper:compileReleaseJavaWithJavac UP-TO-DATE :libraries:cropper:processReleaseJavaRes UP-TO-DATE :libraries:cropper:transformResourcesWithMergeJavaResForRelease UP-TO-DATE :libraries:cropper:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE :libraries:cropper:mergeReleaseJniLibFolders UP-TO-DATE :libraries:cropper:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE :libraries:cropper:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE :libraries:cropper:bundleRelease UP-TO-DATE :libraries:lttoolbox-java:compileJava UP-TO-DATE :libraries:lttoolbox-java:processResources UP-TO-DATE :libraries:lttoolbox-java:classes UP-TO-DATE :libraries:lttoolbox-java:jar UP-TO-DATE :libraries:opencv:preBuild UP-TO-DATE :libraries:opencv:preReleaseBuild UP-TO-DATE :libraries:opencv:checkReleaseManifest :libraries:opencv:prepareReleaseDependencies :libraries:opencv:compileReleaseAidl UP-TO-DATE :libraries:opencv:compileReleaseNdk UP-TO-DATE :libraries:opencv:compileLint UP-TO-DATE :libraries:opencv:copyReleaseLint UP-TO-DATE :libraries:opencv:mergeReleaseShaders UP-TO-DATE :libraries:opencv:compileReleaseShaders UP-TO-DATE :libraries:opencv:generateReleaseAssets UP-TO-DATE :libraries:opencv:mergeReleaseAssets UP-TO-DATE :libraries:opencv:mergeReleaseProguardFiles UP-TO-DATE :libraries:opencv:packageReleaseRenderscript UP-TO-DATE :libraries:opencv:compileReleaseRenderscript UP-TO-DATE :libraries:opencv:generateReleaseResValues UP-TO-DATE :libraries:opencv:generateReleaseResources UP-TO-DATE :libraries:opencv:packageReleaseResources UP-TO-DATE :libraries:opencv:processReleaseManifest UP-TO-DATE :libraries:opencv:extractNativeLibs UP-TO-DATE :libraries:opencv:generateReleaseBuildConfig UP-TO-DATE :libraries:opencv:processReleaseResources UP-TO-DATE :libraries:opencv:generateReleaseSources UP-TO-DATE :libraries:opencv:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE :libraries:opencv:compileReleaseJavaWithJavac UP-TO-DATE :libraries:opencv:processReleaseJavaRes UP-TO-DATE :libraries:opencv:transformResourcesWithMergeJavaResForRelease UP-TO-DATE :libraries:opencv:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE :libraries:opencv:mergeReleaseJniLibFolders UP-TO-DATE :libraries:opencv:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE :libraries:opencv:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE :libraries:opencv:bundleRelease UP-TO-DATE :libraries:tesseract-android-tools:preBuild UP-TO-DATE :libraries:tesseract-android-tools:preReleaseBuild UP-TO-DATE :libraries:tesseract-android-tools:checkReleaseManifest :libraries:tesseract-android-tools:prepareReleaseDependencies :libraries:tesseract-android-tools:compileReleaseAidl UP-TO-DATE :libraries:tesseract-android-tools:compileReleaseNdk UP-TO-DATE :libraries:tesseract-android-tools:compileLint UP-TO-DATE :libraries:tesseract-android-tools:copyReleaseLint UP-TO-DATE :libraries:tesseract-android-tools:mergeReleaseShaders UP-TO-DATE :libraries:tesseract-android-tools:compileReleaseShaders UP-TO-DATE :libraries:tesseract-android-tools:generateReleaseAssets UP-TO-DATE :libraries:tesseract-android-tools:mergeReleaseAssets UP-TO-DATE :libraries:tesseract-android-tools:mergeReleaseProguardFiles UP-TO-DATE :libraries:tesseract-android-tools:packageReleaseRenderscript UP-TO-DATE :libraries:tesseract-android-tools:compileReleaseRenderscript UP-TO-DATE :libraries:tesseract-android-tools:generateReleaseResValues UP-TO-DATE :libraries:tesseract-android-tools:generateReleaseResources UP-TO-DATE :libraries:tesseract-android-tools:packageReleaseResources UP-TO-DATE :libraries:tesseract-android-tools:processReleaseManifest UP-TO-DATE :libraries:tesseract-android-tools:generateReleaseBuildConfig UP-TO-DATE :libraries:tesseract-android-tools:processReleaseResources UP-TO-DATE :libraries:tesseract-android-tools:generateReleaseSources UP-TO-DATE :libraries:tesseract-android-tools:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE :libraries:tesseract-android-tools:ndkBuild /home/mokeam/Android/Sdk/ndk-bundle/build/ndk-build: 3: /home/mokeam/Android/Sdk/ndk-bundle/build/ndk-build: /home/mokeam/Android/Sdk/ndk-bundle/build/build/ndk-build: not found Error:Execution failed for task ':libraries:tesseract-android-tools:ndkBuild'.

Process 'command '/home/mokeam/Android/Sdk/ndk-bundle/ndk-build'' finished with non-zero exit value 127 Information:BUILD FAILED Information:Total time: 1.229 secs Information:1 error Information:0 warnings Information:See complete output in `console``

This is the error i got when trying to run the project,please help me fix this.

dhvani023 commented 7 years ago

get also same error Error:Execution failed for task ':tesseract-android-tools:ndkBuild'.

A problem occurred starting process 'command 'ndk-bundle/ndk-build''