zoukankan      html  css  js  c++  java
  • Android开发之《Module相互引用,NDK不能正常Debug》

    解决Android Studio不能进入调试模式问题

    Android Studio 2.2.3 native debug 无法调试?:https://www.zhihu.com/question/54395205/answer/148790125

    ----------------------------------------------------------------
     buildTypes {
            release {
                debuggable true
                jniDebuggable true
                signingConfig signingConfigs.config
            }
            debug {
                jniDebuggable true
                renderscriptDebuggable true
                minifyEnabled false
            }
        }

    原来是要把build types的 minifyEnabled  设为false 才能断点停下。

    -------------------------------------------------------------------

    最终解决方式:【Gradle】管理库工程release及debug

    如果模块A引用模块B (不能解决A->B-C的情况)

    模块B添加:

    android {
    publishNonDefault true
    }

    模块A添加:

    dependencies {
      releaseCompile project(path: ':facecamera', configuration: 'release')
      debugCompile project(path: ':facecamera', configuration: 'debug')
    }
  • 相关阅读:
    Python lambda函数
    python 获取日期
    <base>元素
    django--开发博客
    django修改时区,数据库
    django初探
    python创建虚拟环境
    资源记录页面
    组管理
    远程管理命令
  • 原文地址:https://www.cnblogs.com/alanfang/p/6816886.html
Copyright © 2011-2022 走看看