<div dir="ltr">Hey , I fixed it ,it's working now .Thanks for all the help <br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 19, 2016 at 9:21 AM, RISHABH GUPTA <span dir="ltr"><<a href="mailto:rishabh9511@gmail.com" target="_blank">rishabh9511@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, Jan 19, 2016 at 1:07 AM, JAZEIX Johnny <span dir="ltr"><<a href="mailto:jazeix@gmail.com" target="_blank">jazeix@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi,<br>
<br>
The problem is:<br>
<pre>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)
</pre>
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.)?<br>
<br>
Do you have this file:
/opt/android/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc?<br>
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.<br></div></div></blockquote><div><br></div></span><div>I have linux-x86_64.<br></div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><div>
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.<br> </div></div></blockquote><div><br></div></span><div>there is no makefile in "android-build/qml_box2d-prefix/src/qml_box2d_build/"<br><br></div><div>also when I run cmake for desktop the initial message I get is this <br>"
<p style="margin:0px;text-indent:0px"><span style="font-family:"Monospace";font-size:9pt;color:rgb(49,54,59)">-- Did not find the qml-box2d module in system scope, falling back to submodule build ...</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Monospace";font-size:9pt;color:rgb(49,54,59)">fatal: Not a git repository (or any of the parent directories): .git</span></p>"<br><br></div><div>Maybe its not set up properly on my system .<br></div><span class=""><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><div>
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.<span><font color="#888888"><br>
<br>
Johnny</font></span><div><div><br>
<br>
On 01/18/16 19:52, RISHABH GUPTA wrote:<br>
</div></div></div><div><div>
<blockquote type="cite">
<div dir="ltr"><br>
<div class="gmail_quote">---------- Forwarded message ----------<br>
From: <b class="gmail_sendername">RISHABH GUPTA</b> <span dir="ltr"><<a href="mailto:rishabh9511@gmail.com" target="_blank">rishabh9511@gmail.com</a>></span><br>
Date: Tue, Jan 19, 2016 at 12:21 AM<br>
Subject: Re: [GCompris-devel] Configuring qt-creator for
android<br>
To: <a href="mailto:gcompris-devel@kde.org" target="_blank">gcompris-devel@kde.org</a><br>
<br>
<br>
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote"><span>On Mon, Jan 18,
2016 at 3:23 PM, Bruno Coudoin <span dir="ltr"><<a href="mailto:bruno.coudoin@gcompris.net" target="_blank"></a><a href="mailto:bruno.coudoin@gcompris.net" target="_blank">bruno.coudoin@gcompris.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span><br>
<br>
Le 18/01/2016 10:31, RISHABH GUPTA a écrit :<br>
><br>
> make[2]: *** No rule to make target<br>
>
'/opt/qt5.1/5.5/android_armv7/lib/cmake/Qt5/../../libicudata.so.53',<br>
> needed by 'android/libs/armeabi<br>
<br>
</span>I believe I fixed this one at commit
13456f6432. Do you have it ?<br>
</blockquote>
<div><br>
</div>
</span>
<div>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 .<br>
<br>
</div>
<div>The previous version(0.5) worked fine<br>
</div>
<div><br>
</div>
<div>thank you <br>
</div>
<span>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span><font color="#888888"><br>
Bruno.<br>
</font></span>
<div>
<div>_______________________________________________<br>
GCompris-devel mailing list<br>
<a href="mailto:GCompris-devel@kde.org" target="_blank">GCompris-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/gcompris-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/gcompris-devel</a><br>
</div>
</div>
</blockquote>
</span></div>
<br>
</div>
</div>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></span></div><br></div></div>
</blockquote></div><br></div>