I added two lines to the top of my 'Application. OK, I am not an experienced mobile app developer, but after version 10.4.1 crashed on the BlueStacks emulator, I used adb logcat crash to list the contents of the crash log and I think this is the relevant part: - beginning of crash 03-23 21:17:11.794 5349 5349 E AndroidRuntime: FATAL EXCEPTION IN SYSTEM PROCESS: main 03-23 21:17:11. I copied and pasted all files to 'C:/android-ndk/toolchains/' Now I have C:\android-ndk\toolchains\arm-linux-androideabi-snapdragonclang3.3\. It doesn't work for my Samsung Galaxy Note2 (Android 4.3) but works for Nexsus4 (4.2). Because Android NDK r9 do not need Cygwin but LLVM compiler need, I downloaded and installed the newest version of Cygwin (I have VC2010). Your installed application is debuggable? obj/local/armeabiįound device gdbserver: /data/data/com.myPack/lib/gdbserverĮRROR: Could not extract package's data directory. Using toolchain prefix: /Users/eladb/MyWorkspace/android-ndk-r8b/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin/arm-linux-androideabi- What is NDK NDK which stands for Native Development Kit is a set of tools or a toolset that will allow us to use C/C in our Android Application. Select the NDK package for your development platform. Using specific adb command: /Users/eladb/MyWorkspace/sdk/platform-tools/adbĪDB version found: Android Debug Bridge version 1.0.31 When I plug my Galaxy Note2 it throws the following error when trying to attach to the device: Android NDK installation path: /Users/eladb/MyWorkspace/android-ndk-r8b I unzip SDK and NDK in /opt, and build toolchain in the same directory. When I plug in my Nexsus4 the NDK external debugging tool works. I use the last version of SDK and NDK r9. I'm using Eclipse to debug my Android app which has a C native code. 1.NDKEclipse Window->preferences->Android->NDK NDKD:android-sdkandroid-ndk-r9 docssources,tests,samples e.
0 Comments
Leave a Reply. |