尝试将xamarin应用程序部署到设备时出错(项目正确构建)

时间:2020-04-14 14:01:12

标签: c# android xamarin intercom

大家好:我有一个想更新的旧xamarin android应用。我所做的更改:

  • -将旧的PCL项目转换为.NET标准
  • -将依赖关系从packages.config迁移到PackageReference
  • -更新到VS的最新版本,所以我现在正在使用d8 / r8(直到现在我们使用dx)

我修复了很多错误,直到最终完成构建。

现在我面临一个非常奇怪的问题:项目正确编译,但是当我想部署到物理设备上时,我会遇到类似这样的错误(显然与对讲机库绑定有关,但是我认为这具有误导性,因为该项目在相同的绑定下工作正常,并使用dx进行了编译):

Error APT1134: No resource found that matches the given name (at 'layout_above' with value '@id/empty_text_subtitle'). 
Error APT1134: No resource found that matches the given name (at 'background' with value '@color/intercom_composer_full_screen_toolbar'). 
Error APT1134: No resource found that matches the given name (at 'layout_marginBottom' with value '@dimen/intercom_composer_activity_margin'). 
Error APT1134: No resource found that matches the given name (at 'text' with value '@string/intercom_composer_tap_to_send'). 
Error APT1134: No resource found that matches the given name (at 'fitsSystemWindows' with value '@bool/intercom_composer_fits_system_windows').
Error APT1134: No resource found that matches the given name (at 'paddingTop' with value '@dimen/intercom_composer_toolbar_content_offset'). 
Error APT1134: No resource found that matches the given name (at 'layout_marginEnd' with value '@dimen/intercom_composer_activity_margin'). 
Error APT1134: No resource found that matches the given name (at 'background' with value '@drawable/intercom_composer_circular_ripple'). 
Error APT1134: No resource found that matches the given name (at 'layout_marginRight' with value '@dimen/intercom_composer_activity_margin'). 
Error APT1134: No resource found that matches the given name (at 'layout_height' with value '@dimen/intercom_composer_toolbar_with_status_bar_height') 

我非常感谢有关解决此问题的任何线索。

PS:我无法从错误中访问这些布局:它们属于Intercom Java库,该库用于生成Xamarin绑定项目

0 个答案:

没有答案