How to make Android app automatically configure w/ debug vs. release values?

前端 未结 6 2153
故里飘歌
故里飘歌 2021-02-10 14:13

I\'m working on an Android app, specifically one that uses the Facebook Android SDK. In development mode, I\'m working with a test Facebook app that goes by one ID. However, i

6条回答
  •  遇见更好的自我
    2021-02-10 14:35

    In eclipse ADT 17.0 and above there is a new feature for this. Check the BuildConfig.DEBUG that is automatically built with your code.

    For more information see http://developer.android.com/sdk/eclipse-adt.html

提交回复
热议问题