Saturday, 4 February 2012

ERROR: Could not extract package's data directory. Are you sure that your installed application is debuggable?

Everytime I try to debug an Android NDK application, I'm greeted with a new random error message. It's driving me crazy!!!


If you ever get the titled error message, just keep renaming your package name until it works.

Seriously!

com.softpoetry.igrapher - refused to work
com.softpoetry.igrapher2 - refused to work
com.igrapher.is.awesome.app - refused to work
com.softpoetry.igrapher.app - refused to work
com.softpoetry.ig - works!


WTF?

3 comments:

  1. Is your apk properly zipaligned?

    ReplyDelete
  2. I'm using ADT for Eclipse for building and deployment. Is there an additional step I should include when debugging an NDK application?

    ReplyDelete
  3. Hi friends,

    The Android NDK is a companion tool to the Android SDK that lets you build performance-critical portions of your apps in native code. It provides headers and libraries that allow you to build activities, handle user input, use hardware sensors and access application resources. Thanks a lot.....

    ReplyDelete