Re: [Qt-creator] Multiple Android APK support?

2018-04-14 Thread Nikos Chantziaras

On 13/04/18 15:04, Nikos Chantziaras wrote:
But it seems the site considers the highest version number as the "real" 
version. Pre-launch data for example isn't available for the ARM build, 
unless you reverse the version numbers, in which case you get data for 
the ARM build, but not the x86 one.


I take that back. It works correctly.

So if anyone else wants to do this, just make sure to click "retain" for 
your ARM APK when you upload the x86 APK, and also make sure the x86 APK 
has a higher version code, otherwise x86 devices will still receive the 
ARM version and the x86 APK will not be used.


___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Multiple Android APK support?

2018-04-13 Thread Nikos Chantziaras
When uploading the x86 build, the site replaces the previous build 
unless you select "Retain" for it. Once you do that, it does seem to 
work and both APKs seem to be active. You get a warning though about 
"Differentiating APK details", but it's not a hard-error.


But it seems the site considers the highest version number as the "real" 
version. Pre-launch data for example isn't available for the ARM build, 
unless you reverse the version numbers, in which case you get data for 
the ARM build, but not the x86 one.


So it seems to work, but seems to be kinda glitchy. I assume the 
"correct" way would be to add architecture information to the manifest 
and gradle files, but Creator doesn't seem to offer a way to generate these.



On 13/04/18 08:52, Bogdan Vatra wrote:

It's quite straight forward:
  - install Qt for Android for arm & x86
  - add Android arm & x86 kits to your project
  - select arm kit and build first apk for arm
  - bump version (yes, this step is a must !)
  - select x86 kit and build the second apk for x86
  - upload the apk to Google Play.

În ziua de vineri, 13 aprilie 2018, la 00:24:28 EEST, Nikos Chantziaras a
scris:

I want to upload two APKs to the Google Play Store. One for ARM, one for
x86. Google's instructions:

https://developer.android.com/studio/build/configure-apk-splits.html

are for Android Studio. Are there instructions for Qt Creator? Has
anyone done this yet?


___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Multiple Android APK support?

2018-04-13 Thread Ivan Donchevskii
As far as I know store expects both in the same apk.
So as I understand you suggest having two different versions in store for 
different platforms?
That may work. Thanks for one more workaround :)

Regards,
Ivan

From: Qt-creator <qt-creator-bounces+ivan.donchevskii=qt...@qt-project.org> on 
behalf of Bogdan Vatra <bogdan.va...@kdab.com>
Sent: Friday, April 13, 2018 7:52:49 AM
To: qt-creator@qt-project.org
Cc: Nikos Chantziaras
Subject: Re: [Qt-creator] Multiple Android APK support?

Hi,

It's quite straight forward:
 - install Qt for Android for arm & x86
 - add Android arm & x86 kits to your project
 - select arm kit and build first apk for arm
 - bump version (yes, this step is a must !)
 - select x86 kit and build the second apk for x86
 - upload the apk to Google Play.

Cheers,
BogDan.

În ziua de vineri, 13 aprilie 2018, la 00:24:28 EEST, Nikos Chantziaras a
scris:
> I want to upload two APKs to the Google Play Store. One for ARM, one for
> x86. Google's instructions:
>
>https://developer.android.com/studio/build/configure-apk-splits.html
>
> are for Android Studio. Are there instructions for Qt Creator? Has
> anyone done this yet?
>
> ___
> Qt-creator mailing list
> Qt-creator@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator



___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator
___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Multiple Android APK support?

2018-04-12 Thread Bogdan Vatra
Hi,

It's quite straight forward:
 - install Qt for Android for arm & x86
 - add Android arm & x86 kits to your project
 - select arm kit and build first apk for arm
 - bump version (yes, this step is a must !)
 - select x86 kit and build the second apk for x86
 - upload the apk to Google Play.

Cheers,
BogDan.

În ziua de vineri, 13 aprilie 2018, la 00:24:28 EEST, Nikos Chantziaras a 
scris:
> I want to upload two APKs to the Google Play Store. One for ARM, one for
> x86. Google's instructions:
> 
>https://developer.android.com/studio/build/configure-apk-splits.html
> 
> are for Android Studio. Are there instructions for Qt Creator? Has
> anyone done this yet?
> 
> ___
> Qt-creator mailing list
> Qt-creator@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator



___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Multiple Android APK support?

2018-04-12 Thread Ivan Donchevskii
Good question!


I also did not find a way to do that. I assume that it's not possible currently 
because several kits are involved at the same time to support such feature.

Prove me wrong or let's think how to solve that.


As a temporary solution you can build only arm - it is still supported by x86 
devices through some android emulation.


Regards,

Ivan


From: Qt-creator <qt-creator-bounces+ivan.donchevskii=qt...@qt-project.org> on 
behalf of Nikos Chantziaras <rea...@gmail.com>
Sent: Thursday, April 12, 2018 11:24:28 PM
To: qt-creator@qt-project.org
Subject: [Qt-creator] Multiple Android APK support?

I want to upload two APKs to the Google Play Store. One for ARM, one for
x86. Google's instructions:

   https://developer.android.com/studio/build/configure-apk-splits.html

are for Android Studio. Are there instructions for Qt Creator? Has
anyone done this yet?

___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator
___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


[Qt-creator] Multiple Android APK support?

2018-04-12 Thread Nikos Chantziaras
I want to upload two APKs to the Google Play Store. One for ARM, one for 
x86. Google's instructions:


  https://developer.android.com/studio/build/configure-apk-splits.html

are for Android Studio. Are there instructions for Qt Creator? Has 
anyone done this yet?


___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator