<div dir="ltr">Don't we need to explicitly ship those files? I know that .po files are made into binary .mo, so we need to compile those for Android and install them to same location? KF5 will take care of loading the "correct" one depending on the Android locale? Is there documentation on this?</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 11, 2016 at 7:25 PM, Aleix Pol <span dir="ltr"><<a href="mailto:aleixpol@kde.org" target="_blank">aleixpol@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It should work just as any other project that uses ki18n.<br>
<br>
Please test and open a new thread if it has problems.<br>
<span class="HOEnZb"><font color="#888888"><br>
Aleix<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Fri, Nov 11, 2016 at 4:31 PM, Jasem Mutlaq <<a href="mailto:mutlaqja@ikarustech.com">mutlaqja@ikarustech.com</a>> wrote:<br>
> So it appears the localeconv was supported in API 21, so we'll just bump the<br>
> API version to that. Another issue is localization support as we'd like to<br>
> support multiple languages, how is that done exactly with Android?<br>
><br>
> Regards,<br>
> Jasem<br>
><br>
><br>
> On Thu, Nov 10, 2016 at 6:31 PM, Aleix Pol <<a href="mailto:aleixpol@kde.org">aleixpol@kde.org</a>> wrote:<br>
>><br>
>> No, it shouldn't matter as long as when compiling you link against the<br>
>> right set of libraries.<br>
>><br>
>> I don't know what library it is, if it's looking for localeconv, I<br>
>> guess localeconv.so or liblocaleconv.so?<br>
>><br>
>> Aleix<br>
>><br>
>> On Thu, Nov 10, 2016 at 4:22 PM, Jasem Mutlaq <<a href="mailto:mutlaqja@ikarustech.com">mutlaqja@ikarustech.com</a>><br>
>> wrote:<br>
>> > How do we include the library in the APK exactly? And what library is<br>
>> > exactly? We're using androiddeployqt<br>
>> ><br>
>> > I saw the gimp issue, and we can increase the API Level (which is set at<br>
>> > 15<br>
>> > now). but then we'd lose about 30% of the market (see<br>
>> > <a href="https://developer.android.com/about/dashboards/index.html" rel="noreferrer" target="_blank">https://developer.android.com/<wbr>about/dashboards/index.html</a>) so it would<br>
>> > be<br>
>> > better to resolve this and no there are no choices then we'd bump the<br>
>> > API<br>
>> > level. I'm using the latest NDK from Google but should that matter if<br>
>> > the<br>
>> > Target API Level is set to 15?<br>
>> ><br>
>> > On Thu, Nov 10, 2016 at 6:15 PM, Aleix Pol <<a href="mailto:aleixpol@kde.org">aleixpol@kde.org</a>> wrote:<br>
>> >><br>
>> >> Hi,<br>
>> >> I haven't seen this error before, maybe the apk should include the<br>
>> >> library?<br>
>> >><br>
>> >> A fast search suggests that this is on API >=21.<br>
>> >> <a href="https://github.com/Rupan/gmp/issues/6" rel="noreferrer" target="_blank">https://github.com/Rupan/gmp/<wbr>issues/6</a><br>
>> >><br>
>> >> Maybe your application or Qt are compiled with a too new NDK version?<br>
>> >><br>
>> >> Aleix<br>
>> >><br>
>> >> On Thu, Nov 10, 2016 at 9:46 AM, Jasem Mutlaq <<a href="mailto:mutlaqja@ikarustech.com">mutlaqja@ikarustech.com</a>><br>
>> >> wrote:<br>
>> >> > Ok, could this be due perhaps to target API Level settings?<br>
>> >> > Currently,<br>
>> >> > we<br>
>> >> > set it to 15. Should that be increased?<br>
>> >> ><br>
>> >> > On Thu, Nov 10, 2016 at 11:32 AM, Jasem Mutlaq<br>
>> >> > <<a href="mailto:mutlaqja@ikarustech.com">mutlaqja@ikarustech.com</a>><br>
>> >> > wrote:<br>
>> >> >><br>
>> >> >> Hello,<br>
>> >> >><br>
>> >> >> After submitting KStars Lite to the Google Play Store last week,<br>
>> >> >> I've<br>
>> >> >> been<br>
>> >> >> getting this crash report:<br>
>> >> >><br>
>> >> >> java.lang.<wbr>UnsatisfiedLinkError: dlopen failed: cannot locate symbol<br>
>> >> >> "localeconv" referenced by "libkstars.so"...<br>
>> >> >> at java.lang.Runtime.loadLibrary(<wbr>Runtime.java:364)<br>
>> >> >> at java.lang.System.loadLibrary(<wbr>System.java:526)<br>
>> >> >> at<br>
>> >> >><br>
>> >> >><br>
>> >> >> org.qtproject.qt5.android.<wbr>bindings.QtLoader.<wbr>loadApplication(QtLoader.java:<wbr>244)<br>
>> >> >> at<br>
>> >> >><br>
>> >> >> org.qtproject.qt5.android.<wbr>bindings.QtLoader.startApp(<wbr>QtLoader.java:647)<br>
>> >> >> at<br>
>> >> >><br>
>> >> >><br>
>> >> >> org.qtproject.qt5.android.<wbr>bindings.QtActivityLoader.<wbr>onCreate(QtActivityLoader.<wbr>java:181)<br>
>> >> >> at<br>
>> >> >><br>
>> >> >><br>
>> >> >> org.qtproject.qt5.android.<wbr>bindings.QtActivity.onCreate(<wbr>QtActivity.java:269)<br>
>> >> >> at android.app.Activity.<wbr>performCreate(Activity.java:<wbr>5459)<br>
>> >> >> at<br>
>> >> >><br>
>> >> >><br>
>> >> >> android.app.Instrumentation.<wbr>callActivityOnCreate(<wbr>Instrumentation.java:1093)<br>
>> >> >> at<br>
>> >> >><br>
>> >> >><br>
>> >> >> android.app.ActivityThread.<wbr>performLaunchActivity(<wbr>ActivityThread.java:2364)<br>
>> >> >> at<br>
>> >> >><br>
>> >> >><br>
>> >> >> android.app.ActivityThread.<wbr>handleLaunchActivity(<wbr>ActivityThread.java:2458)<br>
>> >> >> at android.app.ActivityThread.<wbr>access$900(ActivityThread.<wbr>java:172)<br>
>> >> >> at<br>
>> >> >> android.app.ActivityThread$H.<wbr>handleMessage(ActivityThread.<wbr>java:1305)<br>
>> >> >> at android.os.Handler.<wbr>dispatchMessage(Handler.java:<wbr>102)<br>
>> >> >> at android.os.Looper.loop(Looper.<wbr>java:146)<br>
>> >> >> at android.app.ActivityThread.<wbr>main(ActivityThread.java:5598)<br>
>> >> >> at java.lang.reflect.Method.<wbr>invokeNative(Native Method)<br>
>> >> >> at java.lang.reflect.Method.<wbr>invoke(Method.java:515)<br>
>> >> >> at<br>
>> >> >><br>
>> >> >><br>
>> >> >> com.android.internal.os.<wbr>ZygoteInit$<wbr>MethodAndArgsCaller.run(<wbr>ZygoteInit.java:1283)<br>
>> >> >> at com.android.internal.os.<wbr>ZygoteInit.main(ZygoteInit.<wbr>java:1099)<br>
>> >> >> at dalvik.system.NativeStart.<wbr>main(Native Method)<br>
>> >> >><br>
>> >> >> Anyone know how to resolve this for Qt/KDE apps?<br>
>> >> >><br>
>> >> >> --<br>
>> >> >> Best Regards,<br>
>> >> >> Jasem Mutlaq<br>
>> >> >><br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > --<br>
>> >> > Best Regards,<br>
>> >> > Jasem Mutlaq<br>
>> >> ><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > Best Regards,<br>
>> > Jasem Mutlaq<br>
>> ><br>
><br>
><br>
><br>
><br>
> --<br>
> Best Regards,<br>
> Jasem Mutlaq<br>
><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Best Regards,<br>Jasem Mutlaq<br></div><div><br></div></div></div>
</div>