Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 Android (Samsung S4) 上部署我的 Qt5 应用程序。它编译得很好,但是在部署时它会停止:
Starting debugger "QmlCppEngine" for ABI "arm-linux-android-elf-32bit
在应用程序输出中,我得到:
Unable to start 'org.qtproject.example.testapp'. Debugging has failed
可能是什么原因?
在查看 logcat 报告时,我发现类似:
“dlopen() 失败:somelib.so 找不到 libQt5PrintSupport.so”
通过从项目中临时排除 somlib.so,我能够运行应用程序。
在我的情况下,错误原来是因为 Android 模拟器空间不足,所以请确保检查模拟器上是否有足够的空间。
卸载一些应用程序以释放空间后,错误消失了。