How to make debugging work in Android Library projects? -
i have android project consisting of multiple subprojects , 1 of subprojects network, problem debugging breakpoints doesn't work in network library project , android.util.log doesn't work too, don't have way debug project right , that's makes things tough while fixing issues or adding new functionality in project. on breakpoint says
no executable code @ line 42
also when load project (the 1 containing other projects in android studio) says can't load 3 modules fine, work when run them. wanted know if else facing problem , solution.
i have tried putting .iml files in .idea/modules/network , helps me rid of error of can't load modules. i've tried cleaning project , rebuilding it. restarting android studio, upgrading android studio on latest version of android studio now.
when open project in intellij idea ultimate gives me message unsupported projects, can't have java projects gradle projects in android. projects have andriod library projects own build.gradle files.
it sounds me what's happening application being built older compiled versions of libraries. how included in project, gradle dependencies?
to logging in need open modules add logging , re-build them.
copying around .iml not idea in general. correct process import in android studio. here pretty tutorial http://www.truiton.com/2015/02/android-studio-add-library-project/
the last step adding gradle file compile important allow pick changes, adding logging.
Comments
Post a Comment