[GCompris-devel] Fwd: Configuring qt-creator for android
RISHABH GUPTA
rishabh9511 at gmail.com
Tue Jan 19 05:31:08 UTC 2016
Hey , I fixed it ,it's working now .Thanks for all the help
On Tue, Jan 19, 2016 at 9:21 AM, RISHABH GUPTA <rishabh9511 at gmail.com>
wrote:
>
>
> On Tue, Jan 19, 2016 at 1:07 AM, JAZEIX Johnny <jazeix at gmail.com> wrote:
>
>> Hi,
>>
>> The problem is:
>>
>> E/Qt (31488): Can't create main activity
>> E/Qt (31488): java.io.FileNotFoundException: --Added-by-androiddeployqt--/qml/Box2D.2.0/examples/monera/images/Thumbs.db
>> E/Qt (31488): at android.content.res.AssetManager.openAsset(Native Method)
>> E/Qt (31488): at android.content.res.AssetManager.open(AssetManager.java:313)
>> E/Qt (31488): at android.content.res.AssetManager.open(AssetManager.java:287)
>> E/Qt (31488): at org.qtproject.qt5.android.bindings.QtActivity.copyAsset(QtActivity.java:394)
>> E/Qt (31488): at org.qtproject.qt5.android.bindings.QtActivity.extractBundledPluginsAndImports(QtActivity.java:503)
>> E/Qt (31488): at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:582)
>> E/Qt (31488): at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
>> E/Qt (31488): at net.gcompris.GComprisActivity.onCreate(GComprisActivity.java:91)
>>
>>
>> I'm not sure you installed box2d correctly. You should not have a
>> "--Added-by-androiddeployqt--/qml/Box2D.2.0/" folder. Can you remove where
>> you put it (from your other mail: Found the issue .There was no folder with
>> the name Box2D.2.0 inside android_armv7 ,copied qmlbox_2d from gcompris
>> and renamed it to Box2D.2.0 ,this fixed it.)?
>>
>> Do you have this file:
>> /opt/android/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc?
>> On my computer, I have
>> /opt/android/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc
>> (missing _64 at the end of compiler path) so it may be the same for you.
>>
>
> I have linux-x86_64.
>
>
>> If it is the same for you, you can open the Makefile in
>> "$BuildDir/qml_box2d-prefix/src/qml_box2d-build/Makefile" and replace
>> "linux-x86_64/" with "linux-x86/" to compile with the good tool.
>>
>>
>
> there is no makefile in
> "android-build/qml_box2d-prefix/src/qml_box2d_build/"
>
> also when I run cmake for desktop the initial message I get is this
> "
>
> -- Did not find the qml-box2d module in system scope, falling back to
> submodule build ...
>
> fatal: Not a git repository (or any of the parent directories): .git
> "
>
> Maybe its not set up properly on my system .
>
>
>
>> Then, if you run "make && make apk_debug" (the command line for
>> compiling) in the build directory, it should compile first the box2d
>> package and use it.
>>
>> Johnny
>>
>>
>> On 01/18/16 19:52, RISHABH GUPTA wrote:
>>
>>
>> ---------- Forwarded message ----------
>> From: RISHABH GUPTA <rishabh9511 at gmail.com>
>> Date: Tue, Jan 19, 2016 at 12:21 AM
>> Subject: Re: [GCompris-devel] Configuring qt-creator for android
>> To: gcompris-devel at kde.org
>>
>>
>>
>>
>> On Mon, Jan 18, 2016 at 3:23 PM, Bruno Coudoin <
>> <bruno.coudoin at gcompris.net>bruno.coudoin at gcompris.net> wrote:
>>
>>>
>>>
>>> Le 18/01/2016 10:31, RISHABH GUPTA a écrit :
>>> >
>>> > make[2]: *** No rule to make target
>>> > '/opt/qt5.1/5.5/android_armv7/lib/cmake/Qt5/../../libicudata.so.53',
>>> > needed by 'android/libs/armeabi
>>>
>>> I believe I fixed this one at commit 13456f6432. Do you have it ?
>>>
>>
>> Looking at the commit ,i made the necessary changes to cmakelists.txt to
>> avoid the above error ..Finally i was able to generate the apk file.It
>> installs fine but doesn't work ,gets stuck on the loading page ..I am
>> sharing the logs ,if anyone could point what's going wrong ,that would be a
>> great help .
>>
>> The previous version(0.5) worked fine
>>
>> thank you
>>
>>
>>>
>>> Bruno.
>>> _______________________________________________
>>> GCompris-devel mailing list
>>> GCompris-devel at kde.org
>>> https://mail.kde.org/mailman/listinfo/gcompris-devel
>>>
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/gcompris-devel/attachments/20160119/14e7020e/attachment.html>
More information about the GCompris-devel
mailing list