Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. Xamarin Forms Mobile App

Xamarin Forms Mobile App

Scheduled Pinned Locked Moved Mobile
25 Posts 4 Posters 18 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kevin Marois
    wrote on last edited by
    #1

    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

    OriginalGriffO M 2 Replies Last reply
    0
    • K Kevin Marois

      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

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      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...

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      K 2 Replies Last reply
      0
      • OriginalGriffO OriginalGriff

        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...

        K Offline
        K Offline
        Kevin Marois
        wrote on last edited by
        #3

        Thanks I'll give it a try

        If it's not broken, fix it until it is

        OriginalGriffO 1 Reply Last reply
        0
        • K Kevin Marois

          Thanks I'll give it a try

          If it's not broken, fix it until it is

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #4

          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...

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          K 1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            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...

            K Offline
            K Offline
            Kevin Marois
            wrote on last edited by
            #5

            Will do

            If it's not broken, fix it until it is

            1 Reply Last reply
            0
            • OriginalGriffO OriginalGriff

              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...

              K Offline
              K Offline
              Kevin Marois
              wrote on last edited by
              #6

              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

              OriginalGriffO 1 Reply Last reply
              0
              • K Kevin Marois

                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

                OriginalGriffO Offline
                OriginalGriffO Offline
                OriginalGriff
                wrote on last edited by
                #7

                Tick them - the "Install 'n' Packages" button will be enabled.

                Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                K 2 Replies Last reply
                0
                • OriginalGriffO OriginalGriff

                  Tick them - the "Install 'n' Packages" button will be enabled.

                  Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                  K Offline
                  K Offline
                  Kevin Marois
                  wrote on last edited by
                  #8

                  My SDK looks like this[^] Except, the Install Check Box is already checked when the SDK opens. The Install button is disabled. Everything listed is already installed. There are no items marked "Not Installed".

                  If it's not broken, fix it until it is

                  OriginalGriffO 2 Replies Last reply
                  0
                  • K Kevin Marois

                    My SDK looks like this[^] Except, the Install Check Box is already checked when the SDK opens. The Install button is disabled. Everything listed is already installed. There are no items marked "Not Installed".

                    If it's not broken, fix it until it is

                    OriginalGriffO Offline
                    OriginalGriffO Offline
                    OriginalGriff
                    wrote on last edited by
                    #9

                    Um...you have an enabled button labeled "Install 16 packages..."

                    Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                    K 1 Reply Last reply
                    0
                    • K Kevin Marois

                      My SDK looks like this[^] Except, the Install Check Box is already checked when the SDK opens. The Install button is disabled. Everything listed is already installed. There are no items marked "Not Installed".

                      If it's not broken, fix it until it is

                      OriginalGriffO Offline
                      OriginalGriffO Offline
                      OriginalGriff
                      wrote on last edited by
                      #10

                      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...

                      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                      1 Reply Last reply
                      0
                      • OriginalGriffO OriginalGriff

                        Um...you have an enabled button labeled "Install 16 packages..."

                        Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                        K Offline
                        K Offline
                        Kevin Marois
                        wrote on last edited by
                        #11

                        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

                        1 Reply Last reply
                        0
                        • OriginalGriffO OriginalGriff

                          Tick them - the "Install 'n' Packages" button will be enabled.

                          Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                          K Offline
                          K Offline
                          Kevin Marois
                          wrote on last edited by
                          #12

                          See this[^]. This is what I'm seeing

                          If it's not broken, fix it until it is

                          OriginalGriffO 1 Reply Last reply
                          0
                          • K Kevin Marois

                            See this[^]. This is what I'm seeing

                            If it's not broken, fix it until it is

                            OriginalGriffO Offline
                            OriginalGriffO Offline
                            OriginalGriff
                            wrote on last edited by
                            #13

                            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...

                            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                            K 2 Replies Last reply
                            0
                            • OriginalGriffO OriginalGriff

                              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...

                              K Offline
                              K Offline
                              Kevin Marois
                              wrote on last edited by
                              #14

                              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

                              OriginalGriffO 1 Reply Last reply
                              0
                              • OriginalGriffO OriginalGriff

                                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...

                                K Offline
                                K Offline
                                Kevin Marois
                                wrote on last edited by
                                #15

                                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

                                OriginalGriffO 1 Reply Last reply
                                0
                                • K Kevin Marois

                                  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

                                  OriginalGriffO Offline
                                  OriginalGriffO Offline
                                  OriginalGriff
                                  wrote on last edited by
                                  #16

                                  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...

                                  "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                  "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                  K 2 Replies Last reply
                                  0
                                  • K Kevin Marois

                                    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

                                    OriginalGriffO Offline
                                    OriginalGriffO Offline
                                    OriginalGriff
                                    wrote on last edited by
                                    #17

                                    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...

                                    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                    K 1 Reply Last reply
                                    0
                                    • OriginalGriffO OriginalGriff

                                      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...

                                      K Offline
                                      K Offline
                                      Kevin Marois
                                      wrote on last edited by
                                      #18

                                      :rolleyes:

                                      If it's not broken, fix it until it is

                                      1 Reply Last reply
                                      0
                                      • OriginalGriffO OriginalGriff

                                        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...

                                        K Offline
                                        K Offline
                                        Kevin Marois
                                        wrote on last edited by
                                        #19

                                        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

                                        1 Reply Last reply
                                        0
                                        • OriginalGriffO OriginalGriff

                                          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...

                                          K Offline
                                          K Offline
                                          Kevin Marois
                                          wrote on last edited by
                                          #20

                                          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

                                          OriginalGriffO 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups