實際在應用時,可以在自定義Application 中,撈取build.gradle 設定的環境參數:. public static final boolean IS_FREE = BuildConfig.IS_FREE;.
確定! 回上一頁