Android ndk hw debugging memory

Backgrond

I am very experienced in C and quite new to Android and Java, but these are pretty environmental programming issues.

I developed an administrative application in ANSI-C that needs to be ported to any OS by simply adding an interface to OS-dependent code. Well, it uses quite some memory, especially for huge user files. I have a working Win32 program that is trying to make an Android application using Android Studio with NDK.

Package Studio Android NDK works fine

I installed and made Win7 Ultimate Android Studio 1.3 with the NDK package and compiled and run the hello-jni (NDK) ActionbarStyled (non NDK) sample in emulators, smooth and nice. I also successfully launched a Hello-jni sample in the emulator with a bunch of additional c files (not called, currently just garbage compiled without errors at this step)

Then I tried to connect my Samsung TAB3 SM-T110 template (I need the Samsung Win7 SAMSUNG_USB_Driver_for_Mobile_Phones.zip driver) to my Win7 and tried it. The ActionbarStyled template works fine. So, the Hello-JNI sample.

But

Hello-jni c . : : java.lang.IllegalArgumentException: com.example.hellojni samsung-sm_t110-47900bc50c0c3100

, ? , Samsung , .

Samsung ? ?

,

Android Studio 1.3 NDK, ( ) NDK?

?

Hello-jni 6 ( 5 ), , -, , ? - ?

Android? , 8- DOS 64Kb? , ? , . NDK Android , jni (C-) , java.

?

C - , XML- C- ( , C- XSD). 5% C-, Windows dev studio/compiler . , , . Android Studio NDK?

-, , hello-jni. ( hello-jni). , , . , , , ?

Android-, , , (Java , C-, ). , NDK , , - Android, . , . .

+4

Source: https://habr.com/ru/post/1605777/


All Articles