android-ndk

objdump of a .so file? need help to understand the messages

◇◆丶佛笑我妖孽 提交于 2020-01-02 05:04:59
问题 I am developing a native application related to streaming, i am facing some problems in my c module... and what i have is some message from Logcat Here is the Logcat message INFO/DEBUG(28): Build fingerprint: 'generic/sdk/generic/:2.1-update1/ECLAIR/35983:eng/test-keys' 11-17 12:40:07.550: INFO/DEBUG(28): pid: 5957, tid: 5957 >>> com.mmstwo <<< 11-17 12:40:07.561: INFO/DEBUG(28): signal 11 (SIGSEGV), fault addr deadd00d 11-17 12:40:07.561: INFO/DEBUG(28): r0 00000354 r1 00129100 r2 0000000c

Unable to run React-Native UIExplorer example project

人走茶凉 提交于 2020-01-02 04:06:09
问题 I've been trying to run UIExplorer project on Windows. I am getting the following error- ... ... make: *** [D:\react-native\ReactAndroid\build\tmp\buildReactNdkLib/local/ armeabi-v7a/objs/reactnativejni/JExecutorToken.o] Error 2 ... ... What went wrong: Execution failed for task ':ReactAndroid:buildReactNdkLib'. > Process 'command 'C:\android-ndk-r11b\ndk-build.cmd'' finished with non-zero exit value 2 ... ... Caused by: org.gradle.process.internal.ExecException: Process 'command 'C:\android

Android PDF Rendering

烈酒焚心 提交于 2020-01-02 03:11:21
问题 I would like to render/open PDF file (stored in SDCard) in Android without using in-build application or viewer. 1) We have tried MuPDF open source library but rendering using this library is very slow. 2) Can we use iText library for rendering PDF files in Android (i.e. iText as a PDF Viewer). Is there any other PDF library(open source) that can be used in Android Or suggest basic guideline for developing PDF viewer for Android. 回答1: I've done some research in this field recently, I've tried

How to specify c header file in android.mk file

给你一囗甜甜゛ 提交于 2020-01-02 03:01:05
问题 i had a c source folder name "clib" and in that , i have some example files like 1.h ,1.c , 2.h ,2.c,3.c,3.h and out side that folder i have 4.h , 4.c , 4_jni.h , 4_jni.c Now to build ".so" i created my android.mk something like this LOCAL_PATH := $(call my-dir) MY_PATH := $(LOCAL_PATH) include $(call all-subdir-makefiles) include $(CLEAR_VARS) LOCAL_PATH := $(MY_PATH) LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -llog LOCAL_MODULE := clib TIME_SYNC_PATH := ../../../clib LOCAL_SRC_FILES := \ 4_jni.c

How to configure Tesseract in Eclipse for Android development?

风流意气都作罢 提交于 2020-01-02 03:00:29
问题 I have been working on android from 6 months. So I have basic idea about Android development. Now I want to develop an OCR Android app using Tesseract. For that I have downloaded android-ndk-r6b, tess-two from Tesseract, Cygwin for Windows and installed C/C++ developer in Eclipse. And I followed these two links: 1.http://www.itwizard.ro/interfacing-cc-libraries-via-jni-example-tesseract-163.html 2.http://gaut.am/making-an-ocr-android-app-using-tesseract/ but I got stuck in between. I mean I

Android NDK: Aborting stop?

断了今生、忘了曾经 提交于 2020-01-02 00:53:07
问题 I am working on ffmpeg for android. I have successfully compile ffmpeg-2.0.1 after that I make Android.mk file in my NDK's sources/ffmpeg-2.0.1/android/arm as LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE:= libavcodec LOCAL_SRC_FILES:= lib/libavcodec-55.so LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include include $(PREBUILT_SHARED_LIBRARY) After that make android project and in android project Android.mk file is as LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL

Android Studio fatal error: CL/cl.h No such file or directory

喜夏-厌秋 提交于 2020-01-01 19:16:13
问题 I am trying to build an openCL program in Android Studio and keep running into the following issue: Android Studio fatal error: CL/cl.h No such file or directory I have been searching and everything is a solution for "visual studio". I thought it may be helpful if we had a solution listed specifically for Android Studio and this error. Any ideas how to fix this? I see references here appears to be running gcc from command line. I want this to work just from Android Studio. 回答1: OpenCL is not

Android Studio fatal error: CL/cl.h No such file or directory

允我心安 提交于 2020-01-01 19:15:15
问题 I am trying to build an openCL program in Android Studio and keep running into the following issue: Android Studio fatal error: CL/cl.h No such file or directory I have been searching and everything is a solution for "visual studio". I thought it may be helpful if we had a solution listed specifically for Android Studio and this error. Any ideas how to fix this? I see references here appears to be running gcc from command line. I want this to work just from Android Studio. 回答1: OpenCL is not

Android NDK: ARMv6 + VFP devices. wrong calculations, NaN, denormal numbers, VFP11 bug

本小妞迷上赌 提交于 2020-01-01 19:04:44
问题 I wish to target ARMv6 with VFP Android device. I have following line in my Android.mk file to enable VFP LOCAL_CFLAGS := -marm -mfloat-abi=softfp -mfpu=vfp -Wmultichar I believe I target ARMv5 with VFP . I edited android-ndk-r8b\toolchains\arm-linux-androideabi-4.6\setup.mk to remove -msoft-float . I also tried with original setup.mk My code works fine 99.99% of time but some times goes crazy on ARMv6 devices. I have special code to detect when it goes crazy. Code glm::vec3 D = P1 - P2;

Android ndk error asm types.h not found

点点圈 提交于 2020-01-01 09:43:03
问题 After updating Android Studio to 2.3.3 and updating ndk bundles,my project fails to build. What does the error mean? It should be a bug of the IDE. How to fix the issue or how to go back to prior Android Studio/ndk versions? Error:注: 某些输入文件使用或覆盖了已过时的 API。 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 注: /home/noob/code/greatcompany/ExcellentApk/app/src/main/java/com/greatcompanyx/ExcellentApk/yjzb/CtrlNetTool.java使用了未经检查或不安全的操作。 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。 FAILURE: Build failed with an