Ministro II "Your application encountered a fatal error and cannot continue"
Lauri Laanmets
lauri.laanmets at proekspert.ee
Sat Oct 29 13:30:08 UTC 2011
Hi
Yes, I'm sorry, the issue is that I need to recompile the main repo
myself to get my patch in it.... but I have to get used to the new
structure :)
Somehow when I compiled the Qt main, .jar files where not built (and no
error - at least not visible). So I use the script in
/android/builtQtJar and got one step closer, so I have it almost running
but getting some missing QtNativeLibrariesDir class from
loadApplication. I have to track down what is the cause - maybe the jar
files were not correctly built?
All in all, yes, using local libs does NOT need ministro but new
/data/local/qt/jar/* in the device.
Regards
Lauri
On 29.10.2011 16:17, BogDan wrote:
> Make sure you are checking "Deploy local qt libs" once !
> Cheers,
> BogDan.
>
>
>
> ----- Original Message -----
>> From: Lauri Laanmets<lauri.laanmets at proekspert.ee>
>> To: BogDan<bog_dan_ro at yahoo.com>
>> Cc: necessitas-devel at kde.org
>> Sent: Saturday, October 29, 2011 3:05 PM
>> Subject: Re: Ministro II "Your application encountered a fatal error and cannot continue"
>>
>> Hi
>>
>> Sry, I was too hasty, using local libs has an issue with relevant Java parts:
>>
>> W/System.err(15603): java.lang.ClassNotFoundException:
>> org.kde.necessitas.industrius.QtActivityDelegate in loader
>> dalvik.system.DexClassLoader at 406cf2d8
>> W/System.err(15603): at
>> dalvik.system.DexClassLoader.findClass(DexClassLoader.java:241)
>> W/System.err(15603): at
>> java.lang.ClassLoader.loadClass(ClassLoader.java:540)
>> W/System.err(15603): at
>> java.lang.ClassLoader.loadClass(ClassLoader.java:500)
>> W/System.err(15603): at
>> org.kde.necessitas.origo.QtActivity.loadApplication(QtActivity.java:141)
>> W/System.err(15603): at
>> org.kde.necessitas.origo.QtActivity.startApp(QtActivity.java:288)
>> W/System.err(15603): at
>> org.kde.necessitas.origo.QtActivity.onCreate(QtActivity.java:517)
>> W/System.err(15603): at
>> android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1048)
>>
>> Am I missing something or is it a bug?
>>
>> Lauri
>>
>> ----- Original Message -----
>> From: "Lauri Laanmets"<lauri.laanmets at proekspert.ee>
>> To: "BogDan"<bog_dan_ro at yahoo.com>
>> Cc: necessitas-devel at kde.org
>> Sent: Saturday, October 29, 2011 2:40:42 PM
>> Subject: Re: Ministro II "Your application encountered a fatal error and
>> cannot continue"
>>
>> Hi
>>
>> I got some time to have a look myself.
>>
>> 1. I guess QtCreator doesn't check if the Java files are newer in QT SDK,
>> user has to check it himself?
>> 2. Using local libs didn't need Ministro previously but I guess with the new
>> Java part, Ministro MUST be installed in all cases. A bit inconvenient I have to
>> say :)
>>
>> Otherwise, yes, If Java files are in sync with Qt libs, it seems to work. Good
>> Job!
>>
>> Regards
>> Lauri
>>
>> ----- Original Message -----
>> From: "BogDan"<bog_dan_ro at yahoo.com>
>> To: "Jonathan Greig"<redteam316 at gmail.com>,
>> necessitas-devel at kde.org
>> Sent: Friday, October 28, 2011 10:04:14 PM
>> Subject: Re: Ministro II "Your application encountered a fatal error and
>> cannot continue"
>>
>>
>>
>>
>> Hi,
>>
>>
>> This error is sent to your application by Ministro when it can't download
>> all your libraries,
>>
>> make sure you have an internet connection on your device/emulator.
>>
>>
>> Also make sure you are NOT using android java files for previous releases !
>> (remove android folder form your project). You ca test it by installing Ministro
>> and run your application without Ministro installed, it should open Android
>> Market and it should point your Ministro II, if not then your application is not
>> using the right android java files.
>>
>>
>> Cheers,
>> BogDan.
>>
>>
>>
>>
>>
>>
>>
>> From: Jonathan Greig<redteam316 at gmail.com>
>> To: necessitas-devel at kde.org
>> Sent: Friday, October 28, 2011 2:49 PM
>> Subject: Ministro II "Your application encountered a fatal error and cannot
>> continue"
>>
>>
>> I have updated my SDK to the alpha 3 testing SDK, and updated Ministro II on my
>> Samsung Galaxy S (Mesmerize) to version 6.0. I have the Ministro Configuration
>> tool and tried all 3 repositories but every time I try to start my
>> application(from the necessitas QtCreator or simply starting my app from the
>> phone), Ministro II tries to download QtCore twice and then gives me an error
>> message saying that it cannot satisfy the application dependencies. My
>> application uses QtCore, QtGui, QtScript, QtScriptTools, QtOpenGL.
>>
>> Figuring something got bargled up, I uninstalled Ministro II and Ministro I, and
>> all config tools and reinstalled only the Ministro II and config tool 2. Now
>> Every time I try to start the app I get an error messgae saying: "Your
>> application encountered a fatal error and cannot continue". Any idea whats
>> wrong?
>>
>> _______________________________________________
>> Necessitas-devel mailing list
>> Necessitas-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/necessitas-devel
>>
>>
>>
>> _______________________________________________
>> Necessitas-devel mailing list
>> Necessitas-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/necessitas-devel
>> _______________________________________________
>> Necessitas-devel mailing list
>> Necessitas-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/necessitas-devel
>>
More information about the Necessitas-devel
mailing list