如何使用C++ Builder 11.2生成Android App Bundle?

huangapple go评论57阅读模式
英文:

How to generate Android App Bundle with C++ builder 11.2?

问题

抱歉,代码部分不提供翻译。

英文:

I can not figure how to generate an Android App Bundle with C++ builder 11.2.

At this stage, I'm just checking all the steps of an android app creation, from scratch up to Google Play beta testing.

For this purpose, I wrote a very simple piece of code (one TButton with one TLabel).

I compiled the code with the following options:

  • platform android 32bits
  • SDK API 31 32bits
  • release
  • configuration development

C++ builder generates an APK which runs smoothly on my phone which is great!

My next step is to download the app on the Google Play store. I have created a Google Play store developer account for this test however I'm stuck as I can not upload the apk file as Google Play accepts Android App Bundle files only.

I have googled and found some information about generating AAB files with Delphi and the Android 64 platform here <https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Submitting_Your_Android_App_to_Google_Play> however I can not duplicate this with C++ builder 11.2

There is no 64bits android platform available (despite the 64bits SDK being installed) and I can not find any relevant option in the project options related to AAB files.

I have also compiled the app with the "Application Store" option but I could not find any AAB file in my project.

What am I doing wrong?

答案1

得分: 1

C++Builder 11.2 在 64 位 Android 上无法编译。请参阅支持的目标平台

关于此问题已经有一个开放的 RSP 工单:RSP-24562: 64 位 Android C++

我认为这是当前 RAD Studio 开发系统的一个重大弱点,我建议所有用户鼓励 Embarcadero 让 Android 64 位 C++ 编译器正常运行。

英文:

C++Builder 11.2 does not compile for 64-bit Android. See Supported Target Platforms.

There is an open RSP ticket about this: RSP-24562: 64-bit Android C++

I believe this is as a major weakness with the current RAD Studio development system, and I would suggest all users encourage Embarcadero to get the Android 64-bit C++ compiler up and running.

huangapple
  • 本文由 发表于 2023年2月16日 09:59:00
  • 转载请务必保留本文链接:https://go.coder-hub.com/75467129.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定