yes, i was talking about Config.DEBUG constant. how can i make a "debug build" in Eclipse IDE?
right now, no matter if i use "Run>Run As" or "Run>Debug As" menu commands, i always see Config.DEBUG == false. i am using Eclipse v3.4.1 and Android SDK 1.6. thanks in advance for further answer!! On Apr 4, 1:35 pm, Xavier Ducrohet <x...@android.com> wrote: > If you are talking > abouthttp://d.android.com/reference/android/util/Config.html#DEBUG > then it's based on whether the device build is a debug build. It has > nothing to do with your app. > > BTW, if Config.DEBUG is true, (for example in the emulator), then > putting debuggable=true in your manifest is not needed (the app will > be debuggable by default). > > Xav > > > > > > On Sat, Apr 3, 2010 at 11:06 PM, HeHe <cnm...@gmail.com> wrote: > > thanks. > > > i did, otherwise ADT build tool would complain it. > > > do you get a true Config.DEBUG value with your apk? > > > On Apr 3, 7:53 pm, JP <joachim.pfeif...@gmail.com> wrote: > >> On Apr 3, 4:30 pm, HeHe <cnm...@gmail.com> wrote:> yes, the flag is set to > >> true. > > >> In the right location? In the manifest, it must be placed like this: > >> <application > >> android:debuggable="true" > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > > To unsubscribe, reply using "remove me" as the subject. > > -- > Xavier Ducrohet > Android SDK Tech Lead > Google Inc. > > Please do not send me questions directly. Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en