-
Notifications
You must be signed in to change notification settings - Fork 158
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
Execution failed both in windows and manjaro #128
Comments
No idea how to get libsodium to compile on windows, it's not one of the
environments we use ourselves.
That's odd, the rule for adhoc-NOPIE is certainly there;
https://github.com/servalproject/batphone/blob/development/app/src/main/jni/adhoc-edify/Android.mk#L24
…On Sat, Jul 8, 2017 at 5:30 AM, Freizagen ***@***.***> wrote:
Please help me compile this project. If my info is not sufficient, please
let me know.
In windows 7 x64, android studio 2.3.3, and NDK 15.1
I am getting:
1. FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':app:libsodiumBuild'.
A problem occurred starting process 'command 'dist-build/android-arm.sh''
In Manjaro x64, android studio 2.3.3, and NDK 15.1
1. Execution failed for task ':app:buildDebugNdk'.
Process 'command '/home/freiza/Android/Sdk/ndk-bundle/ndk-build''
finished with non-zero exit value 2
1. make: *** No rule to make target /home/freiza/Documents/
android/apples/batphone/app/src/main/libs/armeabi/adhoc-NOPIE', needed
byinstalled_modules'. Stop.
Stacktrace:
https://pastebin.com/ZjUvJ6hz
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#128>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAkD3oXjFnHTTtbBmyydbdc1eoGSqltdks5sLo5ZgaJpZM4ORX-P>
.
|
I have no folder called libs and armeabi, and nothing called adhoc-NOPIE in my project files. Do I need some external libraries. I followed your install instruction precisely. |
Any odd whitespace characters in your checked out version of the above
Android.mk? I mean, did you copy it from windows with '\r\n' line endings?
…On Sat, Jul 8, 2017 at 8:25 PM, Freizagen ***@***.***> wrote:
I have no folder called libs and armeabi, and nothing called adhoc-NOPIE
in my project files. Do I need some external libraries. I followed your
install instruction precisely.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#128 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAkD3grVVqG2zuxku-S6J3roZterqLTYks5sL2AjgaJpZM4ORX-P>
.
|
No, I clone in manjaro, according to what it stated in install.md. |
I changed adhoc-NOPIE to adhoc--NOPIESX in Android.mk, now the error says |
I was intending to try a clean build with the latest ndk when back at work
on monday. Perhaps something has changed that makes the build more
sensitive to paths....
…On Sat, Jul 8, 2017 at 9:49 PM, Freizagen ***@***.***> wrote:
I changed adhoc-NOPIE to adhoc--NOPIESX in Android.mk, now the error says
make: *** No rule to make target /home/freiza/Documents/
android/apples/batphone/app/src/main/libs/armeabi/adhoc-NOPIESX', needed
byinstalled_modules'. Stop.
From this I guess, the problem is that it needs some other rule to
compile. The line you showed me requires some more rules. Please try a
fresh clone and build yourself.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#128 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAkD3icMmDMvdbi693FOuvac1DSKSkUXks5sL3O0gaJpZM4ORX-P>
.
|
Thank You so much, I owe you. |
I haven't been able to reproduce with ndk 15b (linux 64bit). Perhaps running this will reveal what the problem is;
|
Android NDK: ERROR:/home/freiza/Documents/one/lasttry/batphone/app/src/main/jni/opus/Android.mk:sodium: LOCAL_SRC_FILES points to a missing file |
I was assuming you'd kept the folder where you had attempted the android studio / gradle build that should compile libsodium.a .... |
I didn't understand your first statement. If you can tell me your os and android studio version, I will install that and try again. |
It is very difficult to ask, but can you make a video or screenshot, for a fresh clone and install, so that I can follow. It appears the problem is with others too. Issue registered previous to me had the same problem. If you can't that's alright too. |
Or is it possible that you include libsodium.a and include it in appropriate directory, so that we do not have to build it ourselves? |
As per INSTALL.md;
Should be enough, if you have installed all dependencies. I have repeated the last step today, on debian testing, with the latest ndk, in a completely clean working directory ($ git clean -xdf), and didn't reproduce your problem. If for some reason libsodium.a is still not being built, then you could try manually running that task;
This should work for any (at least linux) version of the ndk after revision 14. |
Okay, trying on freshly installed linux mint, and freshly installed android studio. Will report you tomorrow. Thank You |
Error: On freshly installed Linux mint 64bit
So, I changed, if (!payload_flags & 1) to if (!(payload_flags & 1)) or if((!payload_flags) & 1)), this solved the error, but now
The above errors are for assembleDebug, For assembleRelease when I change , if (!payload_flags & 1) to if (!(payload_flags & 1)) or if((!payload_flags) & 1)) then
And also adhoc-NOPIE problem still remains
But apk is generated, but bluetooth, wifi or any other features are not working. though all features from the apk downloaded from play store works fine. |
f83b15d2 Compile without warnings with android ndk 15 beta 2
I need to move the submodule revision for building with the latest ndk, but haven't gotten around to it yet. |
It would sound strange, but after adding -w flag in android.mk in both jni and sevral_dna. |
I find it useful to run;
To quickly capture all of our logging output, without any of the clutter that other apps log as well. |
Please help me compile this project. If my info is not sufficient, please let me know.
In windows 7 x64, android studio 2.3.3, and NDK 15.1
I am getting:
Execution failed for task ':app:libsodiumBuild'.
In Manjaro x64, android studio 2.3.3, and NDK 15.1
/home/freiza/Documents/android/apples/batphone/app/src/main/libs/armeabi/adhoc-NOPIE', needed by
installed_modules'. Stop.Stacktrace:
https://pastebin.com/ZjUvJ6hz
The text was updated successfully, but these errors were encountered: