-
Notifications
You must be signed in to change notification settings - Fork 538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enabling ProGuard puts application in infinite deploy loop #1646
Comments
@JonDouglas : Does this happen with Xamarin.Android 8.3.0 (current stable)? Does this happen if you build from the command line ( The MSBuild Log File provided shows no installation errors, nor a hang, but it does contain |
So this app is crashing on start:
I updated to Xamarin.Forms 3.2 in the attached project and it works after using this
As for the looping thing, I suspect there "used to be" some retry logic in the IDE when a deploy failed? I didn't see that loop behavior in VS 15.8.5. I think we can close this as fixed now. There is an existing issue for adding default proguard config for Xamarin.Forms: xamarin/Xamarin.Forms#2709 |
Steps to Reproduce
App16-ProGuard.zip
App16-NoProGuard.zip
ProGuard
Task andadb logcat
:ProGuard Task
When deploying,
adb logcat
shows thatActivityManager
continues to attempt starting processes and then kills them:ActivityManager logs
Note: This log is repeated indefinitely and sits in a deploy.
Expected Behavior
Application should run and deploy.
Actual Behavior
ProGuard is stripping types and in turn throwing an exception which is being infinitely retried. Application shows blank content and sits in a deploy phase.
Version Information
Version Information
MSBuild Log File
https://gist.github.com/JonDouglas/0a9d34eac53b59edf115b8fcec2d450a
The text was updated successfully, but these errors were encountered: