- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I get below during Android build… I have Admob and Google Analytics Plugins, and some others... I build using XDK... what to do?
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':processReleaseResources'. > Error: more than one library with package name 'com.google.android.gms' You can temporarily disable this error with android.enforceUniquePackageName=false However, this is temporary and will be enforced in 1.0 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 10.2 secs
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://github.com/danwilson/google-analytics-plugin
removed this and compiled correctly... well if want admob and analytics by Google - what have to do????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It looks like a particular library is duplicated in both plugins causing the build failure. I will report this to engineering to see if something can be done on our side.
The alternative admob plugin by floatinghotspot also seems to the failing with the same error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please notify here,.... when you fix bug...
may fork plugin in github and modify it in my account?
Another matter
these admob banner ads designed for games... ? I found that if my page scrolls... in other words is not a game and is not fit in the viewport, REQUIRES SCROLLER, BANNER is not fixed like a fixed to bottom nav bar in Bootstrap, in case if scroll half way banner moves to the middle of screen hiding content... well?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No. I have tested admob on non-game apps several times and have not encountered the kind of behavior you are seeing. It should be a fixed banner at the bottom. Check out the Hello Admob plugin that ships with the XDK. You will see how it should look. Build app and test on phone. The sample is not compatible with Windows at the moment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
this is corrected code for fixed bottom banner? May my problem is due to Bootstrap 3.3.5 used and have two nav bar fixed - one on top and one on bottom...? Or...
var bannerAdUnit = "ca-app-pub-000000000000000";
var interstitialAdUnit = "ca-app-pub-000000000000000";
var isOverlap = true; //true: overlap, false: split
var isTest = false;
window.admob.setUp(bannerAdUnit, interstitialAdUnit, isOverlap, isTest);
window.admob.showBannerAd('bottom-center','SMART_BANNER');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I will test sample from XDK for admob
You fixed PLUGIN CONFLICT... ? If not when you will do so...?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Engineering is looking into it Leonidas. It is also the holidays and so things will pick up in January. I can provide a better response then.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
js code for Admob in xdk differs between different Plugins...?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Uncaught TypeError: Cannot read property 'setOptions' of undefined index.html:324
initAd index.html:324initApp index.html:296Channel.subscribe cordova.js:754document.addEventListener cordova.js:131onDocLoad index.html:287onDeviceReady index.html:247Channel.fire cordova.js:816(anonymous function) cordova.js:229
line 324
window.plugins.AdMob.setOptions( {
publisherId: admobid.banner,
interstitialAdId: admobid.interstitial,
bannerAtTop: false, // set to true, to put banner at top
overlap: false, // set to true, to allow banner overlap webview
offsetTopBar: false, // set to true to avoid ios7 status bar overlap
isTesting: false, // receiving test ad
autoShow: true // auto show interstitial ad when loaded
});
I tried unsuccessfully (first run admob sample success app xdk) to migrate the code from this... after went here >>>
https://github.com/floatinghotpot/cordova-plugin-admob/blob/master/test/index.html and getting error above...
is the same plugin as in origin xdk sample admob app???? I am not getting cordova alert (plugin run)choose failure/success but getting error above... well?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://github.com/floatinghotpot/cordova-admob-pro/blob/master/test/index.html
I solved with ^
not needed reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
#9
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Engineering is looking into it Leonidas. It is also the holidays and so things will pick up in January. I can provide a better response then.
ANY NEWS FIXED...?