please! Install gms native harmonyos 2.0.0.218
Related
Hello,
I built node.js for android and it is running great.
Now i need some modules for a new project (serialport,express,socket.io) but I can't use npm on my android device, since i cross compiled node and just put the executable on the device.
Is there a way to use npm on android or what would be the best way to do it?
I also tried building the packages on an arm qemu but the modules weren't working o the android box.
What I am trying to do at the moment is including the modules as core modules when building node, but I am unsure what to include. All modules and all the modules that those modules depend on, etc. etc. This doesn't sound right?
I am following these instructions, that were for a similar problem: github / mapbox / building for android (can't post link sadly)
What would be the best way to achieve it?
Kind regards, egon
I now got it running by installing debian kit on the android box.
Then I just installed node and npm from package manager and did "npm install" in my project folder which worked.
Hi,
i`m trying to develop simple ubuntu application. This application should connect to remove mysql server, query and display data in UbuntuListView. Project was created in Qt Creator 3.1.1 as QML app with c++ plugin (cmake).
In my cpp class, i connect to mysql server using QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL"); according to qt documentation.
On my desktop (ubuntu 14.04) application works fine (after installing libqt5sql5-mysql), but when i tried to run this application on my aquaris E4.5 ubuntu edition (using Framework ubuntu-sdk-14.10) i got this error:
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE
Open database: false
I have found package libqt5sql5-mysql 5.3.0+dfsg-2ubuntu9 (armhf binary) for utopic unicorn. In qt creator, under Tools->Options->Ubuntu, I clicked on Maintain button in Framework ubuntu-sdk-14.10 and install that package. But this didn`t solve my problem.
Do yo have any ideas ?
If you want to include said libaries, you need to ship them as .so files in your click package. Don't ask me how to do it (I don't know in this specific case), but simply installing it in your chroot won't work.
A pop-up is repeatedly displayed to users when they sign in to the game, asking them to install or update to the latest version of HMS Core.
Log Analysis
Search for Failed to find HMS apk in the Logcat log file. Multiple results will be returned.
The following log indicates that HMS Core (APK) is not installed when the initialization API init is called to check for it:
XML:
Initializing JosAppsClient
I/HMSSDK_HuaweiApiManager: sendRequest
I/HMSSDK_BaseHmsClient: ====== HMSSDK version: 40000300 ======
I/HMSSDK_BaseHmsClient: Enter connect, Connection Status: 1
I/HMSSDK_BaseHmsClient: connect minVersion:30000000
E/HMSSDK_HMSPackageManager: skip package com.huawei.hwid for metadata is null
E/HMSSDK_HMSPackageManager: Failed to find HMS apk
The following log indicates that HMS Core (APK) is not installed when the sign-in API signIn is called to check for it:
I/HMSSDK_[HUAWEIIDSDK]HwIdSignInClientHub: onCreate
I/HMSSDK_HmsAPKVersionCheckUtil: ====== HMSSDK version: 40000300 ======
I/HMSSDK_HmsAPKVersionCheckUtil: check minVersion:30000000
E/HMSSDK_HMSPackageManager: skip package com.huawei.hwid for metadata is null
E/HMSSDK_HMSPackageManager: Failed to find HMS apk
I/HMSSDK_AvailableAdapter: main thread invokes resolution.
I/HMSSDK_AvailableAdapter: startResolution
According to the logs, both the init and signIn APIs find that HMS Core (APK) is not installed, and thus two pop-ups are displayed.
Solution
1. Update the integrated Game Service SDK to 5.0.1.301 or later. For more details, please refer to the official materials.
2. If you prefer not to update the SDK, you can also change the sequence for calling the sign-in and initialization APIs, so that the initialization API is called after the sign-in is successful.
This will ensure that the pop-up displays only once.
SymptomWhen I submitted my game, which has HMS Core capabilities integrated, for review, it was rejected due to incorrect provider name during HMS Core (APK) update.
I use Android Studio and I can’t find any solutions for this problem in the official documentation, so I contacted Huawei technical support instead.
SolutionI was told that the provider name does not need to be manually configured for HMS Core (APK) updates for version 4.0 and later. The provider name is automatically configured in the manifest file after game packaging. To check whether the configuration exists, I would need to decompile the game package and check whether the following configurations exist under the application element in the manifest file:
Code:
<provider
android:name=”com.huawei.hms.update.provider.UpdateProvider”
<! — Replace xxx.xxx.xxx with the actual game package name. →
android:authorities=”xxx.xxx.xxx.hms.update.provider”
android:exported=”false”
android:grantUriPermissions=”true” >
</provider>
<provider
android:name=”com.huawei.updatesdk.fileprovider.UpdateSdkFileProvider”
<! — Replace xxx.xxx.xxx with the actual game package name. →
android:authorities=”xxx.xxx.xxx.updateSdk.fileProvider”
android:exported=”false”
android:grantUriPermissions=”true”>
</provider>
If the configurations do not exist, packaging errors or other exceptions may have occurred. In this case, you would need to manually add the provider name.
Dear developer,
HMS Core SDKs have undergone some version updates recently. To further improve user experience, update the HMS Core SDK integrated into your app to the latest version.
HMS Core SDKVersionLinkKeyringcom.huawei.hms:keyring-credential:6.4.0.302LinkLocation Kitcom.huawei.hms:location:6.4.0.300LinkNearby Servicecom.huawei.hms:nearby:6.4.0.300LinkContact Shieldcom.huawei.hms:contactshield:6.4.0.300LinkVideo Kitcom.huawei.hms:videokit-player:1.0.12.300LinkWireless kitcom.huawei.hms:wireless:6.4.0.202LinkFIDOcom.huawei.hms:fido-fido2:6.3.0.304
com.huawei.hms:fido-bioauthn:6.3.0.304
com.huawei.hms:fido-bioauthn-androidx:6.3.0.304LinkPanorama Kitcom.huawei.hms: panorama:5.0.2.308LinkPush Kitcom.huawei.hms: push:6.5.0.300LinkAccount Kitcom.huawei.hms:hwid:6.4.0.301LinkIdentity Kitcom.huawei.hms:identity:6.4.0.301LinkSafety Detectcom.huawei.hms:safetydetect:6.4.0.301LinkHealth Kitcom.huawei.hms:health:6.5.0.300LinkIn-App Purchasescom.huawei.hms:iap:6.4.0.301LinkML Kitcom.huawei.hms:ml-computer-vision-ocr:3.6.0.300
com.huawei.hms:ml-computer-vision-cloud:3.5.0.301
com.huawei.hms:ml-computer-card-icr-cn:3.5.0.300
com.huawei.hms:ml-computer-card-icr-vn:3.5.0.300
com.huawei.hms:ml-computer-card-bcr:3.5.0.300
com.huawei.hms:ml-computer-vision-formrecognition:3.5.0.302
com.huawei.hms:ml-computer-translate:3.6.0.312
com.huawei.hms:ml-computer-language-detection:3.6.0.312
com.huawei.hms:ml-computer-voice-asr:3.5.0.301
com.huawei.hms:ml-computer-voice-tts:3.6.0.300
com.huawei.hms:ml-computer-voice-aft:3.5.0.300
com.huawei.hms:ml-computer-voice-realtimetranscription:3.5.0.303
com.huawei.hms:ml-speech-semantics-sounddect-sdk:3.5.0.302
com.huawei.hms:ml-computer-vision-classification:3.5.0.302
com.huawei.hms:ml-computer-vision-object:3.5.0.307
com.huawei.hms:ml-computer-vision-segmentation:3.5.0.303
com.huawei.hms:ml-computer-vision-imagesuperresolution:3.5.0.301
com.huawei.hms:ml-computer-vision-documentskew:3.5.0.301
com.huawei.hms:ml-computer-vision-textimagesuperresolution:3.5.0.300
com.huawei.hms:ml-computer-vision-scenedetection:3.6.0.300
com.huawei.hms:ml-computer-vision-face:3.5.0.302
com.huawei.hms:ml-computer-vision-skeleton:3.5.0.300
com.huawei.hms:ml-computer-vision-livenessdetection:3.6.0.300
com.huawei.hms:ml-computer-vision-interactive-livenessdetection:3.6.0.301
com.huawei.hms:ml-computer-vision-handkeypoint:3.5.0.301
com.huawei.hms:ml-computer-vision-faceverify:3.6.0.301
com.huawei.hms:ml-nlp-textembedding:3.5.0.300
com.huawei.hms:ml-computer-ner:3.5.0.301
com.huawei.hms:ml-computer-model-executor:3.5.0.301LinkAnalytics Kitcom.huawei.hms:hianalytics:6.5.0.300LinkDynamic Tag Managercom.huawei.hms:dtm-api:6.5.0.300LinkSite Kitcom.huawei.hms:site:6.4.0.304LinkHEM Kitcom.huawei.hms:hemsdk:1.0.4.303LinkMap Kitcom.huawei.hms:maps:6.5.0.301LinkWallet Kitcom.huawei.hms:wallet:4.0.5.300LinkAwareness Kitcom.huawei.hms:awareness:3.1.0.302LinkCrashcom.huawei.agconnect:agconnect-crash:1.7.0.300LinkAPMcom.huawei.agconnect:agconnect-apms:1.5.2.310LinkAds Kitcom.huawei.hms:ads-prime:3.4.55.300LinkPaid Appscom.huawei.hms:drm:2.5.8.301LinkBasecom.huawei.hms:base:6.4.0.303
Required versions for cross-platform app development:
Platform: React Native
Plugin NameVersionLinkreact-native-hms-analytics6.3.2-301Linkreact-native-hms-iap6.4.0-301Linkreact-native-hms-location6.4.0-300Linkreact-native-hms-map6.3.1-304Linkreact-native-hms-push6.3.0-304Linkreact-native-hms-site6.4.0-300Linkreact-native-hms-nearby6.2.0-301Linkreact-native-hms-account6.4.0-301Linkreact-native-hms-ads13.4.54-300Linkreact-native-hms-adsprime13.4.54-300Linkreact-native-hms-availability6.4.0-303Link
Platform: Cordova (Ionic-Cordova Ionic-Capacitor)
Plugin NameVersionLinkcordova-plugin-hms-analytics
ionic-native-hms-analytics6.3.2-301Linkcordova-plugin-hms-location
ionic-native-hms-location6.4.0-300Linkcordova-plugin-hms-nearby
ionic-native-hms-nearby6.2.0-301Linkcordova-plugin-hms-account
ionic-native-hms-account6.4.0-301Linkcordova-plugin-hms-push
ionic-native-hms-push6.3.0-304Linkcordova-plugin-hms-site
ionic-native-hms-site6.4.0-300Linkcordova-plugin-hms-iap
ionic-native-hms-iap6.4.0-301Linkcordova-plugin-hms-availability
ionic-native-hms-availability6.4.0-303Linkcordova-plugin-hms-ads
ionic-native-hms-ads13.4.54-300Linkcordova-plugin-hms-adsprime
ionic-native-hms-adsprime13.4.54-300Linkcordova-plugin-hms-map
ionic-native-hms-map6.0.1-305Linkcordova-plugin-hms-ml
ionic-native-hms-ml2.0.5-303Link
Platform: Flutter
huawei_safetydetect6.4.0+301Linkhuawei_iap6.2.0+301Linkhuawei_health6.3.0+302Linkhuawei_fido6.3.0+304Linkhuawei_push6.3.0+304Linkhuawei_account6.4.0+301Linkhuawei_ads13.4.55+300Linkhuawei_analytics6.5.0+300Linkhuawei_map6.5.0+301Linkhuawei_hmsavailability6.4.0+303Linkhuawei_location6.0.0+303Linkhuawei_adsprime13.4.55+300Linkhuawei_ml3.2.0+301Linkhuawei_site6.0.1+304Link
Platform: Xamarin
Huawei.Hms.Hianalytics6.4.1.302LinkHuawei.Hms.Location6.4.0.300LinkHuawei.Hms.Nearby6.2.0.301LinkHuawei.Hms.Push6.3.0.304LinkHuawei.Hms.Site6.4.0.300LinkHuawei.Hms.Fido6.3.0.304LinkHuawei.Hms.Iap6.4.0.301LinkHuawei.Hms.Hwid6.4.0.301LinkHuawei.Hms.Ads-prime3.4.54.302LinkHuawei.Hms.Ads3.4.54.302LinkHuawei.Hms.Maps6.5.0.301Link
If you have any further questions or encounter any issues integrating any of these kits, please feel free to contact us.
RegionEmailEurope[email protected]Asia Pacific[email protected]Latin America[email protected]Middle East & Africa[email protected]wei.comRussia[email protected]