radimitrov / CSharpShellApp

81 stars 18 forks source link

ERROR_CODE_3 #196

Open Aksword opened 1 year ago

Aksword commented 1 year ago

Hello, I get this error when I try to convert my code to an apk : Attempting to load interstitual ad... Packaging APK... Error code 3: ERROR_CODE_NO_FILL The ad request was successful, but no ad was returned due to lack of ad inventory. This is temporary and means the server doesn't want to return an ad right now. No ad config. (source: https://www.freshbytelabs.com/2018/10/how-to-fix-some-common-errors-during.html) [Freeware mode] Interstitual ad failed to load, no recent enough pre-loaded one available. Aborting... Build finished [00:01.464].

When I search the error in the site, it says that no ad is available. Does it do that only for me or it's a common error ?

radimitrov commented 1 year ago

Not truly an error, since nothing is wrong and there isn't anything that can be fixed. Happens at random for anyone based on how much ads AdMob is willing to serve them. Frequency also varies. Could be more frequent for some regions, I think.

radimitrov commented 1 year ago

Ok, I might have been wrong about it not being an error. Are you using the Google Play version of the app or one of the other 2 flavors?

Aksword commented 1 year ago

Ok, I might have been wrong about it not being an error. Are you using the Google Play version of the app or one of the other 2 flavors?

I'm am using the one of the other 2 flavors because I couldn't export to apk with the Google one.

radimitrov commented 1 year ago

Yeah... Google is to blame for both things. As usual. Seems they now only allow ads to be shown if an app (package id) is published in an app store. Huawei AppGallery doesn't count, apparently. I'll have to replace AdMob with something else for the other flavors. Probably HUAWEI Ads Publisher Service. Will take some time.

Aksword commented 1 year ago

Yeah... Google is to blame for both things. As usual. Seems they now only allow ads to be shown if an app (package id) is published in an app store. Huawei AppGallery doesn't count, apparently. I'll have to replace AdMob with something else for the other flavors. Probably HUAWEI Ads Publisher Service. Will take some time.

Ok, thanks for the reply. I guess I'll wait, good luck !

radimitrov commented 1 year ago

Well, it has been a while, sorry. This is getting fixed in a day or two. I'm just going to remove the ads requirment from exporting APKs. Too problematic to replace and not really worth it.

Aksword commented 1 year ago

Thanks a lot !! 🙏🙏

DenisJNewb commented 1 year ago

Compiling... ℹ️If install fails check for enough free space, broken package name or changed signature - manually uninstall your app to fix.ℹ️ Attempting to load full-screen ad... Packaging APK... Aligning APK... Signing APK...

ERROR_CODE_INTERNAL_ERROR Something happened internally; for instance, an invalid response was received from the ad server. Attempting to load full-screen ad... Error code 0: ERROR_CODE_INTERNAL_ERROR Something happened internally; for instance, an invalid response was received from the ad server. Unable to obtain a JavascriptEngine. (source: https://www.freshbytelabs.com/2018/10/how-to-fix-some-common-errors-during.html) [Freeware mode] Interstitual ad failed to load, no recent enough pre-loaded one available. Aborting... Build finished [01:12.937].

Im getting this message when trying to export APK

radimitrov commented 1 year ago

@Aksword This is unrelated to the initial cause of error code 3. It is error code 0. That would usually mean something configuration error, however the "Unable to obtain a JavascriptEngine" indicates this is a local issue. Could be an outdated WebView / Chrome. Try updating that. Or it could be an adblocker if you've started using one. Probably local VPN based? Or depending on how old the version of the C# Shell app you're using is this could be part of Google's phasing out of older ad SDK versions.