Application not Installed in Android, Installs well in IOS

  • 1
  • Problem
  • Updated 5 years ago
  • Not a Problem
Hello

I have a free account and am trying to build a second private app but something is not working with Android.

I did this:

1. In the new app config file, entered the proper settings: app title, package name, version and description which I understand are the parameters that allow to identify a unique app.

2. Logged into my PG Build account and went to settings and deleted the first app which has been working well in both our IOS and Android testing devices.

3. Loaded the new private app and pressed the ready to build button. Build starts. Once finished I enter the IOS signing key and rebuild the IOS version. I checked the configuration in settings and all match with the config file.

4. Once the build is finished I scan the barcode with both our IOS and Android testing devices.

In IOS the new app gets installed well besides the original one.

In Android, with the first app installed, the new app gets downloaded but does not install showing an "Application not installed" message with no further details. After some testing, the issue seems to be that the Android compiler is not reading/recognizing the AppID within the widget.

The first app id within the widget is: mx.com.Bicimapas.BiciMapas
The second app id within the widget is: mx.com.Bicimapas.MMChiluca

The PGB app ID is for the second app is 1501240

Any ideas on what may be going on?

Thank you
Photo of Alberto Najera

Alberto Najera

  • 74 Posts
  • 3 Reply Likes

Posted 5 years ago

  • 1
Photo of Alberto Najera

Alberto Najera

  • 74 Posts
  • 3 Reply Likes
PGB Staff, can you help please?
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@Alberto, have you check the configuration on your Android device that says,"Load unknown sources"?
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
I have downloaded the app and successfully installed on my Android.
Photo of Alberto Najera

Alberto Najera

  • 74 Posts
  • 3 Reply Likes
Jesse, yes I have installed the first app development and release versions with no issues at all.


Amir, thanks. May there be an issue with my test device then? Any ideas on what could that be?
(Edited)
Photo of Alberto Najera

Alberto Najera

  • 74 Posts
  • 3 Reply Likes
Hello,

I uninstalled the debug version of the first app and then installed the second app and it was installed well. Now if I try to install the first app again it shows Application not installed.
I seems as if Android is considering both apps to be the same.
If each app has its own widget ID as shown in my first post, why is this happening? Is there a setting I may be missing?
Photo of Alberto Najera

Alberto Najera

  • 74 Posts
  • 3 Reply Likes
Hi,

I really do not understand what may be going on. I have checked all the settings per the PGB documentation and cannot find any error. Maybe it is a limitation on my test device which is a Samsung Galaxy Fame GT-S6810M with Android version 4.1.2.

I can install either the first or the second app standalone with no issues. The problem shows when installing one app after the other one was installed.

I even created release versions and the performance is the same. Setting them up for release in the Google Play store shows all fine without any warnings or flags.

My only concern now before publishing them is that a user who downloads both apps (which may be the case often) from the Google Play Store may experience the same issue.

Shall some one has some ideas on what may be going on, your help is greately appreciated.

Thank you
Photo of Alberto Najera

Alberto Najera

  • 74 Posts
  • 3 Reply Likes
Hello,

More information on this. I tested in a second device, a Samsung Galaxy S4 and I get the same results.I can install either the first or the second app standalone with no issues. The problem shows when installing one app after the other one was installed.

May the cause be an issue with the PGB Android servers?

Can someone please look into it?

Thank you
Photo of Alberto Najera

Alberto Najera

  • 74 Posts
  • 3 Reply Likes
Hi,

For reference, the app ID is 1506153

thanks
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
I can't see your Apps. Can you give some URLs?
TIA
Jesse
Photo of Alberto Najera

Alberto Najera

  • 74 Posts
  • 3 Reply Likes
Hello Jesse,

As I have a free account, only one app is available with ID 1506153.

In searching I found this thread which describes exactly the same problem I have:

http://community.phonegap.com/nitobi/...

It seems the email composer I selected cannot be used with multiple apps in the same Android device. I am rewriting code to test it.

Thank you and greetings
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
Okay. I'll wait until you respond before proceeding.
Photo of Alberto Najera

Alberto Najera

  • 74 Posts
  • 3 Reply Likes
Hello,

I have changed the code in my apps removing the original email composer plugin I was using:

gap:plugin name="com.jcjee.plugins.emailcomposer" version="1.4.6"

and replaced it with

gap:plugin name="de.appplant.cordova.plugin.email-composer" version="0.8.2"

and was able to install both apps in the same Android device.

So, as mentioned in the link I posted in my previous post, the jcjee email composer plugin has the limitiation that it cannot be used on 2 apps in the same Android device and that is why the second one would not install.
In my opinion this is a major limitation that hopefully the author shall properly document or fix.

Again, this is for Android as the plugin works well in IOS.

Thanks to all interested in solving this issue.
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Well done, Alberto! Thanks for the update.