execJSTypeError: xxx is not a function keeps reporting execJSTypeError: xxx is not a function execJSTypeError: xxx is not a function keeps reporting execJSTypeError: xxx is not a function when the quick app accesses the advertising service
execJSTypeError: xxx is not a function keeps reporting execJSTypeError: xxx is not a function
175 Views Asked by Kanchan Thakur At
1
There are 1 best solutions below
Related Questions in HUAWEI-MOBILE-SERVICES
- React Native app stuck in Splash screen after adding HMS Location package
- Issue with integrating HMS Location in React Native Android with product flavours
- ShouldShowRequestPermissionRational not working properly in Huawei HarmonyOS devices
- Flutter Build Fails with HMS Integration: com.huawei.agconnectclouddb.objecttypes Package Not Found
- Huawei browser on Android cannot download PDF files authenticated by auth_basic password on nginx
- could not connect huawei cloudDb
- Can't sync android project gradle kts with huawei
- Error when trying to obtain upload URL from huawei api connect
- how to solve Error in Deveco studio emulator
- Raspberry Pi: problem with external USB drive and USB modem
- "The app has not been released on AppGallery" error on InAppComment Huawei request
- Internal Deep Linking is not working with Huawei phones?
- How to build huawei app store application?
- HMSMap Not Displaying on Device
- Huawei not sending push token to third party in production
Related Questions in HUAWEI-DEVELOPERS
- ShouldShowRequestPermissionRational not working properly in Huawei HarmonyOS devices
- Monospace font is ignored in xml layout for Honor 10i
- could not connect huawei cloudDb
- Can't sync android project gradle kts with huawei
- Error when trying to obtain upload URL from huawei api connect
- how to solve Error in Deveco studio emulator
- How to build huawei app store application?
- How to Creating a Data Disk Image from an External Image File in Huawei Cloud Stack?
- Adding WatchOS App to a existing Flutter App
- Huawei not sending push token to third party in production
- Why don't I get notifications in HMS if I disable and re-enable them?
- Huawei Console - Select Testing Version "NO" not available
- Connection with Net/SSH2.php to Huawei Olt MA5680T is very slow
- Is it possible to share a link with Huawei Share just like with Google Nearby Share?
- App rejecting on AppGallery Connect Huawei
Related Questions in APPGALLERY
- Is there a way to use Firebase App Check For Huawei Devices or an alternative/combo?
- Missing Cloud Debugging in AppGallery Connect
- Reject my app in AppGallery because of this reason "Submit a formal version for release."
- Huawei Ads Kit (Monetization apps) from account registered in my country as individual not allowed?
- I could not update the software from Huawei Store app gallery
- Problem when upload apk to AppGallery Huawei
- Hms Cloud bd get error code: 8 message: please close CloudDBZone first. On android Studio
- Prepare app for both app gallery and google play store
- How to make Test account for app gallery?
- Huawei startResolutionForResult needs an update
- Google play and app gallery best packagename choice
- Add payment for android app with 2 flavours
- How to use keystores for multi Store
- How to release Flutter default app to the App Gallery
- Huawei AppGallery unintentionally updates Google Play version
Related Questions in APPGALLERY-CONNECT
- App rejecting on AppGallery Connect Huawei
- Huawei AG Connect multi environment project with single app
- Missing Cloud Debugging in AppGallery Connect
- Huawei Ads Kit (Monetization apps) from account registered in my country as individual not allowed?
- Problem when upload apk to AppGallery Huawei
- AgConnect Performance Monitoring - Version Conflict
- Hms Cloud bd get error code: 8 message: please close CloudDBZone first. On android Studio
- How to make Test account for app gallery?
- flutter huawei push notification from onesignal
- Firestore dependencies in Huawei developer console
- execJSTypeError: xxx is not a function keeps reporting execJSTypeError: xxx is not a function
- How to get the user activity details in Huawei AppGallery Operation analysis page?
- AppGallery Console :The Deeplink created with the REST API service are not showing on the AG Console
- Can US based company publish on Huawei AppGallery?
- Get lifetime number of downloads of huawei app
Related Questions in HUAWEI-ADS
- execJSTypeError: xxx is not a function keeps reporting execJSTypeError: xxx is not a function
- My Huawei Ads are displaying only in some regions
- HMS or Huawei: I am advertising my app published in App Gallery through Huawei Ads and I do not want to display my competitor ads in my app
- Implemented the Huawei Full ads SDK Ads on the GMS devices but Ads not coming Why?
- OnAdLoaded executes, but interstitialAd.Loaded returns false
- Native Ads MediaView doesn't match constraint in Huawei Ads Implementation
- Ad failed to load with error code 0(internal Error) - Huawei Ads Implementation
- Don't Create Threads in the preview window - Huawei Ads Implementation
- Facebook Audience Network ads are not working when the app is downloaded from Huawei AppGallery
- "Stringernal error" when requesting a Native Ad on Huawei Quick-App
- HMS Interstitial Ads issue
- Huawei Quick Apps, HTML5 and Ads
- Huawei Ads: check hms sdk available error
- What are the descriptons for Huawei AdsKit AdListener.onAdFailed error codes?
- What are the allowed values for Huawei AdsKit `AdParam.Builder`?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?


Basically the error message "execJSTYpeError: xxx.interstitialAd.load() is not a function" is displayed. This error indicates that the called function does not exist. The possible cause is that a vendor API that is not provided is called. It is found that the official website of Quick App Alliance provides the interstitialAd.load() API mentioned in the message, but Huawei does not provide it.
Solution:
During the development, call account.getProvider() to check whether some APIs are supported. If so, you may call them. For details, please refer to Account API.
if(account.getProvider()){
// some code
} Suggestion: When using a vendor service, use getProvider to check whether the service is supported and then call the specific API.
For details , please refer to , Cases: https://developer.huawei.com/consumer/en/doc/development/quickApp-Guides/quickapp-case-0000001082020374#section510218171618
For details about Interstitial Ads implementation, please refer to below official link:
Ads Kit:https://developer.huawei.com/consumer/en/doc/development/quickApp-References/quickapp-api-ad-0000001074754667 This document describes only the definition of APIs. For details about how and when to call these APIs, please refer to Integrating Ads Kit.
If still issue will persist, please feedback us with the following information to the developer support team: 1)Application Logs & SDK Logs
Please capture logs by Application Logs:
Connect the ADB tool to your device and run the following commands: adb shell setprop log.tag.hwads VERBOSE adb logcat -v threadtime 1> D:\hwadslogs.log Ads Kit logs:
Open the Files app, go to Categories > Internal storage > Android > data > com.huawei.hwid > files > Log > HiAdKitLog.log, and export the logs.
Method 2: Connect your phone to a computer and run the following ADB command to export logs from the phone. In the command, the dot (.) at the end indicates that the logs are stored in the current path.
adb pull /sdcard/Android/data/com.huawei.hwid/files/Log/HiAdKitLog.log ./
Note: If HiAdKitLog.log.bak exists, export it also.
If HiAdKitLog.log cannot be found, check whether the storage permission is enabled in HMS Core by going to Settings > Apps > Apps > HMS Core > Permissions, and making sure that Storage is enabled.
2)Screenshot of device details.
Settings > About Phone
3)HMs core version details.
Settings > Apps > HMS Core