私はthis tutorialから来ている、WeatherApp
を構築しようとしていますが、私はこのエラーを見ています:Visual Studioで間違ったJDKバージョンを使用しようとしているのはなぜですか?
The specified task executable location "C:\Program Files (x86)\Java\jdk1.7.0_55\bin\javac.exe" is invalid.
とこの警告(それらが関連しているかどうかわからない):
Found conflicts between different versions of the same dependent assembly. In Visual Studio, double-click this warning (or select it and press Enter) to fix the conflicts; otherwise, add the following binding redirects to the "runtime" node in the application configuration file:
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="System.Runtime" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" /><bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" /></dependentAssembly></assemblyBinding>
私はdoubeのことができます - 警告をクリックして消えさせますが、エラーは残ります。私はプロジェクトは、私が代わりにProgram Files
点までの私のxamarinのoptioinsを変更したとして、JDKのバージョンを使用しようとしている理由はわからない:
なぜVisual Studioは、そのversioinの使用しようとしていますJDK?
JAVA_HOMEがあなたのPCで何ですか? –
@システム変数の下で、 'JAVA_HOME'は' C:\ Program Files \ Java \ jdk1.8.0_111'に設定されます – Bassie
時々、古い参照を保持する 'sdk.caches'ファイルがあります。 'obj/bin'フォルダの両方を削除して問題が解決するかどうか確認してください。そうでない場合は、 'Build Output'を有効にして、あなたの投稿に' Build Output Log'を添付してください:https://forums.xamarin.com/discussion/27515/how-to-obtain-diagnostic-build-ログ(XS)とhttp://blogs.msdn.com/b/msbuild/archive/2005/09/29/475157.aspx(VS) –