Comments (2)
Hi @BombeyR , thank you for reporting the issue.
com/huawei/secure/android/common/ssl/R.class
is a class that included in Huawei dependencies. Can you please share your build.gradle
files located in the project-root/android and project-root/android/app folders alongside with Huawei plugins that you used in your project, which you may find in pubspec.yaml file of your project? Providing a minimal, reproducible project can also be helpful.
We will investigate the issue and suggest a workaround as soon as possible. Meanwhile, you may try running flutter clean
and flutter run
commands, and also, from Android Studio you may try to invalidate caches and restart and clean the project using Build > Clean Project.
from hms-flutter-plugin.
Hi @BombeyR ,
As mentioned earlier com/huawei/secure/android/common/ssl/R.class
is a class that included in HMS dependencies, and may conflict with each other in certain circumstances. As a workaround, you may bump the version of HMS Map Kit SDK's version (4.0.1.300) to 4.0.1.301.
The update steps are as follows:
- Locate the huawei_map folder of your project.
- You may find plugin folders using Android Studio's External Libraries > Flutter Plugins section.
- Or you may find plugin folders from
.../flutter/.pub-cache/hosted/pub.dartlang.org/huawei_map-4.0.4+300
directory.
- Locate Huawei Map Flutter Plugin's android/build.gradle file.
- Update the version of HMS Map SDK's version to 4.0.1.301.
... dependencies { implementation 'com.huawei.hms:maps:4.0.1.300' //Change this version to 4.0.1.301 }
After changing the plugin file, please do not forget to Invalidate Caches and Restart the project using Android Studio.
The mentioned issue is in our update scope, we will provide a permanent solution with our next major release.
Additionally, the followings may cause issues in later development:
apply plugin: 'com.huawei.agconnect'
line should below other apply entries.- The HMS dependencies in your project-root/android/app/build.gradle are not needed if you didn't implement platform-specific code in your project using HMS dependencies. HMS Flutter Plugins includes their own.
- Keeping the minSdkVersion at 19 might cause issues while using multidex. You may want to increase the version to 21. For information about the issue and its solution please refer to this StackOverflow issue.
from hms-flutter-plugin.
Related Issues (20)
- Error 11203(3002): Service Unavailable when Starting Speech Recognition
- [huawei_push] Can't get the token: 907135003: client api invalid HOT 1
- NullPointerException in FlutterBackgroundRunner
- huawei_modeling3d 1.8.0+300 只支持Android平台, 近期有计划增加支持iOS等其他平台吗
- Location Kit throws AGC_CHECK_FAIL - 10808 (AppGallery Connect identity verification failed) HOT 2
- flutter ios AGConnectCrashPlugin init failed HOT 1
- AGP8 upgrade
- CRITICAL : the future initFusedLocationService() never end HOT 9
- huawei_push GetToken returned null HOT 5
- [Huawei_push][Bug] cancelNotificationsWithId is not await or return any result
- Flutter Huawei FIDO: unable to decode FIDO registration response
- 集成huawei_location 提示FusedLocationService is not initialized HOT 2
- Huawei analytics does not work on Flutter HOT 1
- Unexpected CFBundleExecutable Key
- Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager.
- UserHandle data is missing in Flutter FIDO Authentication result HOT 5
- Geocoding Service Error
- [huawei_map] Clicking on Marker Causes setZIndex:Failure win parameter HOT 1
- 有无支持基于鸿蒙的Flutter适配的计划
- Getting MissingPluginException when using with Huawei Location inside workmanager
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hms-flutter-plugin.