Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

how to set ndk.dir in Android Studio. #7

Open
estimate123 opened this issue Jun 11, 2021 · 4 comments
Open

how to set ndk.dir in Android Studio. #7

estimate123 opened this issue Jun 11, 2021 · 4 comments

Comments

@estimate123
Copy link

I tried to set the ndk.dir to ‘ndk.dir=/android-ndk-r14b’ in Android Studio, it returned Error: location did not contan a valid NDK. I want to know how to set the ndk.dir in Android Studio? The ndk path inside docker is not available in Ubuntu environment.

@estimate123
Copy link
Author

estimate123 commented Jun 15, 2021

I installed android-ndk-r14b version ndk on my Ubuntu 16.04, and set ‘ndk.dir=/root/Android/android-ndk-r14b’, but I still got Error during the gradle sync process.
Error message is
"Error: Cause: executing native build for ndkBuild /home/lxl/docker/nemo/nemo/player/Exoplayer/extensions/vp9/src/main/jni/Android.mk"

please tell me how to fix this, thank you : )

@CaoFang98
Copy link

I installed android-ndk-r14b version ndk on my Ubuntu 16.04, and set ‘ndk.dir=/root/Android/android-ndk-r14b’, but I still got Error during the gradle sync process.
Error message is
"Error: Cause: executing native build for ndkBuild /home/lxl/docker/nemo/nemo/player/Exoplayer/extensions/vp9/src/main/jni/Android.mk"

please tell me how to fix this, thank you : )

I met the same error, have you fixed it?

1 similar comment
@fangtiancheng
Copy link

I installed android-ndk-r14b version ndk on my Ubuntu 16.04, and set ‘ndk.dir=/root/Android/android-ndk-r14b’, but I still got Error during the gradle sync process.
Error message is
"Error: Cause: executing native build for ndkBuild /home/lxl/docker/nemo/nemo/player/Exoplayer/extensions/vp9/src/main/jni/Android.mk"

please tell me how to fix this, thank you : )

I met the same error, have you fixed it?

@chaos5958
Copy link
Collaborator

Executing the Android application do not require the Docker environment.
So could you try the app installation this without it?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants