build type is not debuggable

Android studio調試時不顯示變量,且通過add to watches 添加的參數變量都顯示Cannot find local variable。通過debug運行時提示 「build type is not debuggable」。 根據提示可知由於編譯不是debug模式導致的。 首先查看build.gradle中是否對 debuggable 參數進行了配置。 我這裏沒有配置,所以打開
相關文章
相關標籤/搜索