Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Conflict with nativescript-admob #19

Closed
calebeaires opened this issue Mar 10, 2016 · 2 comments
Closed

Conflict with nativescript-admob #19

calebeaires opened this issue Mar 10, 2016 · 2 comments

Comments

@calebeaires
Copy link

This plugin seens to have some issue with nativescript-admob. When using both, build fails.

:config phase:  createDefaultIncludeFiles
    +found plugins: nativescript-admob
    +found plugins: nativescript-plugin-firebase

:config phase:  createPluginsConfigFile
    +creating product flavors include.gradle file in configurations folder...

:config phase:  pluginExtend
    +applying configuration from: /Users/macbook/Sites/testes/pass/platforms/android/configurations/include.gradle
    +applying configuration from: /Users/macbook/Sites/testes/pass/platforms/android/configurations/nativescript-admob/include.gradle
    +applying configuration from: /Users/macbook/Sites/testes/pass/platforms/android/configurations/nativescript-plugin-firebase/include.gradle

:config phase:  copyAarDependencies

:config phase:  addAarDependencies
    +adding dependency: /Users/macbook/Sites/testes/pass/platforms/android/libs/aar/widgets-release.aar

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'pass'.
> No flavor is associated with flavor dimension 'nativescriptadmob'.

EddyVerbruggen added a commit to EddyVerbruggen/nativescript-admob that referenced this issue Mar 11, 2016
@EddyVerbruggen
Copy link
Owner

Thanks for reporting this!

The problem really was with the AdMob plugin. Please update it to 1.1.2 and you should be all set.

@dauvollc
Copy link

dauvollc commented Feb 8, 2017

There seems to be a conflict with the AdMob plugin again. I am running versions:
"tns-android": { "version": "2.4.1" } "nativescript-admob": "^1.3.0", "nativescript-angular": "1.3.0", "nativescript-plugin-firebase": "^3.9.2",

I've been running the Firebase plugin just fine, and I just attempted to add the admob plugin and it errors upon runnings tns run android --watch

Here is the error information:

:config phase: createPluginsConfigFile
Creating product flavors include.gradle file in H:\NEW Developing\Firebas
\android/configurations folder...

:config phase: pluginExtend
+applying configuration from: H:\NEW Developing\Firebase\Mobile\valuchek\p
ions\include.gradle
+applying configuration from: H:\NEW Developing\Firebase\Mobile\valuchek\p
ions\nativescript-admob\include.gradle
+applying configuration from: H:\NEW Developing\Firebase\Mobile\valuchek\p
ions\nativescript-plugin-firebase\include.gradle

FAILURE: Build failed with an exception.

  • Where:
    Script 'H:\NEW Developing\Firebase\Mobile\valuchek\platforms\android\configuration
    ase\include.gradle' line: 45

  • What went wrong:
    A problem occurred evaluating script.

Failed to apply plugin [id 'com.google.gms.google-services']
For input string: "+"

EddyVerbruggen pushed a commit that referenced this issue Feb 17, 2017
#55 Support for AdMob
#85 Google Service conflits on using nativescript-admob with this plugin
#284 nativescript-plugin-firebase and nativescript admob conflict
EddyVerbruggen pushed a commit that referenced this issue Feb 17, 2017
#55 Support for AdMob
#85 Google Service conflits on using nativescript-admob with this plugin
#284 nativescript-plugin-firebase and nativescript admob conflict
@EddyVerbruggen EddyVerbruggen added this to the 3.10.0 milestone Feb 17, 2017
EddyVerbruggen added a commit that referenced this issue Apr 18, 2017
#55 Support for AdMob
#85 Google Service conflits on using nativescript-admob with this plugin
#284 nativescript-plugin-firebase and nativescript admob conflict
EddyVerbruggen added a commit that referenced this issue Apr 18, 2017
#55 Support for AdMob
#85 Google Service conflits on using nativescript-admob with this plugin
#284 nativescript-plugin-firebase and nativescript admob conflict
EddyVerbruggen added a commit to EddyVerbruggen/nativescript-admob that referenced this issue Apr 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants