It seems that many of you have a problem with the version of GridLayout library. Check what is your target SDK and then install the same version of the support library. If SDK is 26, install library version 26 etc.
Everything is work fine but the following lines : app: orientation="horizontal" and next two lines are underlined(in green color shows error: The "schemas.android.com/apk/res-auto:orientation" attribute is not declared. and the designer shows red area intead of button.
i checked sdk and install library version.my sdk is 25 but in library version it not present it shows 25.1.0 or 25.1.1 what should i do in that case... it is not working.please, help me
I'm new to xamarin! I want to thank you for putting these out. I struggled yesterday with understanding the layout of forms, creating buttons, your video helped me a lot. I've been a programmmer for a long time, mainly business apps and just starting to embrace android apps.
you are too good teacher and your videos are clear and understandable and you explain each and every detail in the code makes your videos even more amazing. You just earned a sub! Keep up with your videos
When I learned C# in the early noughties, it was brand new and not a lot of tutorials around. The funny thing is to learn the environment (winforms etc.) I had the same Idea and created a calculator, back than without an IDE on purpose, because VS has had lot of useful automation, but it also hides the inner workings if you use it.
Hi! I need some help. it shows on my Visual Studio on Designer that "Show Error" and it's blank. I tried to run it and It show some error. "Java.Lang.NoClassDefFoundError:"
Could not install package 'Xamarin.Android.Support.v7.GridLayout 26.1.0.1'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v7.1', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. How do I fix this error? My visual studio only has Android v7.1
Your code seems to work and it generates the axml view correctly in your machine, but if I try to run it, always show an error (0x7F030000) when rebuild but if I clean the project it shows only the text GridLayout without the buttons. Weird :S
Hi Reso, Thanks for great tutorial. I am new for Xamarin. i have some question. what about performance, speed, GUI for Xamarin android app as compare cordova or PhoneGap application. In cordova or PhoneGap application we use jquery, javascript or Angularjs and this code run on client side so it help to reduce sever load so is it any way happen in Xamarin application because all code in c#. And which data base use for local storage in Xamarin application.
I got the same problem of Redwan. To resolve it, i start another project, include the package of GridLayout and after that I code. I think that code first, test in debug mode, more code, more test and include a package may be get some garbage in memory? Who knows...
I am getting an issue where I can not get my text to display on the button. I think it is resulting from the tag. It says it is an invalid child element. Any ideas on how to fix this issue?
When i Changed the Text alignment to right and when i enter a number it jumps from zero . int index = Operators == null ? 0:1; all the problem is here :(
I keep getting this error, No resource found that matches the given name: attr 'layout_rowWeight'. I get the same thing for the layout_columnweight from styles.xml. Any idea why this might be happening?
Bro i'm having a trouble, when i create the project, and i open the main.axml, it the says this: « This project contains resources that were not compiled sucessfully, rendering might be affected», do u know how to solve this?
Hello, I have the following problem trying to recreate the app for Android 4.4 or higher. Could you give me some advice? Severity Code Description Project File Line Status deleted Error The package 'Xamarin.Android.Support.v7.GridLayout 25.4.0.2' could not be installed. You are trying to install this package in a project that has 'MonoAndroid, Version = v4.4' as the destination, but the package does not contain assembly references or content files that support that framework. For more information, contact the author of the package. 0
Hi! I'm not 100% sure but it could be because you have 4.4 KitKat selected as the target framework. Try to set it to for example 8.0 Oreo or Nougat. Then just set the minimum supported version to 4.4. You can find more information about it here if you're interested: developer.xamarin.com/guides/android/application_fundamentals/understanding_android_api_levels/#framework
Hi Reso, i found your tutorials today, they are awesome, thanks for that but I have a question. You always have an Icon in your c# code, I do not, why and how do I change it? And another question, you changed the textSize in the styles.xml from 25sp to 25dp why? While I followed all your steps, visual studio gives me warnings that it cant parse styles.xml and also tells me the style attribute and schemas.android.com/apk/res-auto:layout_columnSpan attribute is not declared.
Hello! What kind of icon do you mean? The textSize was actually kind of a mistake on my part it should have been left at "sp". Dp is probably better in this case though because you probably don't want the text on the buttons to scale up when the user decides to scale it up in the Android settings. Those warnings are just something we have to live with. I usually get them too but as long as nothing breaks I'm fine :)
Hi Reso, Thanks for another great tutorial. However, I am getting a strange error I can't figure out. VS keeps stating "The element LinearLayout has an invalid child element "Android.Support.v7.GridLayout". Also, when I go to designer mode, the image shows a grey rectangle on the left side that just says "GridLayout". Any idea what is happening? Thanks!
Hi ITxGamer, I noticed that Reso used version 25.4.0.2 when installing the GridLayout support package from NuGet. I had originally used v26.0.2. When I installed the previous version (25.4.0.2), everything worked fine.
hello, i have a following problem when installing the NuGet package, could you help me? Severity Code Description Project File Line Suppression State Error Could not install package 'Xamarin.Android.Support.v7.GridLayout 25.4.0.2'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. 0
Hi! I'm not 100% sure but it could be because you have 6.0 Marshmallow selected as the target framework. Try to set it to for example 8.0 Oreo or Nougat. You can find more information about it here if you're interested: developer.xamarin.com/guides/android/application_fundamentals/understanding_android_api_levels/#framework ODPOVEDAŤ
Почему windowsphone имеет визуальный редактор, а "это" - нет? Почему я должен положение, размер и прочую херню сраной кнопки вбивать вручную? Какой век сейчас на дворе? Dislike and ignor this channel.
It seems that many of you have a problem with the version of GridLayout library. Check what is your target SDK and then install the same version of the support library. If SDK is 26, install library version 26 etc.
Everything is work fine but the following lines :
app: orientation="horizontal" and next two lines are underlined(in green color shows error: The "schemas.android.com/apk/res-auto:orientation" attribute is not declared.
and the designer shows red area intead of button.
i checked sdk and install library version.my sdk is 25 but in library version it not present it shows 25.1.0 or 25.1.1 what should i do in that case... it is not working.please, help me
I'm new to xamarin! I want to thank you for putting these out. I struggled yesterday with understanding the layout of forms, creating buttons, your video helped me a lot. I've been a programmmer for a long time, mainly business apps and just starting to embrace android apps.
you are too good teacher and your videos are clear and understandable and you explain each and every detail in the code makes your videos even more amazing. You just earned a sub!
Keep up with your videos
i hope your channel will get bigger and bigger.. most of the creativity and ideas comes from a simple calculator or simple web browser !
keep it up!
When I learned C# in the early noughties, it was brand new and not a lot of tutorials around. The funny thing is to learn the environment (winforms etc.) I had the same Idea and created a calculator, back than without an IDE on purpose, because VS has had lot of useful automation, but it also hides the inner workings if you use it.
Hi! I need some help. it shows on my Visual Studio on Designer that "Show Error" and it's blank. I tried to run it and It show some error. "Java.Lang.NoClassDefFoundError:"
Exacto no carga el formato en el diseño y menciona esa excepción
Phew... Looks like layout configuration almost the same, as web HTML+CSS. Seems pretty clean for now. Also guide is perfect!
Could not install package 'Xamarin.Android.Support.v7.GridLayout 26.1.0.1'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v7.1', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
How do I fix this error? My visual studio only has Android v7.1
Try to install a previous version of the package. For SDK 25 (Nougat) you should import the plugin version 25.
In NuGet there's a drop down next to the install button, select the one that matches your android version.
Lo que yo hice y me solucionó fue instalar el sdk 8.1 de android Platform 27
Your code seems to work and it generates the axml view correctly in your machine, but if I try to run it, always show an error (0x7F030000) when rebuild but if I clean the project it shows only the text GridLayout without the buttons. Weird :S
Thank you so much for making the source code available.
Hi Reso,
Thanks for great tutorial.
I am new for Xamarin. i have some question.
what about performance, speed, GUI for Xamarin android app as compare cordova or PhoneGap application.
In cordova or PhoneGap application we use jquery, javascript or Angularjs and this code run on client side so it help to reduce sever load so is it any way happen in Xamarin application because all code in c#.
And which data base use for local storage in Xamarin application.
I got the same problem of Redwan. To resolve it, i start another project, include the package of GridLayout and after that I code.
I think that code first, test in debug mode, more code, more test and include a package may be get some garbage in memory? Who knows...
I am getting an issue where I can not get my text to display on the button. I think it is resulting from the tag. It says it is an invalid child element. Any ideas on how to fix this issue?
I don't think it's because of the error. That's just Intellisense being weird I guess. Could you post your code somewhere?
error is "Found tag style where item is expected? what to do?
I have no errors yet nothing happens when the buttons are pressed
When i Changed the Text alignment to right and when i enter a number it jumps from zero .
int index = Operators == null ? 0:1; all the problem is here :(
Good tutorial. Some changes are required as new versions of VS2017 create different files and content, but the base line is good. Thank you!
I don't get the UI layout box. And it says "Connection to the layout renderer failed. This may be caused by a misconfiguration of Java" after sometime
I keep getting this error, No resource found that matches the given name: attr 'layout_rowWeight'. I get the same thing for the layout_columnweight from styles.xml. Any idea why this might be happening?
Have you installed the GridLayout support library?
yes, i have this error too
i have the same error also and i already installed the GridLayout
Can I build the project for iOS? What changes to be done?
What parts from visual studio do I need to download?
your tutorial is helpful
but its hard to read and write the code from your videos please if you can change your screen colour ....Thank you !
I'm at 4:34 and did not get 123. This is what my program looks like: imgur.com/a/ZkHazzN what is wrong here?
Error parsing XML: not well-formed(invalid token)
omw Zoidberg's doing tutorials now
Can you not use the designer instead for something so simple?
Bro i'm having a trouble, when i create the project, and i open the main.axml, it the says this: « This project contains resources that were not compiled sucessfully, rendering might be affected», do u know how to solve this?
Tengo el mismo mensaje
Hello, I have the following problem trying to recreate the app for Android 4.4 or higher. Could you give me some advice?
Severity Code Description Project File Line Status deleted
Error The package 'Xamarin.Android.Support.v7.GridLayout 25.4.0.2' could not be installed. You are trying to install this package in a project that has 'MonoAndroid, Version = v4.4' as the destination, but the package does not contain assembly references or content files that support that framework. For more information, contact the author of the package. 0
Hi! I'm not 100% sure but it could be because you have 4.4 KitKat selected as the target framework. Try to set it to for example 8.0 Oreo or Nougat. Then just set the minimum supported version to 4.4. You can find more information about it here if you're interested: developer.xamarin.com/guides/android/application_fundamentals/understanding_android_api_levels/#framework
Thanks, easy to understand.
(From Vietnam)
Great work!! Keep it up!!
Hi Reso, i found your tutorials today, they are awesome, thanks for that but I have a question. You always have an Icon in your c# code, I do not, why and how do I change it? And another question, you changed the textSize in the styles.xml from 25sp to 25dp why?
While I followed all your steps, visual studio gives me warnings that it cant parse styles.xml and also tells me the style attribute and schemas.android.com/apk/res-auto:layout_columnSpan attribute is not declared.
Hello! What kind of icon do you mean? The textSize was actually kind of a mistake on my part it should have been left at "sp". Dp is probably better in this case though because you probably don't want the text on the buttons to scale up when the user decides to scale it up in the Android settings.
Those warnings are just something we have to live with. I usually get them too but as long as nothing breaks I'm fine :)
we need more videos you are amazing
Hi Reso,
Thanks for another great tutorial. However, I am getting a strange error I can't figure out. VS keeps stating "The element LinearLayout has an invalid child element "Android.Support.v7.GridLayout". Also, when I go to designer mode, the image shows a grey rectangle on the left side that just says "GridLayout". Any idea what is happening?
Thanks!
Same problem here
Hi ITxGamer,
I noticed that Reso used version 25.4.0.2 when installing the GridLayout support package from NuGet. I had originally used v26.0.2. When I installed the previous version (25.4.0.2), everything worked fine.
Ok, i will try this. thx
Great Tutorial! :D Wanna try this one soon :)
great tutorial thank you
the package didnt work
my buttons are to low height and low width... :(
I did all then u :c
Ohh just look like small button, but when i tryed in device it was worked!
GREAT TUTORIAL!!!
Great work
nice tutorial, thanx
Hello,
I folowed the tutorial step by step but got an error, please help me to fix it:
Gravité Code Description Projet Fichier Ligne État de la suppression
Avertissement L'élément 'LinearLayout' a un élément enfant non valide 'support.v7.widget.GridLayout' dans l'espace de noms 'schemas.android.com/apk/res/android'. Liste d'éléments possibles attendue : 'AbsoluteLayout, ViewGroup, View, ActionMenuView, LinearLayout, AdapterViewFlipper, AdapterViewAnimator, AdapterView, AnalogClock, AutoCompleteTextView, EditText, TextView, Button, CalendarView, FrameLayout, CheckBox, CompoundButton, CheckedTextView, Chronometer, DatePicker, DialerFilter, RelativeLayout, DigitalClock, ExpandableListView, ListView, AbsListView, Gallery, AbsSpinner, GridLayout, GridView, HorizontalScrollView, ImageButton, ImageView, ImageSwitcher, ViewSwitcher, ViewAnimator, MediaController, MultiAutoCompleteTextView, NumberPicker, ProgressBar, QuickContactBadge, RadioButton, RadioGroup, RatingBar, AbsSeekBar, ScrollView, SearchView, SeekBar, SlidingDrawer, Space, Spinner, StackView, Switch, TabHost, TableLayout, TableRow, TabWidget, TextClock, TextInputTimePickerView, TextSwitcher, TimePicker, ToggleButton, Toolbar, TwoLineListItem, VideoView, SurfaceView, ViewFlipper, ZoomButton, ZoomControls, android.webkit.WebView, android.gesture.GestureOverlayView, TextureView, ViewStub, fragment, incl.... CalculatriceRaphael D:\ANAEL\DERAPHAEL\ACADEMIE\GL\Applications\CalculatriceRaphael\CalculatriceRaphael\Resources\layout\activity_main.axml 20
Thank you
Hey, which software have u used for screen recording?
hello, i have a following problem when installing the NuGet package, could you help me?
Severity Code Description Project File Line Suppression State
Error Could not install package 'Xamarin.Android.Support.v7.GridLayout 25.4.0.2'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. 0
Hi! I'm not 100% sure but it could be because you have 6.0 Marshmallow selected as the target framework. Try to set it to for example 8.0 Oreo or Nougat. You can find more information about it here if you're interested: developer.xamarin.com/guides/android/application_fundamentals/understanding_android_api_levels/#framework
ODPOVEDAŤ
cool video)
nice tutorial :)
the best
Привет
J
Почему windowsphone имеет визуальный редактор, а "это" - нет? Почему я должен положение, размер и прочую херню сраной кнопки вбивать вручную? Какой век сейчас на дворе? Dislike and ignor this channel.
Спасибо лол.