android - Xamarin.Forms - AOT compile not working (for Android)
问题描述
This is the repository that demonstrates this issue. This is simple standard project with one page. I created the archive for publishing (release mode). If I use the "AOT compile" option, I get the error:
"Apk failed to install Error:could not parse error string"
If I disable this option, then the APK works.
To use my test project, update the option AndroidSigningKeyStore
in ApkSignerIssue.Android.csproj to point to file test.keystore
in the folder test
.
I'm on Windows 10 and I'm using Android Api 26. If I try Api 25, it does not work. I've tried using VS 15.5.7 and 15.8.0(preview) with "AOT compile" and neither of those work.
Without this option, XF+Android can not be used; the first load of the app will take 8-10 seconds.
It worked earlier, but now I can not build a package to release an update to my application.
解决方案
现在降级到 15.5.7 为我工作。
我不知道为什么这没有立即起作用,也许我重新启动了计算机。但现在它可以工作了。
很好 - 我能够发布我的应用程序的更新。这很可悲——这是我三个月内的第四次降级(从 15.6 开始)。归档包不能正常工作三个月,三个月,卡尔!
我浪费了很多时间。
推荐阅读
- linux - 从 PDF 转换为 PNG:平滑渐变获得可见边缘
- android - Android - 在 Web 表单中为 POST 获取隐藏值
- ibm-watson - Watson Assistent 中的对话节点和意图问题
- ansible - 无法从数据库中获取 gitlab runners 注册令牌
- c# - System.Web.HttpParseException:'“@”字符后出现意外的“{”
- mongodb - MongoDB-备份和恢复用户和角色
- python - 是什么导致 Google BigQuery 查询的开销如此之大?
- vb.net - 以逗号分隔的升序文本框
- yii - reset() 期望参数 1 是数组,更新 Yii 版本后在 Gii 中给出的整数
- bazel - Bazel - 如何确定需要重建的目标?