qt - Deploying to Android results in file not found after adding QtQuick Controls -
after importing qtquick.controls 1.2
, using stackedwidget
component, error when deploying android seen below. missing file animationdrawable.qml
not missing android build directory not understand why not packaged apk.
it deploys fine when remove imported qtquick.controls
, replace stackview
else.
my qt version 5.4.2.
i tried deploying qt 5.3.2 , works expected.
e/qt (12767): can't create main activity e/qt (12767): java.io.filenotfoundexception: --added-by-androiddeployqt--/qml/qtquick/controls/styles/android/drawables/animationdrawable.qml e/qt (12767): at android.content.res.assetmanager.openasset(native method) e/qt (12767): at android.content.res.assetmanager.open(assetmanager.java:313) e/qt (12767): at android.content.res.assetmanager.open(assetmanager.java:287) e/qt (12767): at org.qtproject.qt5.android.bindings.qtactivity.copyasset(qtactivity.java:394) e/qt (12767): at org.qtproject.qt5.android.bindings.qtactivity.extractbundledpluginsandimports(qtactivity.java:503) e/qt (12767): at org.qtproject.qt5.android.bindings.qtactivity.startapp(qtactivity.java:582) e/qt (12767): at org.qtproject.qt5.android.bindings.qtactivity.oncreate(qtactivity.java:895) e/qt (12767): at android.app.activity.performcreate(activity.java:5990) e/qt (12767): at android.app.instrumentation.callactivityoncreate(instrumentation.java:1106) e/qt (12767): at android.app.activitythread.performlaunchactivity(activitythread.java:2278) e/qt (12767): at android.app.activitythread.handlelaunchactivity(activitythread.java:2387) e/qt (12767): at android.app.activitythread.access$800(activitythread.java:151) e/qt (12767): at android.app.activitythread$h.handlemessage(activitythread.java:1303) e/qt (12767): at android.os.handler.dispatchmessage(handler.java:102) e/qt (12767): at android.os.looper.loop(looper.java:135) e/qt (12767): at android.app.activitythread.main(activitythread.java:5254) e/qt (12767): at java.lang.reflect.method.invoke(native method) e/qt (12767): at java.lang.reflect.method.invoke(method.java:372) e/qt (12767): at com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:903) e/qt (12767): at com.android.internal.os.zygoteinit.main(zygoteinit.java:698)
when deploying application, androiddeployqt
copy bunch of files terribly fails on windows when source or destination paths become longer 260 characters (yeah, that's "known feature"). keeping qt installation , project directory top level possible helps reduce path lengths , solves problem. , that's it!
Comments
Post a Comment