-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
received error Execution failed for task ':cppLibsBuildRelease'. #468
Comments
Have you installed Qt? qmake should be in the path in tools/autobuild/detect_qmake.sh. Please check raw build logs to see actual error. |
hi,Thank you for help me,but this error Remains |
Is Android NDK also installed and set up correctly, according to documentation? |
yes,Installed correctly!
|
Have you run ./configure.sh script from the repository root? Do you have
If it does not help, please share raw build logs. The error message you already shared is not enough, need to see the exact command which fails. |
create private.h in omim folder and import project but show this error i install cygwin for win,it is can help me? |
So, you didn’t run ./configure.sh (or do what it does manually), and that was the reason of non-working compilation. Now you can try workaround by manually creating file secure.properties in android folder with content
|
this in my full log error
please help me,im sorry |
this error show when runing project |
Your error log is not a complete one. It says at the end: |
ok,this is console error Configuration on demand is an incubating feature. :3rd_party:BottomSheet:extractReleaseAnnotations C:\Users\beroz\Desktop\omim-master\android\res\values-zh-rHK\strings.xml:1:1: Error: Content is not allowed in prolog. FAILURE: Build failed with an exception.
BUILD FAILED Total time: 1 mins 39.259 secs Configuration on demand is an incubating feature. FAILED FAILURE: Build failed with an exception.
BUILD FAILED Total time: 1 mins 6.569 secs Configuration on demand is an incubating feature. FAILURE: Build failed with an exception.
BUILD FAILED Total time: 54.559 secs |
I think that this error is related to the field task cppLibsBuildReleaseArm(type: Exec, description: 'Building RELEASE/PRODUCTION version of static C++ libraries (ARM only)') { task cppLibsBuildReleaseIntel(type: Exec, description: 'Building RELEASE/PRODUCTION version of static C++ libraries (x86 only)') { |
Thank you for answering the questions |
First of all, we do NOT officially support build under Windows.
|
Your issue looks similar to this one: http://stackoverflow.com/questions/23438375/android-studio-gradle-errors-content-not-allowed-in-prolog |
@deathbaba No, this happens if you do not replace symbolic links under Windows. |
@adelta Does it work? If yes, can you please close issue? |
@deathbaba hi,not work for me! |
What about @trashkalmar solution? |
export QTCHOOSER_RUNTOOL=qtconfig |
I've received an error when compiling the project Please advise
Execution failed for task ':cppLibsBuildRelease'.
The text was updated successfully, but these errors were encountered: