Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Various Issues - Phoneword Tutorial

$
0
0

So I've been going through the 'getting started' Android tutorials and running into issues right off the bat. I managed to get my Android connected through Xamarin Live, but none of the sample projects would run, giving this error:

"Xamarin Live has some limitations that may prevent your app from running or displaying correctly." The itemized issues included "[Project] is a native app. For best results use Xamarin Forms".

So i moved onto the Phoneword tutorial. Made it through. Compiled with no errors (after some work). Then i got this error:

error: 'Resource.Layout' does not contain a definition for 'Main'
error: 'Resource.Id' does not contain a definition for 'PhoneNumberText'
error: 'Resource.Id' does not contain a definition for 'TranslatedPhoneWord'
error: 'Resource.Id' does not contain a definition for 'TranslateButton'

On a hunch, i tried changing Main.axml to .xml and i was again presented with

"Xamarin Live has some limitations that may prevent your app from running or displaying correctly." The itemized issues included "Phoneword is a native app. For best results use Xamarin Forms".

So i changed it back to axml. Same error as above except now it adds something about "xamarin doesn't use axml".

It's not like I'm following some screwball tutorial - it's from their own website. Not really sure where to go from here.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>