Bug 1930 - Error "(Failure [INSTALL_FAILED_ALREADY_EXISTS])" occurs in deploying the application on Emulator at API 10.
Summary: Error "(Failure [INSTALL_FAILED_ALREADY_EXISTS])" occurs in deploying the app...
Status: VERIFIED NOT_ON_ROADMAP
Alias: None
Product: Android
Classification: Xamarin
Component: Mono runtime / AOT Compiler ()
Version: 1.9.2
Hardware: PC Windows
: --- major
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-11-08 06:07 UTC by narayanp
Modified: 2013-06-24 10:08 UTC (History)
4 users (show)

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


Attachments
Screenshot for the bug (196.15 KB, image/png)
2011-11-08 06:07 UTC, narayanp
Details


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:
VERIFIED NOT_ON_ROADMAP

Description narayanp 2011-11-08 06:07:01 UTC
Created attachment 840 [details]
Screenshot for the bug

Step to Reproduce:

1. Launch MonoDevelop.
2. Click on "Open the existing Solution" link.
3. Browse the "SimpleWidget" application.
4. Build the application and select "Debug/Release" option under Active Configuration.
5. Click on Run from the top menu bar and select API 10 from select device window.

Actual Result:
In Release mode "Failure [INSTALL_FAILED_OLDER_SDK]" message display in Deploy to Device and in Debug mode "Application Does Not Contain a launchable Activity" Message display at the bottom.


Expected Result:
Error should not occur in running the application and application should deploy on the emulator successfully.

Environment:
MonoForAndroid 1.9.2
MonoDevelop 2.8.2
Comment 1 narayanp 2011-11-08 06:10:43 UTC
Same issue occurring when user run the application on API 7.
Comment 2 narayanp 2011-11-08 07:32:05 UTC
Similar error occurs when we run the application on API 14.
Comment 3 narayanp 2011-11-09 09:30:32 UTC
Error "Fail:Application Does Not Contain a launchable Activity" occurs when we run the application on physical device.
Comment 4 narayanp 2011-11-10 11:41:29 UTC
On MAC system:

API 10:
"Fail:Application Does Not Contain a launchable Activity(Debug)
Error: Could not access the Package Manager.  Is the system running?(Release)"

API 14: 
"Fail:Application Does Not Contain a launchable Activity(Debug)
Error: Could not access the Package Manager.  Is the system running?(Release)"

API 7:
"Fail:Application Does Not Contain a launchable Activity(Debug/Release)
Fail (Failure [INSTALL_FAILED_ALREADY_EXISTS])(Debug)"
Comment 5 narayanp 2011-11-10 11:41:56 UTC
Device: Fail:Application Does Not Contain a launchable Activity(Device)
Comment 6 Atin 2011-11-14 06:04:14 UTC
We RUN this application on MAC API 4,8,10,14 and got the below error:
Fail:Application Does Not Contain a launchable Activity
Comment 7 narayanp 2011-11-14 07:14:51 UTC
Environment on Windows7:

MonoDevelop 3.0 Beta1
MonoForAndroid 1.9.3

API 10:
Fail:Application Does Not Contain a launchable Activity(Release/Debug)

API 14: 
Fail:Application Does Not Contain a launchable Activity(Release/Debug)

API 7:
Fail:Application Does Not Contain a launchable Activity(Release/Debug)
Comment 8 Jonathan Pryor 2011-11-17 17:13:56 UTC
The SimpleWidget sample doesn't contain an Activity. Thus, Run/Debug/etc. won't work.

This requires manual intervention:
1. Tap the Home button.
2. Long-press the background.
3. Tap Widgets.
4. Select the SimpleWidget widget.
5. Make sure that it launches.
Comment 9 narayanp 2011-11-28 09:35:09 UTC
Hi jonathan,

We have followed the above mentioned steps but not found the SimpleWidget application under Tap Widget and error "Application Does Not Contain a launchable Activity" occurs in launching the application.

thanks,
Lal
Comment 10 Mohit Kheterpal 2013-06-24 10:08:37 UTC
Today we have checked this issue on following builds :

XS 4.0.8 (build 2)
MFA 4.7.10

As per instructions in comment 8, we are able to launch application successfully. Hence closing this issue. Changing its status to verified.