Search Discussions
-
Hi, I need to support show statusbar in my Android app. It's NativeActivity, EGL context created using C++ API. I tried to show status bar by ...
NoAngel
Jun 14, 2016 at 2:50 pm
Jun 15, 2016 at 2:30 pm -
I found a solution. eglChooseConfig(display,attribs,&config,1, &numConfigs); is wrong. I changed it to get all device configurations, then select the best one, and it fixed. -- You received this ...
NoAngel
Jun 14, 2016 at 2:50 pm
Jun 14, 2016 at 2:50 pm -
Hey, I've been trying several things and scouring the toolchain and I can't figure out why my CMake is not copying the dependent libraries. I've tried a few things, if anyone has a solution I would ...
David Marchbanks
Jun 13, 2016 at 2:30 pm
Jun 13, 2016 at 5:20 pm -
Hi, What's the equivalent of "proguardFiles getDefaultProguardFile('proguard-android.txt')" in the DSL of the Gradle Experimental plugin. The docs don't mention it and I couldn't figure it from trial ...
Pol
Jun 12, 2016 at 4:49 am
Jun 12, 2016 at 4:49 am -
The following code will crash at *vector desconcrutor* if I build the code for *Android x86_64* with *ndk-build*(*x86* worked well). hello.cpp #include <vector #include <stdio.h using namespace std ...
Hejiangfeng
Jun 12, 2016 at 4:49 am
Jun 15, 2016 at 6:29 pm -
The NDK download page does not contain the links to latest builds. https://developer.android.com/ndk/downloads/index.html Someone from google, please add older and latest builds. -- You received this ...
Anoop CH
Jun 10, 2016 at 8:08 am
Jun 10, 2016 at 8:14 am -
-
안녕하세요... 안드로이드 앱 서비스 중 보통은 거의다 잘되는데.. 불 특정 단말에서 간혹 아래 오류가 발생합니다. 아래 오류 관련해서 아시는 분은 답변 좀 부탁드립니다. 감사합니다. *오류 내용* java.lang.UnsatisfiedLinkError: dlopen failed: can't protect segments for ...
Jonghoon Lee
Jun 7, 2016 at 9:23 pm
Jun 7, 2016 at 9:23 pm -
I'm having this problem with srand() using target 23 when running on kiit kat devices, didnt test on higher devices tho. My ndk version is the latest : 12. What I did was lower the target sdk to 19 ...
Rafael Ferraz
Jun 7, 2016 at 9:22 pm
Jun 7, 2016 at 9:25 pm -
Hi, Using Android Studio 2.1.1 with Experimental Grade plugin 0.7.2, I'm trying to add another Java source code directory to the module. Here's the relevant section from the module Gradle settings ...
Pol
Jun 6, 2016 at 7:42 pm
Jun 12, 2016 at 4:49 am -
Hey, I'm currently porting a framework to Android NDK. And I have to use the on screen keyboard once in a while. Opening and closing the keyboard works so far.. But I have a problem with the focus of ...
Joachim Meyer
Jun 3, 2016 at 3:27 pm
Jun 3, 2016 at 3:27 pm -
Hi, I need to share data between my app and an opensl buffer queue callback, however I read that these callbacks execute on a non application thread. Does using GCC's builtin atomics guarantee that I ...
Bradley Bauer
May 31, 2016 at 5:36 pm
May 31, 2016 at 5:38 pm -
Hi, I have uploaded a new version of my app to the Android Developer Console and would like to test it using the Alpha or Beta Test channel. I followed all instructions and tried all kind of ...
Prio
May 31, 2016 at 4:44 pm
May 31, 2016 at 5:36 pm -
i was searching about how to set up the ndk on android studio in the android developer website, but there is not updated information there is just a guide on how to that on eclipse. Please help me ...
Abigcrop
May 26, 2016 at 7:26 pm
Jun 3, 2016 at 8:43 pm -
Hello android-ndk community, At the moment, my activity binds to a service using bindService and Context.BIND_ABOVE_CLIENT flag. This service calls a jni method that runs a std::thread. When activity ...
Bouin Alexandre
May 25, 2016 at 3:04 pm
May 25, 2016 at 3:04 pm -
Hi, I have a project that currently uses a custom task to execute an NDK-build. I upgraded to A.S. 2.2 and I can now remove that custom task and my sources build. However, there are some issues I ...
Streets Of Boston
May 24, 2016 at 1:59 pm
Jun 13, 2016 at 2:30 pm -
hi I've a audio player application using OpenSL ES. when the low latency request (AUDIO_OUTPUT_FLAG_FAST flag) have been accpeted by AudioTrack and AudioFlinger, I found that a noise would accur when ...
Hu Tianjun
May 24, 2016 at 1:59 pm
May 24, 2016 at 11:05 pm -
Hi All, Testing a Native MediaPlayer library on Android N and going from Preview 1 to Preview 3, I run into an OpenSL initialization failure when calling - Realize(...). Which returns ...
Rick G
May 23, 2016 at 9:38 pm
May 24, 2016 at 12:40 am -
I'm developing VoIP application using low latency fast path,the problem is that when I change the audio route to speaker I noticed that the recorder callback fires every 100ms instead of 5ms as it ...
Vitaly Dyadyuk
May 23, 2016 at 1:57 pm
May 23, 2016 at 1:57 pm -
Is gradle-experimental still the correct way to build android ndk projects? Some of the Android Studio NDK announcements made it feel like NDK build had hit prime time and, so I assumed, might be ...
Baggers
May 23, 2016 at 1:57 pm
Jun 3, 2016 at 5:32 pm -
Hi Is there any 'special' group to discus new google VR sdk (from NDK point of view) or this group is OK ? If it's OK. Then I have some feature request regarding the VR NDK functionality. For now the ...
Louise Cypher
May 22, 2016 at 10:32 pm
May 22, 2016 at 10:37 pm -
Android NDK performance in an ART world - Google I/O 2016 https://www.youtube.com/watch?v=Ok97X9Z4Si8 Android high-performance audio - Google I/O 2016 https://www.youtube.com/watch?v=F2ZDp-eNrh4 -- ...
Glenn Kasten
May 21, 2016 at 7:42 pm
May 24, 2016 at 11:13 pm -
Great to see CMake support coming to Android Studio! Could someone from the team please provide a sample project using it? Thank you and kind regards, Felix -- You received this message because you ...
Felix Homann
May 21, 2016 at 9:40 am
Jun 2, 2016 at 6:33 pm -
Hi. Running latest Android Studio (2.1.1) and binding legacy C/C++ code into an Android app. We first built the app back in 2013 using NDK r8e andlater r9d. No problems. Our special build tool for ...
Del Merritt
May 21, 2016 at 12:47 am
May 23, 2016 at 7:38 pm -
Hello, I make an app using the NDK 12 which worked on my phone (Android 21). When I tried to compile it for an Android 19 device, I had some errors at the link time because some symbols like "atof" ...
Aurélien ....
May 18, 2016 at 2:49 pm
May 23, 2016 at 7:48 pm -
In order to determine whether path is directory, I try to use tow method. In Java. Use AssetManager.list(), but it too spend CPU, for example 50ms. and have to give up. In JNI. Use ...
Ancientcc
May 17, 2016 at 1:52 am
May 17, 2016 at 1:52 am -
Is it possible to get Instant Run working gradle experimental or with NDK. I started using gradle experimental (0.6.0-beta4) so I can use NDK when Android Studio 1.3 was released. When I try to run ...
Parive3
May 13, 2016 at 10:49 pm
May 17, 2016 at 7:06 pm -
-
I am trying to set up FMOD for Android, and have started with the examples provided in the API for FMOD. I have not managed to set up a working project. However, I have downloaded a working project ...
Arne Nykänen
May 11, 2016 at 1:57 pm
May 16, 2016 at 4:57 pm -
Dear all, As part of my work to try to update the LibC++ that ships with the official NDK, I have tried to use the patch files located in " ...
Abe Skolnik
May 10, 2016 at 7:38 pm
May 10, 2016 at 7:38 pm -
Starting from marshmallow I am having issue with third party library. How can I remove text relocation. All the c files are compiled to lib.so with fpic flag. When I compile I get warning: shared ...
Mun24
May 9, 2016 at 11:42 pm
May 9, 2016 at 11:42 pm -
Dear all, Using the checkout I have of what I believe to be the source code of the Google NDK, I seem to have *many* choices when it comes to "where" to work in the context of updating and/or ...
Abe Skolnik
May 9, 2016 at 11:42 pm
May 9, 2016 at 11:42 pm -
-
Hi guys, I have a android jni. It needs android-ndk-r10e. So I compiled it on ubuntu. I'm going to use in android sdk. Then from which android sdk version, can I use the this jni? I want to know the ...
Wen NanZhe
May 5, 2016 at 4:04 pm
May 6, 2016 at 3:50 am -
I am writing lots of files from multiple threads. All of the files are going to the same directory. Occasionally when testing, a device will get into a mood where calls to mkdirat() sometimes fails ...
Corysama
May 5, 2016 at 12:52 am
May 5, 2016 at 3:18 am -
Last week I got offered a CMake package in Android Studio's SDK Tools section. I couldn't find any documentation about it, yet. As I'm using CMake in most of my Non-ANdroid projects I'd certainly ...
Felix Homann
May 4, 2016 at 9:40 am
May 4, 2016 at 1:08 pm -
Hello everybody, I would like to use renameat2() system call in my C program. renameat2() is available from Linux kernel 3.15. I try to build my C program using Android NDK r11c but it seems that the ...
Quang Tuan Dam
May 3, 2016 at 2:28 pm
May 6, 2016 at 2:17 pm -
-
-
Hi, I cross-compile tools using Autotools with toolchains generated by make-standalone-toolchain.sh. I've switched to clang and now I see two assemblers in the bin/ directory, e.g ...
Matthieu Poullet
Apr 28, 2016 at 8:34 am
Apr 28, 2016 at 8:34 am -
Recently upgraded from NDK R10e to R11c. I noticed that toolchain specific windows gdb.exe has been removed e.g., ...
LXS5461
Apr 26, 2016 at 3:52 pm
May 4, 2016 at 5:35 pm -
I built android source code, and built a simple c++ file. Then remote debug it on emulator. But I always got the error: Program received signal SIGILL, Illegal instruction. It works well when no ...
Li Bei
Apr 26, 2016 at 3:32 pm
Apr 26, 2016 at 3:38 pm -
Hi! I have a big project that I am trying to build using gradle experimental. And currently it fails to link as I have no control over the order of include of static libraries in my mainProject ...
Guilhem
Apr 21, 2016 at 7:08 pm
Apr 21, 2016 at 7:08 pm -
I am trying to build an application using android gradle experimental plugin 0.7.0-beta3. I have an application "mainProject" that depends on a native library "nativeLibrary", which itself depends on ...
Guilhem
Apr 21, 2016 at 7:08 pm
Apr 26, 2016 at 3:33 pm -
#vulkan is vastly faster ... here are some #tools http://lunarg.com/vulkan-sdk/ https://community.amd.com/community/gaming/blog/2016/02/16/radeon-gpus-are-ready-for-the-vulkan-graphics-api ...
Duke Abbaddon
Apr 20, 2016 at 8:54 pm
Apr 21, 2016 at 3:42 am -
I am currently trying to build a native module using Android's NDK. My project consists of several source files (e.g.: *FILENAME*.c) and for each of them I need to declare a define in their CFLAGS ...
Luca Egitto
Apr 19, 2016 at 8:09 pm
Apr 20, 2016 at 2:03 pm -
Hi all, This is really two questions. As recommended I activated LOCAL_SHORT_COMMANDS because my link step generates a command that's over the Windows limit. However, as noted by many people, this ...
James Swift
Apr 18, 2016 at 1:57 pm
Apr 21, 2016 at 2:03 pm -
Hi, I'm building fuse with ndk. The variables set are as below and the script is inline at the bottom. I get the library built under libs/.libs/libfuse.xxx but when i write a program without ...
Navin P.S
Apr 18, 2016 at 1:57 pm
Apr 18, 2016 at 1:57 pm -
I just ran into an interesting issue while building a cocos2d-x 3.7.1 app for x86 using android ndk r11c. The result app was seg faulting, on an ASUS ME302C tablet, just a few seconds after starting ...
Gino Lee
Apr 15, 2016 at 9:22 pm
Apr 19, 2016 at 8:08 pm -
Today Android Studio updated ndk from r11c to r12 beta and I got a lot of problems (I use gcc 4.9 toolchain): error: 'mutex' in namespace 'std' does not name a type error: field 'm_noreThreadFuture' ...
Sergey Kuratov
Apr 14, 2016 at 6:38 am
Apr 19, 2016 at 8:09 pm
Group Overview
group | android-ndk |
categories | android |
discussions | 3,067 |
posts | 9,784 |
users | 2,394 |
website | developer.android.com... |
Top users
Archives
- June 2016 (37)
- May 2016 (76)
- April 2016 (74)
- March 2016 (63)
- February 2016 (27)
- January 2016 (54)
- December 2015 (72)
- November 2015 (50)
- October 2015 (59)
- September 2015 (50)
- August 2015 (33)
- July 2015 (47)
- June 2015 (65)
- May 2015 (54)
- April 2015 (92)
- March 2015 (76)
- February 2015 (60)
- January 2015 (84)
- December 2014 (80)
- November 2014 (80)
- October 2014 (5)
- May 2014 (35)
- April 2014 (89)
- March 2014 (144)
- February 2014 (81)
- January 2014 (149)
- December 2013 (163)
- November 2013 (195)
- October 2013 (249)
- September 2013 (150)
- August 2013 (152)
- July 2013 (164)
- June 2013 (195)
- May 2013 (171)
- April 2013 (230)
- March 2013 (304)
- February 2013 (204)
- January 2013 (227)
- December 2012 (140)
- November 2012 (280)
- October 2012 (213)
- September 2012 (228)
- August 2012 (529)
- July 2012 (679)
- June 2012 (326)
- May 2012 (549)
- April 2012 (302)
- March 2012 (426)
- February 2012 (285)
- January 2012 (384)
- December 2011 (287)
- November 2011 (447)
- October 2011 (371)
- September 2011 (268)