cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CB-10342) Different Android PhoneGap Apps with a 'com.google.android.gms:play-services-gcm' dependency can not install together
Date Tue, 26 Jan 2016 16:03:39 GMT

     [ https://issues.apache.org/jira/browse/CB-10342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joe Bowser reassigned CB-10342:
-------------------------------

    Assignee: Simon MacDonald

I think this is a duplicate to your issue, can you confirm and close?

> Different Android PhoneGap Apps with a 'com.google.android.gms:play-services-gcm' dependency
can not install together
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-10342
>                 URL: https://issues.apache.org/jira/browse/CB-10342
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 5.3.2
>         Environment: * Samsung Note 3 (SM-9005) with Android 5.0
> * Android Studio 1.5.1
> * PhoneGap 5.3.3
> * "cordova-plugin-whitelist": "1.2.0"
>            Reporter: Ronny Schleicher
>            Assignee: Simon MacDonald
>              Labels: triaged
>
> h3. Step to Reproduce:
> * Create a new blank Phonegap Application (in this example on the PC):
> * Identifier and Name *de.myapp.myapp MYAPP*
> {code:none}
> cd c:\
> call cordova create PhoneGap_android de.myapp.myapp MYAPP
> cd PhoneGap_android
> call cordova platform add android
> call cordova plugin ls
> {code}
> * Open the project in the Android Studio
> * Now add the dependency in the build.gradle file *compile "com.google.android.gms:play-services-gcm:+"*
(why it is needed in this case no matter, but it is for Push Notification required)
> {code:none}
> dependencies {
>     compile fileTree(dir: 'libs', include: '*.jar')
>     // SUB-PROJECT DEPENDENCIES START
>     debugCompile project(path: "CordovaLib", configuration: "debug")
>     releaseCompile project(path: "CordovaLib", configuration: "release")
>     compile "com.google.android.gms:play-services-gcm:+"
>     // SUB-PROJECT DEPENDENCIES END
> }
> {code}
> * Try to install and run the MYAPP on a real Android device
> * *Also is fine!* The App can be installed and lanched too.
> * Close the App and close the Android Studio too
> * Create a second new Phonegap App
> * Identifier and Name are completely different to the first APP *de.myapp2.myapp2 MYAPP2*
> {code:none}
> cd c:\
> call cordova create PhoneGap_android2 de.myapp2.myapp2 MYAPP2
> cd PhoneGap_android2
> call cordova platform add android
> call cordova plugin ls
> {code}
> * Open the second project in the Android Studio
> * Now add also the dependency in build.gradle file *compile "com.google.android.gms:play-services-gcm:+"*
> {code:none}
> dependencies {
>     compile fileTree(dir: 'libs', include: '*.jar')
>     // SUB-PROJECT DEPENDENCIES START
>     debugCompile project(path: "CordovaLib", configuration: "debug")
>     releaseCompile project(path: "CordovaLib", configuration: "release")
>     compile "com.google.android.gms:play-services-gcm:+"
>     // SUB-PROJECT DEPENDENCIES END
> }
> {code}
> * Try to install and run the *MYAPP2* on the same real  Android device (MYAPP is still
installed)
> * Follow error message appear
> !https://cloud.githubusercontent.com/assets/1914203/12246839/15b99d7e-b8b1-11e5-919b-99feea099367.png!
> Then trying uninstalling proposes course fail. Because App does not exist.
> h3. Consequence
> * *You can never install more then one PhoneGap App required dependency (compile "com.google.android.gms:play-services-gcm:+")
on the same device!*
> * *This also happens with released Apps (sent via email as an APK MYAPP and MyApp2)*
> * *And it happens even if the apps are installed from the +Play Store+!  Mostly then
comes the error +-505+*
> * Without dependencies it would work. (But then I can not use any Push Notification implementation
in my App)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message