• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Super NOOB

stainlessray

Android Enthusiast
I'm not a developer, I'm just using the SDK attempting to install an app. When I use the command "adb install %path\apname" it returns the message "can't find %filename" but i can change to the directory and see it right there... I've even tried doing it from the directory where it exists, using the path for the adb command.

ALSO, the apps name has spaces in it, and when i enter it in verbatim, it cuts off the 1st 2 words. i tried renaming it excluding the spaces, and that didn't work either, it can't find the file then either.

I figured, theres got to be someone in this forum who can help me. and i couldn't find my exact problem anywhere else. thanks.
 
Hi stainlessray

Could you post the exact commands that you're using please.
It's not clear to me how the error message relates to the command you're using. I can't tell if you're using environment variables, and I'm confused about why the error says "%filename" when your command specified "%path\appname".

Are you working with an apk file?
If you dowloaded that file then it's much easier to install it by downloading it directly to your phone. Once it's downloaded you can do the installation on the phone. You just select the apk file from the notification bar after the download is complete. (Check your settings to make sure you enable installation for unknown sources. See the Applications page in the settings app.)

If you can't download the apk file to your phone, you could put it on the SD card. There are apps around that will then let you select the file and install it. (I can't suggest any as I've not used one myself. But I've seen them mentioned.)

Mark
 
Upon reading your answer i realize how poorly my question was written. I should never have shorthanded my quotation the way i did to programmers. SORRY about that.
I use (from the directory where adb exists)

"adb install c:\users\ray\downloads\apk files\Hands Free Music.apk"

gets me:

"unable to find Music.apk to install"
(tried renaming the file without spaces on a whim, no help same result)

if i do it from the directory where the apk file exists it looks very much the same except i use the path to the abd, and get the same result.

whatever i am doing wrong is eluding me because i know so little, yet i know i am close, because the error message suggests i am indeed trying to install something on my device, but for a stated reason, i can not.

also, although i could use an apk to install it, i am on a mission to make this single leap forward in my knowledge of how all this works. it may seem small to you, but to me it has become important. i believe a greater understanding will lead to greater enjoyment, and the abillity to get more from my device :D

thanks in advance for any help or time you spend on this. it really will be appreciated.
 
Back
Top Bottom