android-ndk Questions

12

Solved

I'm running into an Error when I open a new project in Android Studio from the Code Samples (Hello JIN). When the Project is opened the following: Build command failed. Error while executing proce...

4

Solved

Is there a means to find the ndk revision number ideally from the cmd line or from within android studio? My use case is android studio has run an update, replaced ndk-bundle with the latest versi...
Muscatel asked 14/4, 2016 at 12:51

7

Solved

So I've been getting these warnings in Unity 2019.410f1. Here's how it looks like: But when I go to Hub to fix this, those packages are already installed. However, there are no such folders in the...
Crowberry asked 18/9, 2021 at 9:32

5

Solved

I want to disable SELinux at boot time for Android L or 5. The reason is because my daemon is not begin executed on boot when it should due to SELinux problems. I have the following in my init.rc f...

5

I successfully compiled openssl using android ndk build and .so files are built successfully. I am trying to 'include' built .so files in an android project. Getting an error in below line: #inc...
Pappose asked 23/10, 2012 at 6:13

4

I'm working on a project that uses Flutter and Rust, and I'm trying to build it for Android. However, I'm facing an error related to arm-linux-androideabi-ranlib not being found. Here's the error m...
Kittiekittiwake asked 5/4, 2023 at 20:29

1

Both gdb 7.7 and gbd 7.11 missed some shared libraries when debugging my device (oppo r7s). I've pulled all libraries to local. Here is a complete list of libraries shown by info shared (gdb) info ...
Cyclades asked 5/2, 2018 at 3:3

1

I am trying to build OpenSSH for Android. I am using the current (as of this writing) version, which is 9.3p. Here what I do (mostly taken from Building OpenSSH for Android): export ANDROID_NDK_ROO...
Vallombrosa asked 31/5, 2023 at 20:12

6

I have a Device on which I installed Android Gingerbread 2.3.4 Here i want to run C executable file on android device I am able to run android NDK application on this Device and it runs perfect. B...
Sankey asked 26/3, 2012 at 7:39

14

Solved

I have an issue with third party libraries that are imported to my project. I read quite a lot of articles about that but do not get any information how properly handle it. I put my classes .so to ...
Recombination asked 4/4, 2016 at 22:45

45

I'm currently working on a project in which I have to use purely native ndk. It worked when I try running an helloworld example from Irrlicht engine source. Then I try using it in my project follow...
Iguana asked 14/3, 2014 at 8:20

4

Solved

I have a question about using the following line in a native c program: #include <sys/socket.h> #include <errno.h> void testSocket() { int sockfd = socket(AF_INET, SOCK_STREAM, 0); ...
Smirch asked 17/5, 2011 at 15:51

5

I am trying to compile ffmpeg for a android. I have found several posts on this theme but non of these seems to work. If tried to build ffmpeg like it is posted on [1]. Did anybody successfully com...

6

Solved

I'm writing a C program which I want to execute on my Desktop running Linux and also on an Android device. I have to make some Desktop specific things and some Android specific things. My question ...
Abysmal asked 14/10, 2013 at 8:0

4

Solved

I have managed to play audio files using ffmpeg and AudioTrack class in my android project. I can change the speed of audio using AudioTrack class setRate method. But it also change the pitch of au...
Unrestraint asked 29/6, 2012 at 10:20

3

Solved

I'm using a native library in my Android project that is compiled to armeabi-v7. My project targets Android SDK 8. When I try to run it with my phone unplugged, auto-targetting picks an Android 2.2...
Paean asked 24/4, 2012 at 12:56

1

Our app has quite a good number of native libraries along with some Java classes and we are building our app for only 32-bit architecture. We are aware that Google has mandated to provide 64-bit na...
Cockhorse asked 10/2, 2021 at 6:24

2

Solved

I have an Android app that uses some JNI code. Long story short (pun intended), it is nearly impossible to convert the JNI libraries to 64-bit as it would require a lot of changes. The code (both J...
Declare asked 16/5, 2016 at 4:38

4

Solved

I was wondering if there is an easy way to get the current time in native Android code. Optimally it would be something comparable to System.getTimeMillies(). I will only be using it to see how lon...
Eolanda asked 30/9, 2010 at 15:24

14

Solved

I want to use a existing native library from another Android project, so I just copied the NDK built library (libcalculate.so) to my new Android project. In my new Android project I created a folde...
Queensland asked 11/12, 2014 at 10:54

55

I want to compile an open source android project (Netguard) using gradel (gradlew clean build) But I encountered this Error: A problem occurred configuring project ':app'. > Exception thrown wh...
Mogul asked 1/2, 2016 at 10:29

5

Solved

Hello guys I'm trying to learn about openCV in android I've already following the instruction given here but when I'm trying to compile I'm only getting 01:50:14 ** Auto Build of configuration...
Wernerwernerite asked 7/7, 2012 at 18:52

2

I'm trying to build an overlay for an Android application that uses GLESv2. I've hooked eglSwapBuffers in order to insert my rending code just before the frame finishes. I'm able to do simple thing...
Ranna asked 28/8, 2022 at 2:27

8

Solved

I'm developing the native application that works with Android via the NDK. I need to call the backtrace() function when there is a crash. The problem is that there is no <execinfo.h> for the ...
Shelton asked 13/11, 2011 at 22:18

7

I am trying to build FFMPEG with libx264 for Android. I can successfully build and use FFMPEG for Android but I realized that I need the ability to encode, therefore I am trying to build FFMPEG wi...
Perique asked 11/1, 2012 at 1:2

© 2022 - 2024 — McMap. All rights reserved.