1. Oihana Goikoetxea
  2. PowerServer Mobile (Obsolete)
  3. Tuesday, 9 June 2020 10:29 AM UTC

Hi:


I'm triying to distribute the app through the Google Play and 

  • if I upload the APK generated from the package created in PB I have the message:

APK without optimization
Warning:

This APK has unused codes and resources that are being sent to users. Reduce the size of your application with the Android App Bundle. If you don't optimize your app for different device settings, it will be too heavy to download and install on user devices. Heavier apps have lower download volume. Furthermore, they take up a lot of storage space on users' devices.

Solution:

Use the Android App Bundle to automatically optimize for different device settings, or manage it with multiple APKs.

  • And if I triy to generate the App Bundle, I have this error:


File 'root/classes2.dex' uses reserved file or directory name 'classes2.dex'.

 

Someone has been the same? Any suggestion?

 

Thanks, 

 

Oihana

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 9 June 2020 18:00 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 1

Hi Oihanna;

   Are you using the new PowerServer 2020 version 2328 as there have been many changes of late to both the Apple and Google play-stores that have made publishing your mobile App(s) much harder. The latest PS2020 has been changed to adjust to these play-store changes and also, the way you compile & deploy. The corresponding deployment documentation has also been updated accordingly.

Regards ... Chris

Comment
There are no comments made yet.
Oihana Goikoetxea Accepted Answer Pending Moderation
  1. Wednesday, 10 June 2020 05:58 AM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 2

Yes, I'm using 

 

Can you pass me the documentation that you comment?

 

I am commenting the permissions to the camera, sms ... in the android studio but I have to do more things because even so it does not swallow it in Google Play ...

Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 10 June 2020 16:17 PM UTC
Please upgrade to build 2328 and then also update the Mobile "templates" first. Then regenerate the Android code and re-compile in Android Studio. See if that helps.
  1. Helpful
There are no comments made yet.
Oihana Goikoetxea Accepted Answer Pending Moderation
  1. Thursday, 11 June 2020 06:06 AM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 3

If I launch the installer everething is up to date:

 

How can i install the version PowerServer 2020 version 2328?

Now, I have: 

Comment
  1. Chris Pollach @Appeon
  2. Thursday, 11 June 2020 15:35 PM UTC
Ahhh .... looks like you might have only updated PowerBuilder and NOT PowerServer. Download & Run the Off-Line installer. See if it gives you the option to update both the PowerServer product and the PS Toolkit to build 2328.
  1. Helpful
  1. Oihana Goikoetxea
  2. Friday, 12 June 2020 06:03 AM UTC
I've done it but it's still the same. But you don't have the PS Toolkit to build 2328, you have de 2323, like me
  1. Helpful
There are no comments made yet.
Oihana Goikoetxea Accepted Answer Pending Moderation
  1. Monday, 15 June 2020 05:57 AM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 4

Yes, I have the same:

 

Comment
  1. Chris Pollach @Appeon
  2. Monday, 15 June 2020 19:46 PM UTC
Hi Oihanna;

My suggestion now would be to open a Support Ticket for this issue so that Appeon can perform a deep dive into this issue.

Regards ... Chris
  1. Helpful
  1. Oihana Goikoetxea
  2. Tuesday, 16 June 2020 06:02 AM UTC
OK! Thanks!
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 12 June 2020 15:07 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 5

This is the update I was referring to ...

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.