1. Simone Olianti
  2. PowerServer Mobile (Obsolete)
  3. Monday, 11 January 2021 16:02 PM UTC

Hello Everyone, i'm trying to run my Android app on a mobile device after using the PowerServer Application Package (Standalone mobile project for Android).

Package completes succesfully, then i've loaded the zip on Android Studio and succesfully created the apk.
Uploaded the apk to a remote PowerServer Mobile (standalone).
The apk also install on mobile device without issues, but when i try to run the app i get the following error:

Application error
The connection to the server was unsuccessful.
(file:///android_asset/www/index.html)

I tried to deploy the same app and send it to a local powerserver via FTP and then if i load the app url from inside the Appeon Workspace from mobile device it downloads successfully and run without any issue.

Probably i am doing something wrong but i need some help understand it

any ideas?

tia, simone

PowerServer
Product Information
Product Version: PowerServer (PB Edition) 2020 Build 2323.00
Server Type: 64-bit
Operating System: Windows 10
Application Server: .Net

Mobile Device: Android 10

Accepted Answer
Simone Olianti Accepted Answer Pending Moderation
  1. Monday, 11 January 2021 16:20 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # Permalink

Ok, i've found the issue. Signing the apk with a correct keystore did the trick

Comment
  1. Armeen Mazda @Appeon
  2. Monday, 11 January 2021 16:43 PM UTC
Thanks for sharing the solution!
  1. Helpful
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.