For more information, see the Suggest a feature. If you don't have a problem to report but want to suggest a feature, there's a place for doing that too. If you don't want to or can't use Visual Studio to report a problem, there's a chance the problem has already been reported and a solution posted on the Visual Studio Developer Community page.Developing using: Visual Studio 2008 WinXp Terminal Service -> Win2k3 Sp2 (64bit) VSS 8.0, 32bitVisual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. I do most of my development in connected mode. Any thoughts why Will installing Sp1 help EDIT: I do not work with any addons except SourceSafe. And install the Microsoft Visual C++ Redistributable Package again.Used MSBuild to build the project as mentioned in #2727Visual Studio randomly crashes when adding/removing references and projects.
Visual Studio Crash Doing Mac SDK 12Log FileI could share the source code / apk / app bundles privately to the Xamarin Android teamI have played with AppBundles on our app for the last two days and I confirm the issue.I have tried deactivating AOT, or EmbedAssembliesIntoApk with the same results.I have two devices : Xiaomi 4c (Android 5.1), Xiaomi 4s (Android 7). Depending on your project type and settings, a different version of the compiler may be used.Visual F# Tools 10.4 for F# 4.6 16.2.0-beta.19306.3+3de631a4ba0f54953bad33661008d39fb6df7669Microsoft Visual F# Tools 10.4 for F# 4.6Visual Studio Code Debug Adapter Host Package 1.0Interop layer for hosting Visual Studio Code debug adapters in Visual StudioXamarin 16.2.0.81 Studio extension to enable development for Xamarin.iOS and Xamarin.Android.Xamarin Designer 16.2.0.289 Studio extension to enable Xamarin Designer tools in Visual Studio.Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.Xamarin.Android SDK 9.4.0.34 (d16-2/7cce305)Xamarin.Android Reference Assemblies and MSBuild support.Xamarin.iOS and Xamarin.Mac SDK 12.14.0.93 (55ad141)Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support. For more information about NuGet, visit ProjectServicesPackage Visual Studio Extension Detailed InfoResourcePackage Visual Studio Extension Detailed InfoVisual Basic Tools 3.2.0-beta3-19312-05+5905d757a89126ebbcdb383b1a10cadda8c6fdc3Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.Extensibility Message Bus 1.2.0 common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.IntelliCode Visual Studio Extension Detailed InfoProvides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual MachinesProvides support for connecting Visual Studio to MI compatible debuggersMono Debugging for Visual Studio 16.2.3 (373927b)Support for debugging Mono processes with Visual Studio.NuGet Package Manager in Visual Studio. Version InformationMicrosoft Visual Studio Community 2019 PreviewVisualStudio.16.Preview/16.2.0-pre.3.0+29021.104Azure App Service Tools v3.0.0 16.2.226.19058C# Tools 3.2.0-beta3-19312-05+5905d757a89126ebbcdb383b1a10cadda8c6fdc3C# components used in the IDE. Expected BehaviorShould Open App in every phone without crash Actual BehaviorApp crashes during startup in most of the phones.It seems like the Android version might be a good hint there.If you need some further digging I will be glad to Sorry Jon I cannot share the apk but I made a whole bunch of other tests including yours so please read what is to follow. Deploying manually the AAB from the command line with BundleTool in version 0.10.0: Crashes at startup even in the Emulator except on Xiaomi 4c.Bundletool build-apks -bundle=com.myapp-Signed.aab -output=my_app.apks bundletool install-apks -apks=my_app.apksFrom what I see the Xiaomi 4c and Xiaomi 4s have exactly the same processor. Deploying the AAB inside Google Play Store with the Internal Test Track/Alpha: Same results as above Deploying the AAB inside Google Play Store with the Internal App Sharing feature: The application crashes at startup in all devices but the Xiaomi 4c where everything is fine Deploying from VS4Mac works perfectly on all phones with AAB compilation enabled as well as with the Android Emulator. ConclusionSomething in my application seem to incur a modification to the android:extractNativeLibs to true instead of false when using bundletool-all-0.10.0.jar.This modification seems to be the source of the crashes but does not impact Android 5.1.1My guess is that the error comes from this modification and I have no idea on what to do from there and it may, or may not be related to Xamarin.I wrote some notes about extractNativeLibs when I implemented app bundles with bundletool 0.8.0 at the time: It appears the logic that determines if native libraries are compressed has changed.After reading their code and seeing this isInstallableOnExternalStorage() method, does adding android:installLocation="preferExternal" help?I will do some research to figure out what we need to do here. Hunting the differences with ApkAnalyzerWe have the same aab, the same keystore, and by using a different version of bundletool we have different behaviours (aka crashes).I tried to get the difference between the version generated by bundletool-all-0.8.0.jar, bundletool-all-0.9.0.jar and bundletool-all-0.10.0.jar.As you can see in the picture, the difference between 8 and 9 is mainly a difference in the resources and in the manifest.The difference between 9 and 10 is only a manifest difference.Resources are not the important but I decided to take a look at the manifest and extracted them to compare.Between 8 and 9 resources nave have been mainly renamed or replaced with integer values.Between 9 and 10 however we can see that the flag android:extractNativeLibs has its default value changed from false to true.To be safe I tried setting android:extractNativeLibs="false" inside my application manifest and then recompile, redeploy and extracting the whole thing but the property has been overriden byI rechecked my test project and saw that here the flag was set to false. Checking the presence of java_lang_SystemConclusion: The issue does not seem to be related to its absence. Windows 95 emulator for mac os xIf the persistent app is installable on// external storage only split APKs targeting device above Android P should be uncompressed (as// uncompressed native libraries crashes with ASEC external storage and support for ASEC// external storage is removed in Android P).
0 Comments
Leave a Reply. |
AuthorCasey ArchivesCategories |