Details
-
Bug
-
Resolution: Incomplete
-
P1: Critical
-
None
-
5.2.1, 5.3.2, 5.5.0
-
Mint 16, 5.2.1
Description
I am not knowing using bearers, but I get the following error:
E/Qt (12801): Can't create main activity E/Qt (12801): java.io.FileNotFoundException: /data/data/org.iMagicLab.vinscan/lib/libplugins_bearer_libqgenericbearer.so: open failed: ENOENT (No such file or directory) E/Qt (12801): at libcore.io.IoBridge.open(IoBridge.java:416) E/Qt (12801): at java.io.FileInputStream.<init>(FileInputStream.java:78) E/Qt (12801): at java.io.FileInputStream.<init>(FileInputStream.java:105) E/Qt (12801): at org.qtproject.qt5.android.bindings.QtActivity.createBundledBinary(QtActivity.java:403) E/Qt (12801): at org.qtproject.qt5.android.bindings.QtActivity.extractBundledPluginsAndImports(QtActivity.java:476) E/Qt (12801): at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:569) E/Qt (12801): at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:858) E/Qt (12801): at android.app.Activity.performCreate(Activity.java:5267) E/Qt (12801): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097) E/Qt (12801): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2209) E/Qt (12801): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2295) E/Qt (12801): at android.app.ActivityThread.access$700(ActivityThread.java:150) E/Qt (12801): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1280) E/Qt (12801): at android.os.Handler.dispatchMessage(Handler.java:99) E/Qt (12801): at android.os.Looper.loop(Looper.java:176) E/Qt (12801): at android.app.ActivityThread.main(ActivityThread.java:5279) E/Qt (12801): at java.lang.reflect.Method.invokeNative(Native Method) E/Qt (12801): at java.lang.reflect.Method.invoke(Method.java:511) E/Qt (12801): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102) E/Qt (12801): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869) E/Qt (12801): at dalvik.system.NativeStart.main(Native Method) E/Qt (12801): Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory) E/Qt (12801): at libcore.io.Posix.open(Native Method) E/Qt (12801): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110) E/Qt (12801): at libcore.io.IoBridge.open(IoBridge.java:400) E/Qt (12801): ... 20 more
With the following project file:
# Add more folders to ship with the application, here folder_01.source = qml/vinscan folder_01.target = qml DEPLOYMENTFOLDERS = folder_01 # Additional import path used to resolve QML modules in Creator's code model QML_IMPORT_PATH = # The .cpp file which was generated for your project. Feel free to hack it. SOURCES += main.cpp \ vinscanner.cpp \ videoimageprovider.cpp \ videosurface.cpp QT += multimedia quick linux { # LIBS += -lzbar } #INCLUDEPATH +=/usr/include # Installation path # target.path = # Please do not modify the following two lines. Required for deployment. include(qtquick2applicationviewer/qtquick2applicationviewer.pri) qtcAddDeployment() HEADERS += \ vinscanner.h \ videoimageprovider.h \ videosurface.h ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android OTHER_FILES += \ android/AndroidManifest.xml android { # ANDROID_EXTRA_LIBS += $$PWD/android/libs/armeabi-v7a/libzbarjni.so # LIBS += -liconv # LIBS += -lzbarjni # ANDROID_EXTRA_LIBS += $$PWD/android/libs/armeabi-v7a/libiconv.so LIBS += -L$$PWD/android/libs/armeabi-v7a } ANDROID_EXTRA_LIBS = /home/jhihn/Projects/vinscan/android/libs/armeabi-v7a/libiconv.so /home/jhihn/Projects/vinscan/android/libs/armeabi-v7a/libzbarjni.so
I have looked all over for help and I cannot get an answer. Since this uses androiddeployqt, I don't know what to do.
Attachments
Issue Links
- replaces
-
QTBUG-43327 CLONE - java.io.FileNotFoundException: /data/data/org.company.app/lib/libplugins_bearer_libqgenericbearer.so
- Closed
- resulted in
-
QTCREATORBUG-11868 Android: Failure when deploying extra libraries from package source dir
- Closed