Giter Club home page Giter Club logo

gndk-gdb's Introduction

gndk-gdb

Additions to the ndk-dbg.py script, to allow easier integration with applications that include native code in android library projects. The android-ndk (which is currently in version r10c) does not support launching and debugging native projects which are included in android library projects.

This python script, uses version r10c of the ndk-gdb.py script, and augments it to allow the debugof android library native project. This is achieved with the following additions:

  • Filter out potential warnings in the various tools (e.g. Android NDK WARNING)
  • Added the --true_package_name command line variable, which corresponds to the package name of the application that will be launched in the device
  • Added the --ndk command line to specify the location of the NDK
  • Added the --ignore_debuggable flag to ignore parsing the Android Manifest for looking up the corresponding flag (e.g. you may be using gradle and your project may not require a proper AndroidManifest.xml)

Usage

You can run it like this: ./gndk-gdb.py --project= --ndk= --true_package_name= --launch You have to have no other IDEs trying to access your android device through the debug. Once your application has been started, you can also start your IDE.

If you are using a non-userdebug build, then for this to work, you need to have a rooted device, running with the adbd insecure daemon from: http://forum.xda-developers.com/showthread.php?t=1687590

gndk-gdb's People

Contributors

gmetal avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.