Giter VIP home page Giter VIP logo

godotads's People

Contributors

matiasvme avatar rameshravone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

godotads's Issues

Issues building the export templates

scons platform=android target=release_debug android_arch=armv7

AttributeError: 'SConsEnvironment' object has no attribute 'android_add_maven_repository':
File "E:\Repositories\godot\godot\SConstruct", line 427:
config.configure(env)
File "./modules/GodotAds\config.py", line 59:
env.android_add_maven_repository('url "https://maven.google.com"')

I am getting an error compiling godot for android when including this module.

I am trying to compile the export templet for android including this https://github.com/FrogSquare/GodotAds module and scons is giving me the following error can someone help.

AttributeError: 'SConsEnvironment' object has no attribute 'android_add_maven_repository':
File "C:\Users\Devin\Downloads\godot-master\godot-master\SConstruct", line 403:
config.configure(env)
File "./modules/GodotAds\config.py", line 59:
env.android_add_maven_repository('url "https://maven.google.com/%22%27)

gradle build falling

The gradlew build fails with error:-


> Task :compileDebugJavaWithJavac FAILED
/home/smit/Development/godot-stable/godot/modules/GodotAds/admob/AdMob.java:206: error: <anonymous org.godotengine.godot.AdMob$4> is not abstract and does not override abstract method onRewardedVideoCompleted() in RewardedVideoAdListener
                mrv.setRewardedVideoAdListener(new RewardedVideoAdListener() {
                                                                             ^

But after adding
public void onRewardedVideoCompleted(){}
at line 215. It builds successfully .

Upgrade to 3.1

Please update to Godot 3.1 or update docs (how to use) because now (in 3.1) any ads-singletons not existing
var Unityads = Engine.get_singleton("GDUnityAds") equals [Object:null]

gradlew build Failed Godot 3.1 beta 8 'could not find unity-ads'

gradle builf failed after compiling for android :

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':debugCompileClasspath'.
> Could not find :unity-ads:.
  Searched in the following locations:
      file:/D:/Applications/godot_v3.1_beta/source_code/godot-3.1-beta8/modules/GodotAds/libs/unity-ads.aar
      file:/D:/Applications/godot_v3.1_beta/source_code/godot-3.1-beta8/modules/GodotAds/res/unity-ads.aar
  Required by:
      project :

Chartboost show ads problem NO_HOST_ACTIVITY

Godot version: 3.0.2
Chartboost version:7.1.0

Hello,
I'm trying to use your chartboost module, but I'm getting NO_HOST_ACTIVITY error when i try to call show_rewarded_video or show_interstitial_ad.
Do you have any idea why? Which Chartboost sdk version did you use to test it?

I did the following steps:

  1. add your module to ${GODOT_ROOT}/modules
  2. put the chartboost sdk into ${GODOT_ROOT}/modules/GodotAds/libs/
  3. add modules="org/godotengine/godot/GDChartboost" into project.godot
  4. initialize:
    var Chartboost = Globals.get_singleton("GDChartboost")
    var _dict = Dictionary()
    _dict["app_id"] = "Your chartboost app id"
    _dict["app_signature"] = "your chartboost signature"
    Chartboost.init(_dict, get_instance_id())
  5. call Chartboost.show_rewarded_video() or Chartboost.show_interstitial_ad()
  • both types of ads were successfully cached

thank you

upgrade to version 3.2

Hello, how are you?
Could you update this plugin to the new version of plugins 3.2?
Thank you for your work.

Build error (maven repository)

Building for Android (armv7) (with NEON) GodotAds: Enabled AttributeError: 'SConsEnvironment' object has no attribute 'android_add_maven_repository': File "/home/marqs/Documents/Godot/godot/SConstruct", line 474: config.configure(env) File "modules/GodotAds/config.py", line 59: env.android_add_maven_repository('url "https://maven.google.com"')

Does this addon GDPR compliant ?

I dont see anything about GDPR compliant ? If we upload the apk to google play store , is it going to be a problem later on ?

Error on initializing GodotAds

Hi I'm getting an error when I initialize godot ads:
platform/windows/os_windows.cpp:2532 - Condition ' !process_map->has(p_pid) ' is true. returned: FAILED

The code I have is very simple to see if I can get it working:

func _ready():
	godotAds = Engine.get_singleton("GodotAds")
	var instanceId = get_instance_id()
	if godotAds:		
		godotAds.init(instanceId) # it errors here

However I get the error shown above. Any idea whats going on here?

==Info==:
Compiled: Compiled from the 3.1 branch. x64
config.py settings

build = {
"admob"         : True,
"adcolony"      : False,
"chartboost"    : False,
"vungle"        : False,
"mopub"         : True,
"unity_ads"     : True,
"awesome_ads"   : False,
"appodeal"      : True,
"inmobi"        : False,
}

modules/GodotAds/libs: only has the unity-ads.aar (2.1 version)
Modules: "org/godotengine/godot/GodotAds" only so far
The godot project
GodotAdsTemplate.zip

AdColony Gradlew Error

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not resolve all files for configuration ':debugCompileClasspath'.

Could not resolve com.adcolony:sdk:3.2.1.
Required by:
project :
Could not resolve com.adcolony:sdk:3.2.1.
> Could not get resource 'https://adcolony.bintray.com/AdColony/com/adcolony/sdk/3.2.1/sdk-3.2.1.pom'.
> Could not GET 'https://adcolony.bintray.com/AdColony/com/adcolony/sdk/3.2.1/sdk-3.2.1.pom'. Received status code 403 from server: Forbidden
Could not resolve com.adcolony:sdk:3.2.1.
> Could not get resource 'https://s3.amazonaws.com/moat-sdk-builds/com/adcolony/sdk/3.2.1/sdk-3.2.1.pom'.
> Could not GET 'https://s3.amazonaws.com/moat-sdk-builds/com/adcolony/sdk/3.2.1/sdk-3.2.1.pom'. Received status code 403 from server: Forbidden
Could not find :unity-ads:.
Searched in the following locations:
file:/usr/share/godot3/Rodrigo Version/godot/modules/GodotAds/libs/unity-ads.aar
file:/usr/share/godot3/Rodrigo Version/godot/modules/GodotAds/res/unity-ads.aar
Required by:
project :

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 10s
1 actionable task: 1 executed

does not show banner created in admob

hello, I wish you could guide me in esprunto, I have tested with the example codes offered by admoby if it shows the types of sample banner, but the problem arises when entering my own codes that admob gives me and it is at that time That doesn't show it.

seeing admob, it gives me the id of the application, apart from the id of the banner.

Here is what debug shows me

ppbg@ppbg-Lenovo-ideapad-320-15ABR:~/game_engine/godot/platform/android/java$ adb -d logcat godot:V GoogleService:V FrogSquare:V DEBUG:V AndroidRuntime:V ValidateServiceOp:V *:S
--------- beginning of system
--------- beginning of main
07-25 00:13:02.411 21316 21338 I godot : Loading Android module: org/godotengine/godot/GodotAds
07-25 00:13:02.412 21316 21338 I godot : Loading Android module: org/godotengine/godot/AdMob
07-25 00:13:02.417 21316 21338 I godot : Loading Android module: org/godotengine/godot/SQLBridge
07-25 00:13:02.420 21316 21338 D godot : SQLBridge:Initialized
07-25 00:13:02.499 21316 21338 I godot : OpenGL ES 2.0 Renderer: Mali-T830
07-25 00:13:08.738 21316 21316 D FrogSquare: AdMob::Initialized
07-25 00:13:11.557 21316 21338 I godot : Error al cargar datos
07-25 00:13:13.742 21316 21316 W FrogSquare: AdMob:Interstitial:onAdFailedToLoad:3
07-25 00:13:15.588 21316 21316 D FrogSquare: AdMob:Interstitial:NotLoaded
07-25 00:13:19.650 21316 21316 D FrogSquare: AdMob::Initialized
07-25 00:13:21.067 21316 21316 W FrogSquare: AdMob:Interstitial:onAdFailedToLoad:3
07-25 00:13:24.938 21316 21316 D FrogSquare: AdMob:Interstitial:NotLoaded
07-25 00:13:28.098 21316 21316 D FrogSquare: AdMob::Initialized
07-25 00:13:28.574 21316 21316 W FrogSquare: AdMob:Interstitial:onAdFailedToLoad:3
07-25 00:13:33.414 21316 21316 D FrogSquare: AdMob:Interstitial:NotLoaded
07-25 00:13:37.467 21316 21316 D FrogSquare: AdMob::Initialized
07-25 00:13:37.853 21316 21316 W FrogSquare: AdMob:Interstitial:onAdFailedToLoad:3
07-25 00:13:42.754 21316 21316 D FrogSquare: AdMob:Interstitial:NotLoaded
07-25 00:13:46.798 21316 21316 D FrogSquare: AdMob::Initialized
07-25 00:13:47.703 21316 21316 W FrogSquare: AdMob:Interstitial:onAdFailedToLoad:3
07-25 00:13:52.098 21316 21316 D FrogSquare: AdMob:Interstitial:NotLoaded
07-25 00:13:56.141 21316 21316 D FrogSquare: AdMob::Initialized
07-25 00:13:56.572 21316 21316 W FrogSquare: AdMob:Interstitial:onAdFailedToLoad:3
07-25 00:14:01.451 21316 21316 D FrogSquare: AdMob:Interstitial:NotLoaded
07-25 00:14:05.494 21316 21316 D FrogSquare: AdMob::Initialized
07-25 00:14:05.944 21316 21316 W FrogSquare: AdMob:Interstitial:onAdFailedToLoad:3
07-25 00:14:10.826 21316 21316 D FrogSquare: AdMob:Interstitial:NotLoaded
07-25 00:14:14.858 21316 21316 D FrogSquare: AdMob::Initialized
07-25 00:14:15.686 21316 21316 W FrogSquare: AdMob:Interstitial:onAdFailedToLoad:3
07-25 00:14:20.163 21316 21316 D FrogSquare: AdMob:Interstitial:NotLoaded
07-25 00:14:24.202 21316 21316 D FrogSquare: AdMob::Initialized
07-25 00:14:24.718 21316 21316 W FrogSquare: AdMob:Interstitial:onAdFailedToLoad:3
07-25 00:14:32.841 21316 21316 D FrogSquare: AdMob:Interstitial:NotLoaded
07-25 00:14:36.928 21316 21316 D FrogSquare: AdMob::Initialized
07-25 00:14:37.917 21316 21316 W FrogSquare: AdMob:Interstitial:onAdFailedToLoad:3
07-25 00:14:42.191 21316 21316 D FrogSquare: AdMob:Interstitial:NotLoaded
07-25 00:14:46.236 21316 21316 D FrogSquare: AdMob::Initialized
07-25 00:14:46.724 21316 21316 W FrogSquare: AdMob:Interstitial:onAdFailedToLoad:3

I hope your guide to solve this problem

gradlew Build Failed

FAILURE: Build failed with an exception.

  • Where:
    Build file 'C:\godot\platform\android\java\build.gradle' line: 5

  • What went wrong:
    Could not compile build file 'C:\godot\platform\android\java\build.gradle'.

startup failed:
build file 'C:\godot\platform\android\java\build.gradle': 5: unexpected char: '' @ line 5, column 10.
dirs 'C:\godot\modules\GodotAds/libs','C:\Users\Khaleef\Desktop\Godot_v3.0.6-stable_win64.exe\godot\modules\GodotAds/res'
^

1 error

build failed

i was trying to recompile godot 2.1 (latest github) with ad modules.But cmd developer tool for vs2015 says : scons: *** Illegal Variables.Add() key `module_GodotAds-master_enabled'
File "C:\Users\Home\Desktop\godot-2.1\SConstruct", line 198, in

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.