开发者

Trouble with Android SDK and ADB

I'm trying to load my apk into the SDK and when I type "android-sdk-windows\platform-tools\adb install RaceTones.apk" in the command line, all I get is:

Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Keith Baldwin>cd c:\

C:>android-sdk-windows\platform-tools\adb install RaceTones.apk can't find 'RaceTones.apk' to install

I've checked 开发者_开发知识库and I do have that apk file in the platform-tools directory. I'm running Windows XP and have the latest SDK. Also, I'm running the emulator as I don't own a Droid device. What am I doing wrong?

Thanks for any and all help!


adb is looking for the APK in the current directory, from your example, c:\.

So either move the APK to c:\ or change the current directory c:\android-sdk-windows\platform-tools\ and run the adb command again.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜