Results 1 to 2 of 2

Thread: "application has encountered a fatal error" on a Necessitas AVD

  1. #1
    Join Date
    Jan 2012
    Location
    Dortmund, Germany
    Posts
    159
    Thanks
    69
    Thanked 10 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    Windows Android

    Default "application has encountered a fatal error" on a Necessitas AVD

    Hi,
    I am trying to compile and run a program with Necessitas, installed on WinXP (VM). I have set up OpenJDK and Ant (I even tried another version, WinAnt, but without any change of the outcome). The program compiles, the AVD gets started up and loads, the program is being installed and is being run, I see the "Necessitas" logo - and the error message:
    Your application has encountered a fatal error and cannot continue
    The application output states:
    Can't find '/data/data/org.kde.necessitas.example.Kombiversuch/lib/libKombiversuch.so
    "Kombiversuch" is the name of the program / the .pro file.
    I am absolutely unsure, though, what the real origin of the problem is.

    The full output is here:
    Starting remote process ...
    D/dalvikvm( 347): GC_EXTERNAL_ALLOC freed 53K, 53% free 2555K/5379K, external 410K/517K, paused 52ms
    D/dalvikvm( 347): DexOpt: --- BEGIN 'QtIndustrius-14.jar' (bootstrap=0) ---
    D/dalvikvm( 347): DexOpt: --- END 'QtIndustrius-14.jar' (success) ---
    D/dalvikvm( 347): DEX prep '/data/data/org.kde.necessitas.ministro/files/qt/jar/QtIndustrius-14.jar': unzip in 122ms, rewrite 496ms
    D/dalvikvm( 347): Trying to load lib /data/data/org.kde.necessitas.ministro/files/qt/lib/libQtCore.so 0x405100f0
    D/dalvikvm( 347): Added shared lib /data/data/org.kde.necessitas.ministro/files/qt/lib/libQtCore.so 0x405100f0
    D/dalvikvm( 347): No JNI_OnLoad found in /data/data/org.kde.necessitas.ministro/files/qt/lib/libQtCore.so 0x405100f0, skipping init
    D/dalvikvm( 347): Trying to load lib /data/data/org.kde.necessitas.ministro/files/qt/lib/libQtGui.so 0x405100f0
    D/dalvikvm( 347): Added shared lib /data/data/org.kde.necessitas.ministro/files/qt/lib/libQtGui.so 0x405100f0
    D/dalvikvm( 347): No JNI_OnLoad found in /data/data/org.kde.necessitas.ministro/files/qt/lib/libQtGui.so 0x405100f0, skipping init
    D/dalvikvm( 347): Trying to load lib /data/data/org.kde.necessitas.ministro/files/qt/plugins/platforms/android/libandroid-9.so 0x405100f0
    D/dalvikvm( 347): Added shared lib /data/data/org.kde.necessitas.ministro/files/qt/plugins/platforms/android/libandroid-9.so 0x405100f0
    I/Qt ( 347): qt start
    I/Qt JAVA ( 347): Can't find '/data/data/org.kde.necessitas.example.Kombiversuch/lib/libKombiversuch.so
    W/dalvikvm( 347): No implementation found for native Lorg/kde/necessitas/industrius/QtNative;.startQtApp (Ljava/lang/String;Ljava/lang/StringV
    W/System.err( 347): java.lang.reflect.InvocationTargetException
    W/System.err( 347): at java.lang.reflect.Method.invokeNative(Native Method)
    W/System.err( 347): at java.lang.reflect.Method.invoke(Method.java:507)
    W/System.err( 347): at org.kde.necessitas.origo.QtActivity.loadApplicatio n(QtActivity.java:150)
    W/System.err( 347): at org.kde.necessitas.origo.QtActivity.access$200(QtA ctivity.java:77)
    W/System.err( 347): at org.kde.necessitas.origo.QtActivity$3$1$1.run(QtAc tivity.java:201)
    W/System.err( 347): at android.os.Handler.handleCallback(Handler.java:587 )
    W/System.err( 347): at android.os.Handler.dispatchMessage(Handler.java:92 )
    W/System.err( 347): at android.os.Looper.loop(Looper.java:123)
    W/System.err( 347): at android.app.ActivityThread.main(ActivityThread.jav a:3683)
    W/System.err( 347): at java.lang.reflect.Method.invokeNative(Native Method)
    W/System.err( 347): at java.lang.reflect.Method.invoke(Method.java:507)
    W/System.err( 347): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:839)
    W/System.err( 347): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:597)
    W/System.err( 347): at dalvik.system.NativeStart.main(Native Method)
    W/System.err( 347): Caused by: java.lang.UnsatisfiedLinkError: startQtApp
    W/System.err( 347): at org.kde.necessitas.industrius.QtNative.startQtApp( Native Method)
    W/System.err( 347): at org.kde.necessitas.industrius.QtNative.startApplic ation(QtNative.java:183)
    W/System.err( 347): at org.kde.necessitas.industrius.QtActivityDelegate.s tartApplication(QtActivityDelegate.java:300)
    W/System.err( 347): ... 14 more
    I/Qt JAVA ( 347): surfaceChanged: 800,581,800,581

    'org.kde.necessitas.example.Kombiversuch' died
    I don't have a clue what to do about this and I didn't find valuable help by googling, because I have to look for problems related to ".so" - and "so" is such a very common word... Any ideas, what might be the problem here?

  2. #2
    Join Date
    Jan 2012
    Location
    Dortmund, Germany
    Posts
    159
    Thanks
    69
    Thanked 10 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    Windows Android

    Default Re: "application has encountered a fatal error" on a Necessitas AVD

    No ideas, anyone?

Similar Threads

  1. Replies: 32
    Last Post: 25th August 2012, 23:10
  2. "Cannot find -lqjpeg" error when compiling QT application in static mode
    By JonathanReez in forum Installation and Deployment
    Replies: 7
    Last Post: 6th September 2011, 15:44
  3. Android / necessitas: SQLITE error ("Driver not loaded")
    By Al_ in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 28th August 2011, 15:06
  4. "Treat wchar_t as Built-in Type" to "yes" link error
    By sungaoyong in forum Qt Programming
    Replies: 1
    Last Post: 5th June 2008, 11:45
  5. QFile Problem~ "Unknow error" in "open(QIODevice::ReadWrite)"
    By fengtian.we in forum Qt Programming
    Replies: 3
    Last Post: 23rd May 2007, 15:58

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.