Shin-NiL / Godot-Android-Admob-Plugin

Android AdMob plugin for Godot Game Engine 3.2 or higher
MIT License
549 stars 68 forks source link

I have 2 problems with this plugin. Can you help me please? #101

Open maxiproduksiyon585 opened 4 years ago

maxiproduksiyon585 commented 4 years ago

Godot version: System : win7- 64 bit Version : Godot 3.2.3

AdMob Plugin version: 4.0 or 4.1.1

Problem 1: Unicode error when exporting to Android.

My game doesn't work on android with 4.0 or 4.1.1 plugin versions. The game crashes when I run the game on the mobile phone. Android gives Unicode error message while exporting.

Unicode error: invalid utf8

My game runs on android when "Use custom build" and "Godot Admob plugin" is not active.

I applied all the settings on this your github files. I reinstalled android sdk and android template. The problem was not fixed.

edit:

The problem isn't in my game. I tried creating android with the your example of Admob. have the same problem.

There is a AndroidManifest.xml file.

I am adding google ads demo code. I got these codes from the link above.

There are GodotAdMob.4.1.1.release.aar -GodotAdmob.gdap files in the plugin folder. I got these files from the your github link.

What is this problem?

My Solution 1:

https://github.com/Shin-NiL/Godot-Android-Admob-Plugin/releases

version 3.0.1 of this plugin worked on Godot version 3.2.3 and 3.2.2. The game is no longer crashing. Test ad appeared on my mobile phone. I hope there will be no problems with original ads. The game crashes in versions 4.0 or 4.1.1. still in every version the program gives the following error: Unicode error: invalid utf8

Ekran Alıntısı

Shin-NiL commented 4 years ago

It seems like the message Unicode error: invalid utf8 is a Godot message. What language are you using? Can you check the logcatto get more info?

maxiproduksiyon585 commented 4 years ago

adb logcat -s godot I found logcat but only "waiting for device" appears on the computer. does not continue.

maxiproduksiyon585 commented 4 years ago

Thank you for the plugin. Turkish Windows, Godot Engine English.

Test code for plug-in 3.0.1 worked on Godot 3.2.3. and there was no problem. But I am getting a warning that there are 2 manifest files. test ads appear. Is there a problem with real ads?

Shin-NiL commented 4 years ago

I've only tested Godot 3.2.3 with plugin 4.1.1.

maxiproduksiyon585 commented 4 years ago

okay thank you. I removed the manifest file in the folder. There is a only manifest xml file in the plugin folder. There is nothing wrong. test ads appear.