Ministro doesn't work

17 views
Skip to first unread message

favor

unread,
Mar 17, 2011, 7:18:20 AM3/17/11
to android-qt
Hi,all

I don't get ministro running on my device; It download nothing qt
libs and the qt "HelloAndroid" application abort with exception. the
error is:
application HelloAndroid ( process:
eu.licentia.necessitas.industrius.example.HelloAndroid ) abort
unexpectedly, please try again.
I think it can't found qt libraries;

I used "adb shell ls /data/data/eu.licentia.necessitas.ministro/files/
qt", it show nothing after that.
why the directory is empty? why ministro can't download qt libs?

thanks for you help.

BogDan Vatra

unread,
Mar 17, 2011, 9:43:16 AM3/17/11
to andro...@googlegroups.com
Hi,

Please make sure you have a good internet connection,
first version of Ministro doesn't check all possible errors. To fix
this problem,
you need to clean Ministro's data or to reinstall it.

Cheers,
BogDan.

P.S. Soon this problem will be fixed, and we also move to another much
better infrastructure, so this king of issues will be avoided in the
future.


2011/3/17 favor <tan...@gmail.com>:

favor

unread,
Mar 17, 2011, 10:50:12 PM3/17/11
to android-qt
Today, I clean Ministro's data, and reinstall it, change to a better
network;
it still didn't work;

# ls /data/data/eu.licentia.necessitas.ministro
files lib
# ls /data/data/eu.licentia.necessitas.ministro/files
#

I run my application on my HTC android device, I just get a black
screen;

how can I get my application running on my deivice without using
qtcreator;

On Mar 17, 9:43 pm, BogDan Vatra <taipanroma...@gmail.com> wrote:
> Hi,
>
> Please make sure you have a good internet connection,
> first version of Ministro doesn't check all possible errors. To fix
> this problem,
> you need to clean Ministro's data or to reinstall it.
>
> Cheers,
> BogDan.
>
> P.S. Soon this problem will be fixed, and we also move to another much
> better infrastructure, so this king of issues will be avoided in the
> future.
>
> 2011/3/17 favor <tang...@gmail.com>:

BogDan Vatra

unread,
Mar 19, 2011, 8:07:04 AM3/19/11
to andro...@googlegroups.com
Hi,

This happens because Ministro's can get its data, please try to
download http://ministro.licentia.eu/qt/android/armeabi/android-9/versions.xml
and see what happens.

Anyway I hope next week to have to move to the new infrastructure
complete and you'll be able to test your apps with Ministro.

Cheers,
BogDan.

2011/3/18 favor <tan...@gmail.com>:

favor

unread,
Mar 20, 2011, 11:35:57 PM3/20/11
to android-qt
Hi, BogDan

On Mar 19, 8:07 pm, BogDan Vatra <taipanroma...@gmail.com> wrote:
> Hi,
>
> This happens because Ministro's can get its data, please try to
> downloadhttp://ministro.licentia.eu/qt/android/armeabi/android-9/versions.xml
> and see what happens.

I researched into the ministro source code, and found that the URL of
version.xml file you provided was not available.

private static URL getLibsXmlUrl(double version) throws
MalformedURLException
{
return new URL("http://"+DOMAIN_NAME+"/qt/
android/"+android.os.Build.CPU_ABI+"/
android-"+android.os.Build.VERSION.SDK_INT+"/libs-"+version+".xml");
}

according to you source code, I found the version.xml file should be
downloaded to "/data/data/eu.licentia.necessitas.ministro/files"

# ls /data/data/eu.licentia.necessitas.ministro/files
qt version.xml

the download URL is not available, it's not strange that many people
don't get the ministro work on its android phone;

I solved this by manually, I found in you source code, there are
libs-0.1.xml and versions.xml; I read that you parse the file format
like libs-0.1.xml, not the versions.xml; so what you named the file
confused me a little ( I mean, you named file as version.xml in
source code, but the versions.xml file attached with source package is
not the right format you parsed ).

so, I copied libs-0.1.xml to /data/data/
eu.licentia.necessitas.ministro/files, renamed it to version.xml( the
name will be parsed by code )

After that, Ministro work as normally, then , it download qt libs,
and qt widgets shows.

Thanks

BogDan Vatra

unread,
Mar 21, 2011, 2:52:29 PM3/21/11
to andro...@googlegroups.com
Hi,

2011/3/21 favor <tan...@gmail.com>:


> Hi, BogDan
>
> On Mar 19, 8:07 pm, BogDan Vatra <taipanroma...@gmail.com> wrote:
>> Hi,
>>
>> This happens because Ministro's can get its data, please try to
>> downloadhttp://ministro.licentia.eu/qt/android/armeabi/android-9/versions.xml
>> and see what happens.
>
> I researched into the ministro source code, and found that the URL of
> version.xml file you provided was not available.
>

Can you please share with us that URL ? It will help me a lot to find
the problem and fix it.


>        private static URL getLibsXmlUrl(double version) throws
> MalformedURLException
>        {
>                return new URL("http://"+DOMAIN_NAME+"/qt/
> android/"+android.os.Build.CPU_ABI+"/
> android-"+android.os.Build.VERSION.SDK_INT+"/libs-"+version+".xml");
>        }
>
> according to you source code, I found the version.xml file should be
> downloaded to "/data/data/eu.licentia.necessitas.ministro/files"
>
> # ls /data/data/eu.licentia.necessitas.ministro/files
> qt           version.xml
>
> the download URL is not available, it's not strange that many people
> don't get the ministro work on its android phone;
>
> I solved this by manually, I found in you source code, there are
> libs-0.1.xml and versions.xml; I read that you parse the file format
> like libs-0.1.xml, not the versions.xml; so what you named the file
> confused me  a little ( I mean, you named file as version.xml in
> source code, but the versions.xml file attached with source package is
> not the right format you parsed  ).
>
> so, I copied libs-0.1.xml to /data/data/
> eu.licentia.necessitas.ministro/files, renamed it to version.xml( the
> name will be parsed by code )
>
> After that, Ministro work as normally,  then , it download qt libs,
> and qt widgets shows.
>
> Thanks


Thank you,
BogDan.

favor

unread,
Mar 21, 2011, 10:11:34 PM3/21/11
to android-qt
Hi, BogDan

I don't have any available download URL; I just found the URL "http://
ministro.licentia.eu/qt/android/armeabi/android-9/versions.xml" you
provided is not accessible.
So I copy that file from necessitas.ministro/www/qt/android/armeabi/
android-8/libs-0.1.xml, to get Ministro do the following work.

The problem is the http://ministro.licentia.eu/qt/android/armeabi/android-9/versions.xml
is not accessible from our region.

Thanks

Joonas...@luukku.com

unread,
Mar 22, 2011, 5:07:57 AM3/22/11
to android-qt

>http://ministro.licentia.eu/qt/android/armeabi/android-9/versions.xml

In browser (firefox) it displays "Redirect Notice", but does no
redirection.
I am in finland and I have direct internet connection without proxies.

I can host the files, in "sure to work location" if no better solution
will be found.
Reply all
Reply to author
Forward
0 new messages