android-ndk Questions

9

Solved

I am tracking down crashes with our Android application (which uses the NDK to load a custom C++ library) using a crash reporting service. A small number of users are experiencing the following cra...
Sheathe asked 20/2, 2015 at 21:48

4

PREAMBLE: the question is wildly obsolete. The NDK build/native debugging system doesn't work like this anymore. Directly related to this question. How can I make the include directive in makefile...
Hotshot asked 10/11, 2011 at 2:39

4

I'm building a substratum theme from https://github.com/substratum/template I'm getting the following errors on run: Build command failed. Error while executing process /home/anubhav/Android/Sdk/...
Selfinterest asked 7/2, 2018 at 22:9

3

Solved

I'm getting sigsegv 11 in native code and i need to avoid stripping to understand what's wrong. The app uses library (aar) and i was able to avoid stripping for the aar with 'cmd-strip' hack. But i...
Balderdash asked 1/11, 2016 at 6:38

2

Solved

I'm developping a android's aplication using some shared libraries written by me and compiled with ndk-r5b. The application works, y and the calls to the libraries works too, but I detected some ...
Joyann asked 31/5, 2011 at 10:43

10

Solved

My Application is built successfully on Eclipse but fails to Build on android studio. It returns the error code Ndk is not Configured. Then I've added ndk path to build.gradle then its showing the ...
Maypole asked 18/3, 2015 at 13:5

37

Solved

I have updated Android Studio to 4.1 in Macbook but not able to run app after updating. It is giving following error Execution failed for task ':app:stripDebugDebugSymbols'. NDK at ~/Library/Androi...
Heptode asked 15/10, 2020 at 13:14

2

Solved

I am trying to compile the following code: https://android.googlesource.com/platform/packages/inputmethods/LatinIME/+/master into an apk file. To do this, I created a default Android project wi...
Philipps asked 27/8, 2018 at 20:48

2

Solved

In Android NDK, what is the difference between ALooper_pollOnce() and ALooper_pollAll()?
Normalie asked 23/12, 2015 at 6:6

3

I want to upload NDK symbols on every build i do, Under my Android inside gradle i use to have: applicationVariants.all { variant -> def variantName = variant.name.capitalize() println("symb...
Beka asked 13/5, 2020 at 11:34

8

After updating Android Studio to 4.0 project build finishes with error More than one file was found with OS independent path 'lib/armeabi-v7a/libdlib.so'. If you are using jniLibs and CMake IMPO...
Atomize asked 29/5, 2020 at 14:19

9

Solved

I am getting the above error My gradle looks like this apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' android { compileSdkVers...
Codify asked 11/4, 2020 at 12:45

6

Solved

I tried to add a prebuilt APK to my Android build. The APK contains several shared libraries (*.so files). It compiles without problem, but I still get an error from the app indicating that the lib...
Comportment asked 4/2, 2013 at 12:58

2

Solved

So all the reading I've done online says to set ndk.dir in the ANT build properties file to fix the "NDK not configured" error I'm getting from Gradle, but obviously I can't do that because I'm not...
Concord asked 21/10, 2016 at 20:22

2

Solved

I have an android_library.aar file that containing library.so and some other resources and java files. I imported android_library.aar to my project. My project uses c++ code with NDK. My problem i...
Argue asked 20/8, 2018 at 12:31

4

Solved

OK this is a strange one: Is there a way someone can develop native C applications or libraries for Android without using the Android NDK? What was happening before the NDK was released? (It's n...
Croquette asked 30/7, 2012 at 9:38

11

Solved

I am used to previous versions of NDK builds which came in zip format. I downloaded the recent r10 version for windows which had a .exe version. The exe version is just an extractor, that I didn't ...
Scharff asked 17/12, 2014 at 9:27

26

After updating to Android Gradle plugin 3.6.0 (released Feb 24, 2020), several project independently started failing with: No version of NDK matched the requested version 20.0.5594570. Versions av...

3

Solved

So anybody worth their salt in the android development community knows about issue 3434 relating to low latency audio in Android. For those who don't, you can educate yourself here. http://code.goo...
Jaworski asked 17/11, 2010 at 0:18

3

Solved

My project has 3 different buildTypes and I need only one of them to keep the debug info of its native libraries. I'm using com.android.tools.build:gradle:3.1.4. I tried the following buildTypes ...
Nowhither asked 24/10, 2018 at 15:8

5

It is said, that it is possible to install NDK with Android SDK manager with the following picture: Unfortunately, I don't have SDK Plantforms, SDK Tools and SDK Update Sites tabs in my SDK Mana...
Handrail asked 4/1, 2017 at 18:38

6

Solved

In Android-ndk, we could use "__android_log_write", "__android_log_print", ... etc to output messages to the "LogCat" window. How about if I use "std::cout" to output some strings ? E.g. std::cout...
Warring asked 15/1, 2012 at 13:59

4

Solved

When I build an android project which includes ndk code. I got the following error: Build command failed. Error while executing process /home/gongzelong/Android/Sdk/cmake/3.6.4111459/bin/cmake wi...
Personable asked 8/6, 2018 at 9:8

2

Solved

Background: I've decided that since bitmaps take a lot of memory which can cause out-of-memory errors easily, I will put the hard, memory consuming work on C/C++ code . The steps I use for rotat...
Thermodynamics asked 18/1, 2013 at 12:10

5

Solved

I am trying to make a CMake project for code that uses Boost libraries. I want to build it for Android, and I am using this project as a reference: https://code.google.com/p/android-cmake/. I want...
Oboe asked 10/9, 2013 at 9:50

© 2022 - 2024 — McMap. All rights reserved.