[英]Qt5 Android deployment issue
Two years ago I developed a Qt4 Android app using Ministro and it worked perfectly in that time. 两年前,我使用Ministro开发了一个Qt4 Android应用程序,当时它运行良好。 Right now I am porting the same code into Qt5.
现在,我正在将相同的代码移植到Qt5中。 After updating several files I could compile and create the APK file in a pretty clean way.
更新几个文件后,我可以用一种非常干净的方式编译并创建APK文件。 Nevertheless, when I try to deploy the app into my tablet, it crashes showing these two error messages:
但是,当我尝试将应用程序部署到平板电脑中时,它崩溃并显示以下两个错误消息:
No implementation found for int[] org.qtproject.qt5.android.ExtractStyle.extractNativeChunkInfo()
And: 和:
E/libEGL (11187): cache file failed CRC check
These are my settings: 这些是我的设置:
Note: I tried to deploy my app from a virtual android device (using API 23) and I got the same result. 注意:我尝试从虚拟android设备(使用API 23)部署应用程序,但结果相同。
Finally I could solve the problem in a very strange way: I removed all the Android references in my code, including the android manifest. 最后,我可以用一种非常奇怪的方式解决问题:我删除了代码中的所有Android引用,包括android清单。 In other words, I transformed my app into a "desktop" solution.
换句话说,我将我的应用程序转换为“桌面”解决方案。 Then, from QtCreator I made the deployment pointing to android and everything worked in a pretty clean way.
然后,从QtCreator,我使部署指向android,一切都以一种非常干净的方式工作。 I wonder how Qt solutions have evolved as an actual resource for mobile development in just few years.
我想知道Qt解决方案如何在短短几年内发展成为移动开发的实际资源。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.