Bug 52976 - [XVS 2017-Dev15 RTW] App installed on internal storage even after selecting "Prefer Enternal" from manifest
Summary: [XVS 2017-Dev15 RTW] App installed on internal storage even after selecting "...
Status: RESOLVED ANSWERED
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 7.2 (15.1)
Hardware: PC Windows
: --- major
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2017-03-02 16:13 UTC by Jacky Waswani
Modified: 2017-06-23 19:04 UTC (History)
2 users (show)

Tags: bb
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description Jacky Waswani 2017-03-02 16:13:35 UTC
Application is installed on internal emulator storage even after selecting "Prefer External" from Android Manifest file.
Tested on Debug and release modes.

Steps:
1.Create a sample Android app.
2.Navigate to the solution properties>Android Manifest and select "Prefer External" from the Intall location drop down.
3,Build and deploy application on an emulator that has an external storage available with sufficient space.

Expected result:
Application should be installed on external storage.

Actual result:
App is installed in internal storage.

Screencast:
http://www.screencast.com/t/G2bKIL6cdCvm
Comment 1 Tom Opgenorth 2017-06-23 19:04:07 UTC
I can confirm this behaviour, however I don't believe it's a bug. 

Setting the install location to preferExternal is only a request of the operating system that the app may be installed on external storage. It is not a guarantee that the app *will* be installed on external storage.

Google's guide on App Install Location (https://developer.android.com/guide/topics/data/install-location.html) provides more information on the behaviour of the Install Location.