昨天,今天,明天,每天的每天,你是否都多懂得一点点...

星期四, 五月 19, 2011

Becaureful of tf checking

In vs2010's pending window, if you undo changes, it will undo unchange files. if any file is changed, there will be a pop up window ask for your confimation, I always answer "Not to all".

By doing this, all unchnaged files will disappear from the pending window.

But, if you do a tf checkin cmd to pop up the pending window,

Don't undo a changed file if you don't want to do it. There is not confimation window here, all your changes will be undo.

--
Feng

ANT: taskdef class com.android.ant.SetupTask cannot be found ...

ANT: taskdef class com.android.ant.SetupTask cannot be found ...



the reason is that:

The local.properties.files doesn't have the right sdk.dir set up.


# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must *NOT* be checked in Version Control Systems,
# as it contains information specific to your local configuration.

# location of the SDK. This is only used by Ant
# For customization when using a Version Control System, please read the
# header note.
sdk.dir=c:\\Dev\\Android\\android-sdk

--
Feng

星期一, 五月 02, 2011

ADB server didn't ACK

C:\Dev\Android\android-sdk\platform-tools>adb kill-server

C:\Dev\Android\android-sdk\platform-tools>adb start-server
* daemon not running. starting it now on port 5037 *
ADB server didn't ACK
* failed to start daemon *

If this happen, go to task manager and kill adb.exe 

then , restart adb server.

also, eclipse need to be restarted if you are using it.

--
Feng

其它博客地址

此博客的同步博客地址: http://fengnz.wordpress.com
这里进入我的MSN SPACE.