Android app on module1 is not building sucessfully
Closed this issue · 5 comments
Thanks!
What project is that failing on?
I had to change “Minimum Android to target” (the middle setting) to API Level 19 on the Application tab of the MyHealth.Client.Droid otherwise it was failing with a "No resource found that matches the given name” error
It was happening with the droid project but now I can't build the UWP one either.
I'm planning to copy the code again to start from scratch and see if that helps..
Ok – let me know how you go. I jus went through it and for the UWP app I had to go into the UWP app’s Nuget Package Manager and remove and re-add (not a reinstall nuget command, but real remove and add from the Nuget Package Manager) of the Microsoft.NETCore.UnversalWindowsPlatform version 5.0.0 before it would compile correctly. For some reason even if the nuget reference is there and it says it’s installed, it isn’t really when you first open the project. Then I restarted visual studio and opened the solution again and it built.
From: Ruben Rios <notifications@github.commailto:notifications@github.com>
Reply-To: Microsoft-Build-2016/CodeLabs-MobileDevOps <reply@reply.github.commailto:reply@reply.github.com>
Date: Thursday, March 17, 2016 at 2:38 PM
To: Microsoft-Build-2016/CodeLabs-MobileDevOps <CodeLabs-MobileDevOps@noreply.github.commailto:CodeLabs-MobileDevOps@noreply.github.com>
Cc: Thiago Almeida <Thiago.Almeida@microsoft.commailto:Thiago.Almeida@microsoft.com>
Subject: Re: [CodeLabs-MobileDevOps] Android app on module1 is not building sucessfully (#1)
It was happening with the droid project but now I can't build the UWP one either.
I'm planning to copy the code again to start from scratch and see if that helps..
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-198093107
@nzthiago The middle setting is just for the run-time, so shouldn't affect the compilation at all. I've found that if you clean the solution, close VS, then re-open VS and build it should be ok. I still seem to get errors in the error window that you can safely ignore - at least, I can test, deploy and debug despite the errors.
@colindembovsky Tried cleaning, closing, reopening and building and I can't build/deploy the project.
At some point (and copying over different solutions), I have been able to test both Android and Windows but after copying the files and trying again, I still get "Build failed"
Will these exercises run on prep VMs or actual machines? I'm a little worried that users will start to hit issues like this when trying to go over the lab.