Questions tagged as 'xamarin'

1
answer

Could not find android.jar for API Level 25

I'm just trying to run a simple "Hello World" in Visual Studio. I created a cross platform design. I installed Visual Studio 2017, trying to run does not open the emulator, generating the following error: Error: Could not find android.ja...
asked by 22.08.2017 / 04:21
1
answer

How to test my application made in Xamarin in the Visual Studio emulator?

I made a mobile android app using Xamarin and tested it normally, I made some modifications and when I was compiling again, the visual studio emulator remained with the old version, making me unable to test my application. With this I uninstalle...
asked by 11.08.2017 / 02:17
1
answer

Xamarin cross platform project starts with errors

Cross Platform project in Visual Studio already opens with 31 errors, maybe it's just IDE settings. If someone has encountered this problem, here is an example of the errors that appear.     
asked by 21.07.2017 / 16:10
1
answer

Xamarin Method 'Plugin.Geolocator.Abstractions.IGeolocator.GetPositionAsync' not found

This is returning me an error:    "Method 'Plugin.Geolocator.Abstractions.IGeolocator.GetPositionAsync'   not found " In the IOS version this is working fine, however on Android could someone give me a hint? It's my first app on Xamarin...
asked by 21.07.2017 / 21:40
1
answer

How to use Segmented Controls in Xamarin Forms

Galera, One help, I need to use a Segmented Controls type in my Xamarin Forms. But it does not exist. I have seen that to use Native per platform, but I have not found any example or documentation guide for this. Has anyone done anythin...
asked by 21.07.2017 / 19:13
0
answers

How to connect to the PostgreSql database using Xamarim

To create a Mobile application using the PostgreSql database, but not able to open the connection: My code: public class PgSql { private string connString = "Server=192.168.1.5;Port=5432;User ID=postgres;Password=Kalisba987;Database=Lot...
asked by 25.07.2017 / 21:09
1
answer

'Resource.String' Does not contain a definition for 'gcm_defaultSenderId' xamarin

I'm implementing Push Notification in my app, it was working, but now the error is in two variables not defined in the Resource in google_app_id and gcm_defaultSenderId. When I try to add them manually in the resource of sure of first more in th...
asked by 12.07.2017 / 17:19
0
answers

Xamarin error after deploy

I made a simple app that reads a barcode and inserts it into a sqlite base. When I'm in debug, it works perfectly, it saves the data, etc ... But when I put in a release, I unplug the phone from the notebook, the app opens, it start...
asked by 23.06.2017 / 06:07
0
answers

Problems when running project with xamarin: java / lang / NoClassDefFoundError: java / lang / Object

This always happens when I try to run an Android project or CrossPlatform. How do I resolve this? OBS1: I have the problem again and I do not know what to do, I have no recourse for this.     
asked by 20.06.2017 / 15:39
1
answer

Receiving items from a feed - Xamarin

With this method I search all the items in a url. Now I need to select only the item from the fifth position, how can I do this and what changes should I make? private async Task<List<FeedItem>> ParseFeed(string rss) {...
asked by 06.06.2017 / 16:33