我在 vsts 构建中出现构建错误。因此我已经部署了最后一次成功的构建提交的代码,但仍然给了我同样的错误。在生成日志中,我发现jdk版本从 1.8.0172更改为1.8.0.181
在我们的本地计算机上,一切正常。
Cella.Mobile\Cella.Mobile.Droid\obj\Release\android\src\md527a7103d6e2301228bd63a256515d332\CustomTypefaceSpan.java(22,3): Error : error: no suitable constructor found for TypefaceSpan(Typeface)
super (p0);
constructor TypefaceSpan.TypefaceSpan(String) is not applicable
(argument mismatch; Typeface cannot be converted to String)
constructor TypefaceSpan.TypefaceSpan(Parcel) is not applicable
(argument mismatch; Typeface cannot be converted to Parcel)
Process 'msbuild.exe' exited with code '1'.