Monday, December 13, 2010

Re: [android-developers] Problem of "debug build".

Thank you very much.

在 2010-12-14 上午4:13,"Xavier Ducrohet" <xav@android.com>写道:
> After looking into it, it's half broken.
>
> The debug build technically works. It does put debuggable=true in the
> manifest. That is, in the compiled manifest.
> However ADT is being stupid, and doesn't detect this (looks into the
> original text version) and, at launch time, restrict to run only, not
> debug.
>
> work around:
> - keep working the way you were before, putting debuggable=true. At
> least it's not a regression, but it's stupid :(
> - or, run your app instead of debugging it, and then use the DDMS
> device view to connect a debugger to it.
>
> I'm fixing this asap.
>
> On Mon, Dec 13, 2010 at 12:18 AM, Xavier Ducrohet <xav@android.com> wrote:
>> hey guys,
>>
>> I'm going to look into this tomorrow.
>>
>> On Thu, Dec 9, 2010 at 2:43 AM, Farproc <farproc@gmail.com> wrote:
>>> I have upgraded to Android SDK 2.3(with Android SDK Tools, version 8 &
>>> Android SDK Platform-tools, version1) and ADT/DDMS Version:
>>> 8.0.1.v201012062107-82219. But I can't use the "debug build" feature.
>>> I remove "debuggable" attribute in the AndroidManifest.xml of my project
>>> because the doc says
>>>
>>> Developers no longer need to add the android:debuggable attribute to
>>> the <application> tag in the manifest — the build tools add the attribute
>>> automatically.
>>>
>>> but when I try to debug that app in Eclipse, the Console window shows
>>>
>>> [2010-...... - TestDebug] Device 'HT01TP*****' requires that applications
>>> explicitely declare themselves as debuggable in their manifest.
>>>
>>> [2010-....... - TestDebug] Application 'com.xxxxx.testdebug' does not have
>>> the attribute 'debuggable' set to TRUE in its manifest and cannot be
>>> debugged.
>>>
>>>  Any idea? 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+unsubscribe@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>>
>>
>> --
>> Xavier Ducrohet
>> Android SDK Tech Lead
>> Google Inc.
>>
>> Please do not send me questions directly. Thanks!
>>
>
>
>
> --
> 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+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment