I have seen some similar posts about this such 
as https://groups.google.com/forum/#!topic/adt-dev/lyeeJTEGyhQ but I am not 
sure if this is related. It seems that debuggable is completely ignored in 
the buildTypes and is always false.

buildTypes {
        debug {
            packageNameSuffix ".debug"
            debuggable true
            jniDebugBuild true
        }
        release {
            debuggable false
            jniDebugBuild false
            runProguard true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 
'proguard-rules.txt'
            signingConfig signingConfigs.release
        }
    }

BuildConfig.DEBUG always returns false. 

The .debug suffix works so I am using that as a workaround to identify the 
debug build.

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to