-
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
When I build the project, I get the problem , that the file, libsodium.a, is missing. #127
Comments
The gradle task libsodiumBuild should compile that file, and should be a dependency of buildDebugNdk. So I'm not sure why this isn't working for you. |
Thanks @lakeman . I use the Ubuntu, whose version is 16.04.2, I get the problem . I have no idea how to solve the problem on the Ubuntu-16.04.2. so, I can build APK successfully , when I use : |
liubsodium requires ndk r14 or later, however there's a bug in r14 that
affects building opus for voice calls. You should use ndk r15 beta 2 or
later.
…On Mon, Jun 12, 2017 at 4:36 PM, AimeeChen ***@***.***> wrote:
Thanks @lakeman <https://github.com/lakeman> . I use the Ubuntu, whose
version is 16.04.2, I get the problem . I have no idea how to solve the
problem on the Ubuntu-16.04.2. so, I can build APK successfully , when I
use :
Ubuntu : 14.04.5,
JDK : android-ndk-r13b-linux-x86_64
Android Studio IDE
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#127 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAkD3gkorBTmYQq2Hia-ykn-UjpKg5K7ks5sDONugaJpZM4N0_z2>
.
|
@AimeeChen: Did you solve your problem? |
I'm running into the same problem the file is supposed to be at: |
The native build tasks were changed to use the builtin native tasks, eg externalNativeBuildDebug; 65066f8#diff-39e7d8c00954e920b98e7636f0ac30b2 There's a few things going on here that look a bit iffy. app/build.gradle should be building libsodium-android-armv7-a/lib/libsodium.a and has set an externalNativeBuild abi filter of "armeabi-v7a". jni/Application.mk also defines the APP_ABI's to use as armeabi-v7a. jni/Android.mk tries to map that to the pre-compiled libsodium.a via SODIUM_BASE, but doesn't have a test for armeabi-v7a. So I think you should be seeing a missing libsodium-android-armeabi-v7a/lib/libsodium.a instead of armv6, which is a little puzzling. Building libsodium uses make_standalone_toolchain.py to install a complete android ndk toolchain which probably accounts for the disk usage. |
@lakeman I have the same problem, but as you said the error is a missing libsodium-android-armeabi-v7a/lib/libsodium.a . And my ndk.dir points to revision 14b as it mentions in the known issues section in install.md What should I do to fix the problem?! |
I can only suggest that you update to the latest ndk. Also this should be fixed by e8941bd. |
With the fix, this now even works on the 15c ndk. Thanks @lakeman!
…On Tue, Aug 14, 2018 at 6:09 AM Jeremy Lakeman ***@***.***> wrote:
I can only suggest that you update to the latest ndk.
Also this should be fixed by e8941bd
<e8941bd>
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#127 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AD8djrb2SoCm0Fj4jE6YjcPf_4ZelJWVks5uQhxHgaJpZM4N0_z2>
.
|
I build the project on the Ubuntu, I get this problem:
Android NDK:ERROR:opus/Android.mk:sodium: LOCAL_SRC_FILES points ti a missing file
Android NDK:Check that ./libsodium/libsodium-android-armv6/lib/libsodium.a exists or path is correct
make: Entering directory 'batphone/app/src/main/jni'
ndk/android-ndk-r14b/build/core/prebuilt-library.mk:45:*** Android NDK. Stop.
make: Leaving directory 'batphone/app/src/main/jni'
:app:buildDebugNdk FAILED
The text was updated successfully, but these errors were encountered: