过去几个小时我一直在网上搜索,找到了很多与我的问题相关的信息-但没有一个真正解决它们。我的机器是64位的,安装了32位的VisualStudio10。解决方案使用.Net4。解决方案包括Crystal报表的64位安装。解决方案还包括log4net。在VS2010中编译项目对于Debug和Release,任何cpu都可以。我添加了一个我想要构建的Web设置项目。但是,无论配置如何,编译时都会出现以下错误(在VSUI和使用devenv.exe的命令行中):ERROR:File'CrystalDecisions.ReportAppServer.Prompting.dll'targeting'
TargetingS+(version31andabove)requiresthatoneofFLAG_IMMUTABLEorFLAG_MUTABLEbespecifiedwhencreatingaPendingIntent.查找问题思路我出现的原因是因为引入了华为推送导致,我试了网上说的下面的引用,但是对我来说,没啥用。你们可以试试dependencies{//ForJavaimplementation'androidx.work:work-runtime:2.7.1'//ForKotlinimplementation'androidx.work:work-runtime-ktx:2.7.1
TargetingS+(version31andabove)requiresthatoneofFLAG_IMMUTABLEorFLAG_MUTABLEbespecifiedwhencreatingaPendingIntent.查找问题思路我出现的原因是因为引入了华为推送导致,我试了网上说的下面的引用,但是对我来说,没啥用。你们可以试试dependencies{//ForJavaimplementation'androidx.work:work-runtime:2.7.1'//ForKotlinimplementation'androidx.work:work-runtime-ktx:2.7.1