james@rhinoctopus:~/src/misc/sdl-android/project$ ndk-gdb --start --force --verbose Android NDK installation path: /home/james/misc/android-ndk-r8d Using default adb command: /home/james/misc/android-sdk-linux_x86/platform-tools/adb ADB version found: Android Debug Bridge version 1.0.31 Using ADB flags: Using auto-detected project path: . Found package name: com.hamsterrepublic.ohrrpgce.game /home/james/misc/android-ndk-r8d/build/core/add-application.mk:128: Android NDK: WARNING: APP_PLATFORM android-14 is larger than android:minSdkVersion 4 in jni/../AndroidManifest.xml ABIs targetted by application: armeabi Device API Level: 17 Device CPU ABIs: armeabi-v7a armeabi Compatible device ABI: armeabi /home/james/misc/android-ndk-r8d/build/core/add-application.mk:128: Android NDK: WARNING: APP_PLATFORM android-14 is larger than android:minSdkVersion 4 in jni/../AndroidManifest.xml Using gdb setup init: jni/../libs/armeabi/gdb.setup /home/james/misc/android-ndk-r8d/build/core/add-application.mk:128: Android NDK: WARNING: APP_PLATFORM android-14 is larger than android:minSdkVersion 4 in jni/../AndroidManifest.xml Using toolchain prefix: /home/james/misc/android-ndk-r8d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi- /home/james/misc/android-ndk-r8d/build/core/add-application.mk:128: Android NDK: WARNING: APP_PLATFORM android-14 is larger than android:minSdkVersion 4 in jni/../AndroidManifest.xml Using app out directory: ./obj/local/armeabi Found debuggable flag: true Found device gdbserver: /data/data/com.hamsterrepublic.ohrrpgce.game/lib/gdbserver Found data directory: '/data/data/com.hamsterrepublic.ohrrpgce.game' Found first launchable activity: .MainActivity Launching activity: com.hamsterrepublic.ohrrpgce.game/.MainActivity ## COMMAND: adb_cmd shell am start -n com.hamsterrepublic.ohrrpgce.game/.MainActivity Starting: Intent { cmp=com.hamsterrepublic.ohrrpgce.game/.MainActivity } ## COMMAND: adb_cmd shell sleep 2 Found running PID: 0 ERROR: Could not extract PID of application on device/emulator. Weird, this probably means one of these: - The installed package does not match your current manifest. - The application process was terminated. Try using the --verbose option and look at its output for details.