If you have preferExternal set, you don't even need to specify to install in the SD card; that will be the preferred install location.
On Thu, Feb 3, 2011 at 2:50 PM, EvgenyV <[email protected]> wrote: > Hi all! > > Trying to run following command: > C:\Users\evgeny>"D:\Android\android-sdk_r07-windows\tools\adb.exe" -d > install -s "D:\MyTest.apk" > and getting > Error: Unknown option: -s > > However the adb -help is showing > adb install [-l] [-r] [-s] <file> - push this package file to the > device and install it > ('-l' means forward-lock the app) > ('-r' means reinstall the app, keeping > its data) > ('-s' means install on SD card instead > of internal storage) > > My manifest has attribute android:installLocation="preferExternal" > > Looks like this issue has been reported > http://code.google.com/p/openetna/issues/detail?id=102 > > What wrong in my command? And what can be an other way to test the SD > card installation? > > Thanks a lot, > Evgeny > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

