I'm running VS Community 2022 Preview Version 17.3.0 Preview 2.0
I created a new .NET MAUI App using the Template.
When I run it under Windows, the button that you are supposed to click correctly says how many times it has been clicked after you click it.
But, when I run it under Android emulator Pixel 2 Pie 9.0, and I click the button, it just says "Clicked". It does NOT say how many times.
It is a known issue in android.And we will see a fix in the next release.
You can follow up the relative issues here:
https://github.com/dotnet/maui/pull/8136
https://github.com/dotnet/maui/issues/8028
Related
I'm trying to reset NativeScript Preview but after press and holding lunch icon, android system just let me move icon instead open menu. So, doing with original instruction: "Resetting the Preview app" from: https://preview.nativescript.org/#faq . Any hint?
I figured out that the problem is related to version of my Android - v.6.
This feature working in Android v.11.(I meant the press and hold app icon to open it's menu)
My old Galaxy S5 is unable to upgrade to higher version. So, I consider change to LineageOS which is quite time consuming and a bit risky process or buying new mobile with newer version o android system.
Still question is on which version started with this option.
I'm currently working with Xamarin for developing an android app. The structure of the app is really simple yet but a big problem appeared concerning the rendering of my main page. First, it's important to know that I'm supposed to develop for target API 23 so Android 6.0.
And every time I test my application on my Android 6.0 device via USB-debugging the design is totally messed up with my only (!) button duplicated many times and the textViews mixed up over the screen (As shown in the picture link below).
Even though I am new to Xamarin and Android (and C#) I have my settings (as I think) in perfect order. The minimum API level is 21, the target SDK version 23 (Android 6.0), my device runs version 6.0.1, the target compiling framework in properties is set to 6.0, the manifest is set up as I mentioned before and even my "Designer" window with the layouts .axml is set to v23.
I really don't know what to try next, because I want to start coding further. Would be nice if sb could help me out with that.
I have already tested the code of the app on a different API level (26 I think) and it worked perfectly fine with my Galaxy S9 in Debugger mode. Everything looked like it was designed in first place.
I also tried different AppThemes in Visual Studio but not one of the 7-8 I tried worked in any way different except for the colors.
The android app does only switch when clicking the button, texthttps://imgur.com/i0xChVniew 2 into the current date and time. I'm really sure, that my code is not the problem.
Picture: How it should look (In Xamarin)
Picture: How it looks on the phone
I've just gotten into developing apps for smartphones (I'm fairly adept with objective programming already and have some experience with Visual Studio) and decided to try out Xamarin. I've installed Xamarin Studio and Visual Studio 2015 Community with Xamarin without any problems. However, when I actually try to deploy the app (using the Xamarin Android API 15 emulator), a weird bug happens: the screen of the emulator gets split into 4 identical rectangles as you can see in this screenshot. The screen controls still work like they should and are in the default positions (the buttons are not on each of the 4 rectangles and in the normal position for a phone). I can unlock the emulator and launch apps like I would be able to on a correctly working emulator. I have all the prerequisites for Android API 15 installed. The app behaves similarly when I deploy it on the Xamarin Android API 21 emulator (all the prerequisites are installed). I am trying to deploy the blank Visual Studio 2015 Xamarin.Android app without any code changes.
Have you guys ever seen such a bug (or maybe a feature :) ) and do you know how to solve it?
Found the solution if anyone has the same problem: editing the emulator in the AVD to Use Host GPU fixes the issue.
I'm using Android Studio version 1.5 on my MacBook Air 13" (8 GB RAM). I'm using built-in Git feature for my project's version control. I try merge local and remote branches which contains conflicts and when I solve them and click Apply button Android Studio just freezes and I can't do anything! I've tried wait for 5 and more minutes but there's no changes: Android Studio stays freeze. However, other programs on my Mac are working good! At screen you can see what I have as a result. How can I avoid freeze? Thanks for helping
I have the same problem. It just seems there is an invisible dialog that takes the focus. Try pressing esc or enter button and then see if you can do anything.
Whenever, I take Time Picker and Date Picker in XML layout file in Android studio.
Android studio hangs out.
Which configuration changes i need to do? Please help me.
#Mayuri Joshi
Courtesy goes to #Wootowl's Answer .
I theorized that perhaps it was just the windows display that was
frozen (the visual rendering of the Android Studio program itself) and
guessed that perhaps this was using a DirectX device to do the
rendering of the Android UI.
I happen to have another app running on my computer that uses a
DirectX device for rendering (SimpleJungleTimer, an app I programmed
with a DirectX overlay for League of Legends jungle timers). After I
shut down this app Android Studio appears to be working properly (not
freezing when working with the UI anymore)
Ultimately it sounds like this is a bug with Android Studio itself
where they don't properly kill / reload the DirectX rendering device
when it is in conflict with another app's active DirectX device
(something that the android studio developers should probably fix) .
What should you do
Avoid Drag and drop Facility
Use Stable Android Studio (Like Version 1.3) Avoid Beta Version .
File -> Invalidates Caches/Restart. (After Clean and rebuild your project)