Xamarin Forms Mobile App
-
This is my first attempt evet at Xamarin or Mobile Apps. Using VS2015 Enterprise on Win 7. I'm following this page[^]. I select Blank App (Xamarin.Forms.Portable) and click OK. It then starts creating 4 projects. - I get prompted to connect to a Mac. No. - I get prompted for the target (Win 10 is the only choice) First Issue I get the message "A problem was encountered creating the sub project 'App1.Windows'. This project requires a Visual Studio update to load. Right-click on the project and choose "Download Update"." VS is still busy creating things so I can't click Download Update yet so I click OK VS finishes creating things. Second Issue I look for "Download Updates" on the Windows project - it's not there All 4 projects are there - PCL, Droid, iOS, and Windows. So I try to compile. Third Issue Now the fun begins. I get 37 compilation errors, all in the Android project. There are a bunch of thses: "Download failed. Please download https://dl-ssl.google.com/android/repository/android\_m2repository\_r22.zip and put it to the C:\Users\Me\AppData\Local\Xamarin\Xamarin.Android.Support.Design\23.0.1.3 directory. There are a bunch of "Please install package...." messages - When I go to NuGet, they're already installed. I also get a bunch of "The remote server returned an error: (407) Proxy Authentication Required." errors. All I did was try to create the projects? Any ideas on what's wrong?
If it's not broken, fix it until it is
-
This is my first attempt evet at Xamarin or Mobile Apps. Using VS2015 Enterprise on Win 7. I'm following this page[^]. I select Blank App (Xamarin.Forms.Portable) and click OK. It then starts creating 4 projects. - I get prompted to connect to a Mac. No. - I get prompted for the target (Win 10 is the only choice) First Issue I get the message "A problem was encountered creating the sub project 'App1.Windows'. This project requires a Visual Studio update to load. Right-click on the project and choose "Download Update"." VS is still busy creating things so I can't click Download Update yet so I click OK VS finishes creating things. Second Issue I look for "Download Updates" on the Windows project - it's not there All 4 projects are there - PCL, Droid, iOS, and Windows. So I try to compile. Third Issue Now the fun begins. I get 37 compilation errors, all in the Android project. There are a bunch of thses: "Download failed. Please download https://dl-ssl.google.com/android/repository/android\_m2repository\_r22.zip and put it to the C:\Users\Me\AppData\Local\Xamarin\Xamarin.Android.Support.Design\23.0.1.3 directory. There are a bunch of "Please install package...." messages - When I go to NuGet, they're already installed. I also get a bunch of "The remote server returned an error: (407) Proxy Authentication Required." errors. All I did was try to create the projects? Any ideas on what's wrong?
If it's not broken, fix it until it is
Have a look at the Android SDK manager and try removing and re-installing the API 23 stuff, and make sure the Preview Channel stuff is firmly in the bin where it belongs. For the X86 emulators, you'll need HAXM, which doesn't update itself so grab the latest version from Intel to make sure (my VS 2015 installation added HAXM 1.0 which isn't good enough, it demands V 6.0 IIRC). For the "download required" problem, have a look here: c# - “This project requires a Visual Studio update to load” error when creating a Xamarin.Forms Cross-Platform Application - Stack Overflow[^] - the Marakai solution may help. It's all a bit flaky and rushed, I think.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
Have a look at the Android SDK manager and try removing and re-installing the API 23 stuff, and make sure the Preview Channel stuff is firmly in the bin where it belongs. For the X86 emulators, you'll need HAXM, which doesn't update itself so grab the latest version from Intel to make sure (my VS 2015 installation added HAXM 1.0 which isn't good enough, it demands V 6.0 IIRC). For the "download required" problem, have a look here: c# - “This project requires a Visual Studio update to load” error when creating a Xamarin.Forms Cross-Platform Application - Stack Overflow[^] - the Marakai solution may help. It's all a bit flaky and rushed, I think.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
Thanks I'll give it a try
If it's not broken, fix it until it is
-
Thanks I'll give it a try
If it's not broken, fix it until it is
If it doesn't fix it, then give me a shout tomorrow when I've got the PC on, and we'll see what the differences between our two setups are.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
If it doesn't fix it, then give me a shout tomorrow when I've got the PC on, and we'll see what the differences between our two setups are.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
Will do
If it's not broken, fix it until it is
-
Have a look at the Android SDK manager and try removing and re-installing the API 23 stuff, and make sure the Preview Channel stuff is firmly in the bin where it belongs. For the X86 emulators, you'll need HAXM, which doesn't update itself so grab the latest version from Intel to make sure (my VS 2015 installation added HAXM 1.0 which isn't good enough, it demands V 6.0 IIRC). For the "download required" problem, have a look here: c# - “This project requires a Visual Studio update to load” error when creating a Xamarin.Forms Cross-Platform Application - Stack Overflow[^] - the Marakai solution may help. It's all a bit flaky and rushed, I think.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
OriginalGriff wrote:
try removing and re-installing the API 23 stuff,
OK, so I opend the SDK manager and removed them... um, how do I now reinstall them? THE SDK manager doesn't seem to have a way to do that?
If it's not broken, fix it until it is
-
OriginalGriff wrote:
try removing and re-installing the API 23 stuff,
OK, so I opend the SDK manager and removed them... um, how do I now reinstall them? THE SDK manager doesn't seem to have a way to do that?
If it's not broken, fix it until it is
Tick them - the "Install 'n' Packages" button will be enabled.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
Tick them - the "Install 'n' Packages" button will be enabled.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
Um...you have an enabled button labeled "Install 16 packages..."
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
Addendum: did you run the SDK manager in Admin mode? If not, it'll fail to update (or mine does)
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
Um...you have an enabled button labeled "Install 16 packages..."
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
No, I was just confirming with you that what I have is the correct SDK manager. My SDK app looks like the one I posted, except I have no packages to be installed. I just restarted it as Admin and same thing.
If it's not broken, fix it until it is
-
Tick them - the "Install 'n' Packages" button will be enabled.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
If that's all you have, then no, it won't work. Dropbox - SDKManagerClosed.jpg[^] Dropbox - SDKManagerOpened.jpg[^] Is what I have. Can you share pics of yours? (Ooo-er :~)
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
If that's all you have, then no, it won't work. Dropbox - SDKManagerClosed.jpg[^] Dropbox - SDKManagerOpened.jpg[^] Is what I have. Can you share pics of yours? (Ooo-er :~)
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
OriginalGriff wrote:
Can you share pics of yours?
I wish I could. Can't access Dropbox/Onedrive, etc, from this PC. Company network restrictions
If it's not broken, fix it until it is
-
If that's all you have, then no, it won't work. Dropbox - SDKManagerClosed.jpg[^] Dropbox - SDKManagerOpened.jpg[^] Is what I have. Can you share pics of yours? (Ooo-er :~)
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
OK, just looked at your pics on my phone. I don't see most of that you have, and I don't see anything that needs to be installed. Any idea what's wrong here?
If it's not broken, fix it until it is
-
OriginalGriff wrote:
Can you share pics of yours?
I wish I could. Can't access Dropbox/Onedrive, etc, from this PC. Company network restrictions
If it's not broken, fix it until it is
You're Platinum debator - so you have an uploads area in your profile. http://www.codeproject.com/script/Membership/Uploads/6122202/SDKManagerClosed.jpg[^] http://www.codeproject.com/script/Membership/Uploads/6122202/SDKManagerOpened.jpg[^] Hopefully you can see them from mine.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
OK, just looked at your pics on my phone. I don't see most of that you have, and I don't see anything that needs to be installed. Any idea what's wrong here?
If it's not broken, fix it until it is
Damnit - gotta go for an hour, Herself is yelling about "getting a life" or something...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
Damnit - gotta go for an hour, Herself is yelling about "getting a life" or something...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
:rolleyes:
If it's not broken, fix it until it is
-
You're Platinum debator - so you have an uploads area in your profile. http://www.codeproject.com/script/Membership/Uploads/6122202/SDKManagerClosed.jpg[^] http://www.codeproject.com/script/Membership/Uploads/6122202/SDKManagerOpened.jpg[^] Hopefully you can see them from mine.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
How do I upload a file? Don't see an upload area in my profile
If it's not broken, fix it until it is
-
You're Platinum debator - so you have an uploads area in your profile. http://www.codeproject.com/script/Membership/Uploads/6122202/SDKManagerClosed.jpg[^] http://www.codeproject.com/script/Membership/Uploads/6122202/SDKManagerOpened.jpg[^] Hopefully you can see them from mine.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
Been onto something else for the last few days. I want to again try to get this working. I have your email address so we can exchange pics if needed. I would appreciate your help.
If it's not broken, fix it until it is