zoukankan      html  css  js  c++  java
  • Android 编译选项user、userdebug和eng的区别

    BuildType specifies the intended use (security restrictions)

    * user

    · Intended to be the final release
    
    · Installs modules tagged as user
    
    · Installs non-APK modules that have no tags specified
    
    · Installs APKs according to the product definition files (tags are ignored for APK modules)
    
    · Sets ro.secure=1
    
    · Sets ro.debuggable=0
    
    · adbd is disabled by default (i.e. has to be enabled via Settings ! Applications ! Development ! USB Debugging)

    * userdebug - the same as user, except:

    · Intended for limited debugging
    
    · Installs modules tagged with debug
    
    · Sets ro.debuggable=1
    
    · adbd is enabled by default

    * eng

    · Intended for platform-level debugging
    
    · Installs modules tagged with: eng, debug, user, and/or development
    
    · Installs non-APK modules that have no tags specified
    
    · Installs APKs according to the product definition files, in addition to tagged APKs
    
    · Sets ro.secure=1
    
    · Sets ro.debuggable=0
    
    · Sets ro.kernel.android.checkjni=1
    
    · adbd is enabled by default
  • 相关阅读:
    第四周助教小结 北软
    第二周工作小结 北软
    第六周助教小结 北软
    第七周周小结 北软
    第八周周小结 北软
    几句话了解元数据(Metadata)
    App测试点(二)
    Pytest单元测试
    UnitTest单元测试
    【模板】单源最短路径
  • 原文地址:https://www.cnblogs.com/chenbin7/p/2670277.html
Copyright © 2011-2022 走看看