-
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
Enhanced Fast Deployment doesn't work with Application subclasses #2730
Comments
Looks like this is "mostly" working. The only combination that still doesn't seem to work is
which is a bit weird.
|
I managed to figure out why the combination above does not work. In the case of a custom application, we need the java side of the C# class in order to create the object. The problem here is the java code is NOT in the app, but in the What we need to do is somehow include the This is going to take some time to figure out and I suspect it will require changes to the |
Unit test added #3408 |
Still unsure how to fix the last case of a Custom App and FastDev. |
Maybe we need to figure out how they deploy java code changes with Apply Changes and go about it a different way? The parts of |
While checking the accuracy of what I had written for the Xamarin.Android 9.2 preview release notes related to Enhanced Fast Deployment, I realized I should check the exact old test case from Xamarin Bugzilla Bug 55050. It turns out the test case fails with a different error with the new version of Enhanced Fast Deployment. The error on an Android 8.0 emulator is very similar to the one seen by a user in Developer Community 435111 (probably only different because I'm using a newer preview version), but the error is different on an Android 7.1 emulator and on an Android 9.0 device, so I am filing a new issue to record all 3 versions of the error message.
Steps to Reproduce
Download the test case.
Build and install the app with enhanced fast deployment enabled:
Run the app.
Expected Behavior
The app launches successfully and displays the "HELLO WORLD, CLICK ME!" button. (This is how the test case behaves when Enhanced Fast Deployment is disabled.)
Actual Behavior
The app exits unexpectedly during initialization.
Excerpt from the
adb logcat
output on Android 9.0 (API level 28) arm64-v8a Google Pixel 3 deviceExcerpt from the
adb logcat
output on Android 8.0 (API level 26) x86 emulatorExcerpt from the
adb logcat
output on Android 7.1 (API level 25) x86 emulatorVersion Information
Visual Studio 2019 Int Preview
Xamarin.Android SDK 9.1.103.12 (HEAD/7e1c4688)
The text was updated successfully, but these errors were encountered: