Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Getting "Error : Could not find a part of the path 'd:\platforms'." when building on VSTS

$
0
0

Xamarin Forms project, building release version on Hosted 2017 agent on Visual Studio Team Services. Builds debug config just fine, but when I build a release config I get an error Could not find a part of the path 'd:\platforms':
_CompileToDalvikWithDx: Creating directory "obj\Beta\proguard". C:\Program Files (x86)\Java\jdk1.8.0_112\\bin\java.exe -Xmx1G -jar "C:\Program Files (x86)\Android\android-sdk\build-tools\25.0.2\\lib\dx.jar" --no-strict --dex --output=obj\Beta\android\bin obj\Beta\android\bin\classes "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\MonoAndroid\v7.1\mono.android.jar" obj\Beta\__library_projects__\FormsViewGroup\library_project_imports\formsviewgroup.jar obj\Beta\__library_projects__\HockeySDK.AndroidBindings\library_project_imports\bin\classes.jar obj\Beta\__library_projects__\OkHttp\library_project_imports\okhttp-2.3.0-jar-with-dependencies.jar obj\Beta\__library_projects__\Telerik.Xamarin.Android.Common\library_project_imports\bin\Common.jar obj\Beta\__library_projects__\Telerik.Xamarin.Android.Data\library_project_imports\bin\Data.jar obj\Beta\__library_projects__\Telerik.Xamarin.Android.Input\library_project_imports\bin\Input.jar obj\Beta\__library_projects__\Telerik.Xamarin.Android.List\library_projec... Creating "obj\Beta\_dex_stamp" because "AlwaysCreate" was specified. C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2120,3): Error : Could not find a part of the path 'd:\platforms'.

Have tried both with linking to None and SDK Only.

The same configuration builds just fine locally. I can't find any reference to the "platforms" path in any project file, nor in any other part of the build log. Only in reference to this error.

Anyone have any ideas on what it could be?


Viewing all articles
Browse latest Browse all 91519

Trending Articles