Comments (7)
Thank you @Astrovic !
I will look into it asap.
from ti.android.admob.
The problem seems to be in ti.playservices. It only works if you set the ti.playservices version to 11.0.40 in tiapp.xml.
I've tried all the other new 16.x versions (from 16.1.0 to 16.5.0), and it doesn't work with any of them.
@deckameron have you done a test, or could you do it?
from ti.android.admob.
Did you have time to do any tests?
from ti.android.admob.
Hi @Astrovic I have done a few tests and could get it working with 16.1.4.
Could you test this version, please?
from ti.android.admob.
Hi @deckameron thanks for your tests.
I tried your 5.1.2 version with ti.playservices 16.1.4, but it still doesn't work.
I'm trying with TiSDK 8.2.0.GA.
This is the example code I use:
https://gist.github.com/Astrovic/2be16544a9f905fd5d68e8983daec6ea
These are the errors:
rewarded error:
[ERROR] [android, 9, 192.168.232.2] {
"sourceName": null,
"title": "Runtime Error",
"message": "Uncaught Error: Failed resolution of: Lcom/google/android/gms/ads/internal/zzc;",
"line": 56,
"lineSource": " rewarded.loadRewardedAd();",
"lineOffset": 22
}
banner error:
[ERROR] [android, 9, 192.168.232.2] {
"sourceName": null,
"title": "Runtime Error",
"message": "Failed resolution of: Lcom/google/android/gms/ads/internal/zzc;",
"line": 0,
"lineSource": null,
"lineOffset": 0
}
from ti.android.admob.
Hi @deckameron,
I noticed that the error appears only in the emulator, I was doing tests on an emulator without Google Play!
I've tested it on an emulator with Google Play, but there's another problem. If in the window I add the banner, the rewarded will not work. While if I add only the rewarded, it works correctly.
If you have made some changes to version 5.1.2, could you kindly add them to the master branch or to another branch of the repository? So maybe I can also do tests, or integrate your module with the official ti.admob.
Thanks a lot.
from ti.android.admob.
Hi @Astrovic
I haven't made any substantial changes, but only tested different PlayServices versions and with other updated libs.
I have been trying to reproduce the error regarding the two types of ads in the same window and I can't do it. I have an in production running this exact scenario. I don't know what could be going on. :-(
One thing you could try is to add the Banner Ad in a scrollview inside the Window.
Window -> Rewarded
|------> Scrollview -> Banner
Did you have any luck with that?
from ti.android.admob.
Related Issues (20)
- Google Play services resources were not found. HOT 11
- Support to GDPR HOT 19
- Error when compiling app project with Admob Module 3.0.4 HOT 1
- Using banner with listView? HOT 1
- Bluetooth permission? HOT 3
- Android device back button close prevent? HOT 1
- Failed resolution of Lcom/google/.../RewardedVideoAdListener HOT 8
- [Android] build fails on Ti SDK 9 cause of new gradle system HOT 2
- Native ads causes app to crash HOT 1
- Native ads in ListView HOT 1
- Error with Ti.Android.Admob and Ti.cloudpush HOT 3
- deleteTCStringIfOutdated stops to work properly for v.2.2.0 HOT 1
- SDK 6.0.0 Support? HOT 8
- Error during build: jarsigner: unable to sign jar HOT 2
- No support for multiple adsizes HOT 7
- Module not found HOT 2
- google-play-services-base.jar version error HOT 17
- I am getting error when opened windows quickly HOT 28
- Module does not work with SDK less than 7.0.0.GA HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ti.android.admob.