Skip to Content

APK Generation on SAP Mobile Services in SAP Full Stack Web IDE?

Hi All,

This question is regarding the apk generation from SAP Web IDE using Mobile Services.

Earlier we developed mobile solution and generated the android apk using Local HAT setup (Nearly a year back). It was working as expected.

But the Customer would like to place the apk on the Google Play store. But when they tried to upload, it throws the version error. Please see the error message below.

My Question:

1. As far as i know the Local HAT setup is deprecated. So i have to use SAP Mobile services right?

2. How to do the changes regarding the API level issue?

Could someone help me to solve this issue.

Thank you,

Rergards,

JK.

apk.png (104.5 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    Posted on Sep 02, 2019 at 04:13 AM

    Hi JK,

    Let me answer a few of the other questions you've posted.

    You can disable debug mode in the Build wizard.

    I do not recommend using HAT local add-on. Also, a project suited for cloud build service will not simply work using HAT local add-on.

    For offline apps, please check out my blog.

    For debugging the error, I recommend using the network trace function in SAP Mobile Services cockpit (see Analytics). I suspect there is an issue with the data source mapping (destination) and the consumption of the data source within the UI5 based app.

    Regards,
    Ludo

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 29, 2019 at 08:17 AM

    1. Yes, local HAT add-on has reached End Of Maintenance. You are advised to use the Mobile Services cloud build feature to build the app in the cloud.

    2. Please help raising a support ticket on component MOB-CLD-BLD, so my colleagues running the Cloud Build Service are aware and can track this.

    Thanks,
    Ludo

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 30, 2019 at 03:47 AM

    Hi JK,

    We are in the process of updating the cloud build service to use Kapsel SDK SP02 PL06. This includes the necessary changes for Android 9 and targetSdkVersion 28.

    In your project, please change the config.xml file and change the value in this line to 28:

    <preference name="android-targetSdkVersion" value="26"/>

    Thanks,
    Ludo

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Ludo Noens , Most of the questions I have asked here, I got the answer by referring some of your blogs and other references in SCN and SAP Help. I just shared the information below, what I understood.

      1. It is not necessary to create application and destinations in mobile services cockpit. As part of the Cloud Build Process it will be generated and assigned with application. Correct me if I am wrong.

      Thank you,

      Regards,

      JK.

  • Posted on Sep 02, 2019 at 03:27 AM

    Hi JK,

    That is correct. We've automated that part, so you don't have to switch context (switch from SAP Web IDE to SAP Mobile Services cockpit).

    Cheers,
    Ludo

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 02, 2019 at 04:33 AM

    Yes, for offline you can use the same generated destination.

    Cheers,
    Ludo

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.