首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >正在尝试使用Qt Creator编译我的应用程序

正在尝试使用Qt Creator编译我的应用程序
EN

Stack Overflow用户
提问于 2018-06-26 11:51:52
回答 1查看 238关注 0票数 2

以下是编译输出的底部部分。我卡住了,请帮帮忙。我似乎找不到任何关于错误15的东西。此外,当我编译时,这个错误显示似乎仍然创建了一个.apk,但当我将其作为内部测试发布到Google Play上时,应用程序立即崩溃,图标下面没有名称。我对这个程序/代码不是很有经验,但我已经做到了这一点。需要一些专家的建议。

代码语言:javascript
复制
23132854 res/layout/select_dialog_singlechoice_material.xml (OK - compressed)
23133325 res/layout/splash.xml (OK - compressed)
23133595 res/layout/support_simple_spinner_dropdown_item.xml (OK - compressed)
23133952 resources.arsc (OK)
Verification succesful
Signed
Verifies
Verified using v1 scheme (JAR signing): true
Verified using v2 scheme (APK Signature Scheme v2): true
Number of signers: 1
WARNING: META-INF/android.arch.core_runtime.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/android.arch.lifecycle_livedata-core.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/android.arch.lifecycle_runtime.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/android.arch.lifecycle_viewmodel.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/com.android.support_animated-vector-drawable.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/com.android.support_appcompat-v7.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/com.android.support_cardview-v7.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/com.android.support_customtabs.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/com.android.support_support-compat.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/com.android.support_support-core-ui.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/com.android.support_support-core-utils.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/com.android.support_support-fragment.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/com.android.support_support-media-compat.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/com.android.support_support-v4.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/com.android.support_support-vector-drawable.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Material.impl
Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.impl
Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Fusion.impl
Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Imagine.impl
Warning: QML import could not be resolved in any of the import paths:      QtQuick.Controls.Universal.impl
23:37:05: The process "C:\V-PlaySDK\V-Play\android_armv7\bin\androiddeployqt.exe" exited with code 15.
Error while building/deploying project Project_Name (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.10.1 Android armv7 V-Play))
When executing step "Build Android APK"
23:37:05: Elapsed time: 00:38.
EN

回答 1

Stack Overflow用户

发布于 2018-06-26 19:12:36

查看source of androiddeployqt15的退出代码是CannotSignPackage,所以签名出了问题。此外,META-INF警告可能与此相关。

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/51034615

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档