@n3ir said:
i used the admob from https://github.com/Shin-NiL/Godot-Android-Admob-Plugin
i just tried it and looked at the console and it gave me this error
java.lang.IllegalArgumentException: Unknown package: org.godotengine.admobplugintest
at com.android.server.pm.Settings.getInstallerPackageNameLPr(Settings.java:4688)
at com.android.server.pm.PackageManagerService.getInstallerPackageName(PackageManagerService.java:25467)
at com.android.server.pm.PackageManagerService.isOrphaned(PackageManagerService.java:25473)
at com.android.server.pm.PackageManagerService.deletePackageVersioned(PackageManagerService.java:21181)
at com.android.server.pm.PackageInstallerService.uninstall(PackageInstallerService.java:927)
at com.android.server.pm.PackageManagerShellCommand.runUninstall(PackageManagerShellCommand.java:1486)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:193)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:26009)
at android.os.Binder.shellCommand(Binder.java:642)
at android.os.Binder.onTransact(Binder.java:540)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:3329)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4793)
at android.os.Binder.execTransact(Binder.java:739)
edit:
sorry wrong console
It looks like Java cannot find the packaged called org.godotengine.admobplugintest
. Are you using a version from the releases tab? I'm not sure why there would be a package that has test at the end in a release version.
Regardless, it seems something is not being included correctly in the export. Unfortunately, I have little experience with Android and linking libraries. I would carefully go through the How To Use
section on the AdMob Godot repository and see if there is a step you may have missed.
do i need to upload my project?
You can if you want. I will be unable to test it, as I do not have an Android device.