Need more help? Go to Stack Overflow.
What is the precaution for using commons-codec:commons-codec?
When using commons-codec:commons-codec: [], you need to configure the buildTypes block as follows:
buildTypes {
release {
.....
packagingOptions {
pickFirst "org/apache/commons/codec/language/bm/gen_rules_dutch.txt"
}
}
debug {
.....
packagingOptions {
pickFirst "org/apache/commons/codec/language/bm/gen_rules_dutch.txt"
}
}
}
What should I do if a 6003 error occurs when I try to connect to HMS Core?
Error code 6003 is caused by inconsistent certificate fingerprint configurations. Check the following items:
- Check that the fingerprint has been configured, and the certificate for packing the signature on the local client is the same as the certificate for configuring the fingerprint on the server.
- Check the fingerprint entries in the certificate. It is recommended that you use a single entry.
- If error code 6003 persists when you run the local client after the fingerprint is configured, the debug certificate is running by default. Clear the cache of HUAWEI HMS Core (APK) and run the client again.
What should I do if a 907135702 error occurs when I try to connect to HMS Core?
You need to configure the certificate fingerprint on HUAWEI Developers.
What should I do if signature verification fails?
Check whether the signature to be verified contains signType=RSA256. Do not include this field in the signature.
Is the SHA-256 certificate mandatory for signature verification?
Yes. HUAWEI Developers requires the SHA-256 certificate fingerprint.
The signature algorithm of the app signing certificate is SHA1withRSA. Does this have any impact on the app?
Yes. Currently, the required algorithm is SHA-256.
Must the HMS Core SDK be integrated into my app so that it can use Drive capabilities?
Yes.
What storage space does Drive use? Is it the storage space of the user? How much storage space (GB) can it use?
Drive uses the storage space purchased by the user. By default, each user has 5 GB free storage space and can purchase a maximum of 2048 GB storage space.
Do Drive functions strongly depend on HUAWEI ID? Must the users sign in with their HUAWEI IDs if they want to use the Drive functions?
Yes. Drive functions strongly depend on HUAWEI ID. To use Drive functions, users must sign in with their HUAWEI IDs.
What types of files can be uploaded to Drive?
Drive does not limit the types of files to be uploaded.
Are files stored in Drive encrypted?
Yes. Files are encrypted and then stored in Drive.
Why is the WRITE_MEDIA_STORAGE permission, a special permission in Android Studio, applied in the sample code?
WRITE_MEDIA_STORAGE is the permission for reading files in the local storage. The sample program may require the permission to read/write files stored locally and then upload the files.
Is there any limit on the size of a file to be uploaded?
Direct upload: A file smaller than 20 MB can be uploaded in this mode.
Resumable upload: No limit on the file size. However, each chunk of the file to be uploaded must not exceed 64 MB.