Skip to content

Debugging in Native Layer

Haruki Hasegawa edited this page Jan 27, 2017 · 1 revision

Debugging in Native Layer

  1. Enable defaultPublishConfig option in library/build.gradle

    android {
       ...
       defaultPublishConfig 'debug'   // <--- THIS
       ...
    }
  2. Set build variant of the example project to "debug"

  3. That's all. Just run app through AndroidStudio. You can even use breakpoints, watch, etc... in the C++ code😄

Clone this wiki locally