Flutter integration Issue

i face an issue while in integrate my flutter Dart code with zoom SDK
all what i did to got this issue is i follow zoom integration instruction by
add flutter_zoom_sdk: ^1.1.0+4 in ymal file
then run unzipping command flutter pub run flutter_zoom_sdk:unzip_zoom_sdk
the android modules set successfully
while i running the APP on android device and in build state i get some errors i will share it below
also i will share my dependance because in guess there are conflict in some libs like video exoplayer
SO
What should i do to avoid the error that happen only after i add zoom sdk

NOTE
i try some things to fix this error like

  • upgrade all my libs in flutter
  • replace the mobilertc.aar and commonlib.aar with the latast ones from zoom-sdk-android-5.13.10.12577
    and get same issue

**ERROR **

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
   > Android resource linking failed
     ERROR:/Users/mahmoudrashad/.gradle/caches/transforms-3/6dbf7e2d9641f3f43afb2ac867bf872d/transformed/jetified-mobilertc/res/layout/activity_media_player.xml:7: AAPT: error: attribute fastforward_increment (aka com.qeematech.sonomaster:fastforward_increment) not found.

     ERROR:/Users/mahmoudrashad/.gradle/caches/transforms-3/6dbf7e2d9641f3f43afb2ac867bf872d/transformed/jetified-mobilertc/res/layout/activity_media_player.xml:7: AAPT: error: attribute rewind_increment (aka com.qeematech.sonomaster:rewind_increment) not found.

     ERROR:/Users/mahmoudrashad/.gradle/caches/transforms-3/6dbf7e2d9641f3f43afb2ac867bf872d/transformed/jetified-mobilertc/res/layout/zm_content_file_video_viewer.xml:8: AAPT: error: attribute fastforward_increment (aka com.qeematech.sonomaster:fastforward_increment) not found.

     ERROR:/Users/mahmoudrashad/.gradle/caches/transforms-3/6dbf7e2d9641f3f43afb2ac867bf872d/transformed/jetified-mobilertc/res/layout/zm_content_file_video_viewer.xml:8: AAPT: error: attribute rewind_increment (aka com.qeematech.sonomaster:rewind_increment) not found.

ymal dependencies

dependencies:
  flutter:
    sdk: flutter
  cupertino_icons: ^1.0.2
  dio: ^4.0.6
  pretty_dio_logger: ^1.2.0-beta-1
  lottie: ^2.1.0
  skeletons: ^0.0.3
  pin_code_fields: ^7.4.0
  flutter_svg: ^2.0.1
  connectivity_plus: ^3.0.2
  internet_connection_checker: ^1.0.0+1
  flutter_riverpod: ^2.1.1
  hive_flutter: ^1.1.0
  easy_localization: ^3.0.1
  cached_network_image: ^3.2.3
  firebase_core: ^2.4.1
  firebase_messaging: ^14.2.1
  firebase_crashlytics: ^3.0.10
  firebase_remote_config: ^3.0.9
  url_launcher: ^6.1.7
  bottom_navy_bar: ^6.0.0
  dotted_line: ^3.1.0
  file_picker: ^5.2.5
  secure_application: ^3.8.0
  flutter_jailbreak_detection: ^1.10.0
  infinite_scroll_pagination: ^3.2.0
  flutter_widget_from_html: ^0.10.0
  path_provider: ^2.0.12
  image_picker: ^0.8.6+1
  vimeo_video_player: ^0.0.6
  youtube_player_flutter: ^8.1.2
  form_validator: ^2.1.1
  flutter_inappwebview: ^5.7.2+3
  flutter_cached_pdfview: ^0.4.1
  get_ip_address: ^0.0.5

  permission_handler: ^10.2.0
  country_picker: ^2.0.19
  vdocipher_flutter: ^2.1.1
  platform_device_id: ^1.0.1
  share_plus: ^6.3.1
  flutter_zoom_sdk: ^1.1.0+4
 

@kareemabdelaziz.sabr,

Thank you for posting in the Zoom Developer Forum. Based on the error, you may be missing some required dependencies. Have you been able to double-check that all of the required dependencies were successfully installed? Iā€™d suggest referencing the sample project to identify those missing dependencies. To this point, can you share the entire stack trace with us?

thanks for your support
i have no exception to get stack trace i get build fail but in all i will share all Run result
about sample project i try it it works for me and run successfully my issue not in sample project
my issue in integrate with my project
i will share also logs from my terminal that i add the flutter zoom sdk and completed
i hope this help in you investigation about the missing step

                            
Running "flutter pub get" in sonomaster_frontend...
Resolving dependencies... (8.6s)
  _flutterfire_internals 1.0.14 (1.0.18 available)
  async 2.10.0 (2.11.0 available)
  characters 1.2.1 (1.3.0 available)
  cli_util 0.3.5 (0.4.0 available)
  collection 1.17.0 (1.17.1 available)
  country_picker 2.0.19 (2.0.20 available)
  dio 4.0.6 (5.0.3 available)
  file_picker 5.2.5 (5.2.6 available)
  firebase_core 2.6.0 (2.8.0 available)
  firebase_core_web 2.2.1 (2.2.2 available)
  firebase_crashlytics 3.0.13 (3.0.17 available)
  firebase_crashlytics_platform_interface 3.3.13 (3.3.17 available)
  firebase_messaging 14.2.3 (14.3.0 available)
  firebase_messaging_platform_interface 4.2.12 (4.2.16 available)
  firebase_messaging_web 3.2.13 (3.2.17 available)
  firebase_remote_config 3.0.11 (3.0.15 available)
  firebase_remote_config_platform_interface 1.1.31 (1.1.35 available)
  firebase_remote_config_web 1.1.20 (1.1.24 available)
  flutter_launcher_icons 0.11.0 (0.12.0 available)
  flutter_pdfview 1.2.5 (1.2.9 available)
  flutter_plugin_android_lifecycle 2.0.7 (2.0.9 available)
  flutter_riverpod 2.2.0 (2.3.2 available)
  flutter_svg 2.0.1 (2.0.4 available)
  html 0.15.1 (0.15.2 available)
  image 3.3.0 (4.0.15 available)
  image_picker 0.8.6+2 (0.8.7 available)
  image_picker_android 0.8.5+6 (0.8.6+6 available)
  image_picker_for_web 2.1.10 (2.1.12 available)
  image_picker_ios 0.8.6+8 (0.8.7+1 available)
  image_picker_platform_interface 2.6.2 (2.6.3 available)
  intl 0.17.0 (0.18.0 available)
  js 0.6.5 (0.6.7 available)
  just_audio 0.9.31 (0.9.32 available)
  lottie 2.2.0 (2.3.0 available)
  matcher 0.12.13 (0.12.15 available)
  material_color_utilities 0.2.0 (0.3.0 available)
  meta 1.8.0 (1.9.1 available)
  path 1.8.2 (1.8.3 available)
  path_provider 2.0.13 (2.0.14 available)
  path_provider_android 2.0.22 (2.0.24 available)
  path_provider_foundation 2.1.1 (2.2.0 available)
  path_provider_linux 2.1.8 (2.1.10 available)
  path_provider_platform_interface 2.0.5 (2.0.6 available)
  path_provider_windows 2.1.3 (2.1.5 available)
  petitparser 5.1.0 (5.3.0 available)
  plugin_platform_interface 2.1.3 (2.1.4 available)
  pointycastle 3.6.2 (3.7.2 available)
  pretty_dio_logger 1.2.0-beta-1 (1.3.1 available)
  riverpod 2.2.0 (2.3.2 available)
  rxdart 0.26.0 (0.27.7 available)
  shared_preferences 2.0.17 (2.0.20 available)
  shared_preferences_android 2.0.15 (2.0.17 available)
  shared_preferences_foundation 2.1.3 (2.1.5 available)
  shared_preferences_linux 2.1.3 (2.1.5 available)
  shared_preferences_platform_interface 2.1.0 (2.1.1 available)
  shared_preferences_web 2.0.4 (2.0.6 available)
  shared_preferences_windows 2.1.3 (2.1.5 available)
  sqflite 2.2.4+1 (2.2.6 available)
  sqflite_common 2.4.2+2 (2.4.3 available)
  test_api 0.4.16 (0.5.0 available)
  universal_html 2.0.9 (2.2.1 available)
  url_launcher 6.1.9 (6.1.10 available)
  url_launcher_android 6.0.23 (6.0.26 available)
  url_launcher_ios 6.1.0 (6.1.3 available)
  url_launcher_linux 3.0.2 (3.0.4 available)
  url_launcher_macos 3.0.2 (3.0.4 available)
  url_launcher_platform_interface 2.1.1 (2.1.2 available)
  url_launcher_web 2.0.14 (2.0.16 available)
  url_launcher_windows 3.0.3 (3.0.5 available)
  vdocipher_flutter 2.1.1 (2.2.1 available)
  vector_graphics 1.0.1 (1.1.4 available)
  vector_graphics_codec 1.0.1 (1.1.4 available)
  vector_graphics_compiler 1.0.1 (1.1.4 available)
  video_player 2.5.1 (2.6.0 available)
  video_player_android 2.3.10 (2.4.2 available)
  video_player_avfoundation 2.3.8 (2.4.2 available)
  video_player_platform_interface 6.0.1 (6.1.0 available)
  video_player_web 2.0.13 (2.0.15 available)
  webview_flutter 4.0.6 (4.0.7 available)
  webview_flutter_android 3.3.0 (3.4.3 available)
  webview_flutter_platform_interface 2.0.1 (2.1.0 available)
  webview_flutter_wkwebview 3.1.0 (3.2.2 available)
  win32 3.1.3 (4.1.1 available)
Got dependencies!
mahmoudrashad@Mahmoud-MacBook-Pro sonomaster_frontend % flutter pub run flutter_zoom_sdk:unzip_zoom_sdk
Download https://www.dropbox.com/s/a5vfh2m543t15k8/MobileRTC?dl=1 to /Users/mahmoudrashad/.pub-cache/hosted/pub.dev/flutter_zoom_sdk-1.1.0+4/ios/MobileRTC.xcframework/ios-arm64_armv7/MobileRTC.framework/MobileRTC
Download https://www.dropbox.com/s/alk03qxiolurxf8/MobileRTC?dl=1 to /Users/mahmoudrashad/.pub-cache/hosted/pub.dev/flutter_zoom_sdk-1.1.0+4/ios/MobileRTC.xcframework/ios-i386_x86_64-simulator/MobileRTC.framework/MobileRTC
Download https://www.dropbox.com/s/i5fww50elzrphra/commonlib.aar?dl=1 to /Users/mahmoudrashad/.pub-cache/hosted/pub.dev/flutter_zoom_sdk-1.1.0+4/android/libs/commonlib.aar
Download https://www.dropbox.com/s/ahh06pva216szc1/mobilertc.aar?dl=1 to /Users/mahmoudrashad/.pub-cache/hosted/pub.dev/flutter_zoom_sdk-1.1.0+4/android/libs/mobilertc.aar
Complete

Running "flutter pub get" in sonomaster_frontend...
Resolving dependencies...
  _flutterfire_internals 1.0.14 (1.0.18 available)
  async 2.10.0 (2.11.0 available)
  characters 1.2.1 (1.3.0 available)
  cli_util 0.3.5 (0.4.0 available)
  collection 1.17.0 (1.17.1 available)
  country_picker 2.0.19 (2.0.20 available)
  dio 4.0.6 (5.0.3 available)
  file_picker 5.2.5 (5.2.6 available)
  firebase_core 2.6.0 (2.8.0 available)
  firebase_core_web 2.2.1 (2.2.2 available)
  firebase_crashlytics 3.0.13 (3.0.17 available)
  firebase_crashlytics_platform_interface 3.3.13 (3.3.17 available)
  firebase_messaging 14.2.3 (14.3.0 available)
  firebase_messaging_platform_interface 4.2.12 (4.2.16 available)
  firebase_messaging_web 3.2.13 (3.2.17 available)
  firebase_remote_config 3.0.11 (3.0.15 available)
  firebase_remote_config_platform_interface 1.1.31 (1.1.35 available)
  firebase_remote_config_web 1.1.20 (1.1.24 available)
  flutter_launcher_icons 0.11.0 (0.12.0 available)
  flutter_pdfview 1.2.5 (1.2.9 available)
  flutter_plugin_android_lifecycle 2.0.7 (2.0.9 available)
  flutter_riverpod 2.2.0 (2.3.2 available)
  flutter_svg 2.0.1 (2.0.4 available)
  html 0.15.1 (0.15.2 available)
  image 3.3.0 (4.0.15 available)
  image_picker 0.8.6+2 (0.8.7 available)
  image_picker_android 0.8.5+6 (0.8.6+6 available)
  image_picker_for_web 2.1.10 (2.1.12 available)
  image_picker_ios 0.8.6+8 (0.8.7+1 available)
  image_picker_platform_interface 2.6.2 (2.6.3 available)
  intl 0.17.0 (0.18.0 available)
  js 0.6.5 (0.6.7 available)
  just_audio 0.9.31 (0.9.32 available)
  lottie 2.2.0 (2.3.0 available)
  matcher 0.12.13 (0.12.15 available)
  material_color_utilities 0.2.0 (0.3.0 available)
  meta 1.8.0 (1.9.1 available)
  path 1.8.2 (1.8.3 available)
  path_provider 2.0.13 (2.0.14 available)
  path_provider_android 2.0.22 (2.0.24 available)
  path_provider_foundation 2.1.1 (2.2.0 available)
  path_provider_linux 2.1.8 (2.1.10 available)
  path_provider_platform_interface 2.0.5 (2.0.6 available)
  path_provider_windows 2.1.3 (2.1.5 available)
  petitparser 5.1.0 (5.3.0 available)
  plugin_platform_interface 2.1.3 (2.1.4 available)
  pointycastle 3.6.2 (3.7.2 available)
  pretty_dio_logger 1.2.0-beta-1 (1.3.1 available)
  riverpod 2.2.0 (2.3.2 available)
  rxdart 0.26.0 (0.27.7 available)
  shared_preferences 2.0.17 (2.0.20 available)
  shared_preferences_android 2.0.15 (2.0.17 available)
  shared_preferences_foundation 2.1.3 (2.1.5 available)
  shared_preferences_linux 2.1.3 (2.1.5 available)
  shared_preferences_platform_interface 2.1.0 (2.1.1 available)
  shared_preferences_web 2.0.4 (2.0.6 available)
  shared_preferences_windows 2.1.3 (2.1.5 available)
  sqflite 2.2.4+1 (2.2.6 available)
  sqflite_common 2.4.2+2 (2.4.3 available)
  test_api 0.4.16 (0.5.0 available)
  universal_html 2.0.9 (2.2.1 available)
  url_launcher 6.1.9 (6.1.10 available)
  url_launcher_android 6.0.23 (6.0.26 available)
  url_launcher_ios 6.1.0 (6.1.3 available)
  url_launcher_linux 3.0.2 (3.0.4 available)
  url_launcher_macos 3.0.2 (3.0.4 available)
  url_launcher_platform_interface 2.1.1 (2.1.2 available)
  url_launcher_web 2.0.14 (2.0.16 available)
  url_launcher_windows 3.0.3 (3.0.5 available)
  vector_graphics 1.0.1 (1.1.4 available)
  vector_graphics_codec 1.0.1 (1.1.4 available)
  vector_graphics_compiler 1.0.1 (1.1.4 available)
  video_player 2.5.1 (2.6.0 available)
  video_player_android 2.3.10 (2.4.2 available)
  video_player_avfoundation 2.3.8 (2.4.2 available)
  video_player_platform_interface 6.0.1 (6.1.0 available)
  video_player_web 2.0.13 (2.0.15 available)
  webview_flutter 4.0.6 (4.0.7 available)
  webview_flutter_android 3.3.0 (3.4.3 available)
  webview_flutter_platform_interface 2.0.1 (2.1.0 available)
  webview_flutter_wkwebview 3.1.0 (3.2.2 available)
  win32 3.1.3 (4.1.1 available)
Got dependencies!
Launching lib/main.dart on sdk gphone64 arm64 in debug mode...
Running Gradle task 'assembleDebug'...
Note: /Users/mahmoudrashad/.pub-cache/hosted/pub.dev/device_info-2.0.3/android/src/main/java/io/flutter/plugins/deviceinfo/DeviceInfoPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/mahmoudrashad/.pub-cache/hosted/pub.dev/firebase_messaging-14.2.3/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
   > Android resource linking failed
     ERROR:/Users/mahmoudrashad/.gradle/caches/transforms-3/6dbf7e2d9641f3f43afb2ac867bf872d/transformed/jetified-mobilertc/res/layout/activity_media_player.xml:7: AAPT: error: attribute fastforward_increment (aka com.qeematech.sonomaster:fastforward_increment) not found.

     ERROR:/Users/mahmoudrashad/.gradle/caches/transforms-3/6dbf7e2d9641f3f43afb2ac867bf872d/transformed/jetified-mobilertc/res/layout/activity_media_player.xml:7: AAPT: error: attribute rewind_increment (aka com.qeematech.sonomaster:rewind_increment) not found.

     ERROR:/Users/mahmoudrashad/.gradle/caches/transforms-3/6dbf7e2d9641f3f43afb2ac867bf872d/transformed/jetified-mobilertc/res/layout/zm_content_file_video_viewer.xml:8: AAPT: error: attribute fastforward_increment (aka com.qeematech.sonomaster:fastforward_increment) not found.

     ERROR:/Users/mahmoudrashad/.gradle/caches/transforms-3/6dbf7e2d9641f3f43afb2ac867bf872d/transformed/jetified-mobilertc/res/layout/zm_content_file_video_viewer.xml:8: AAPT: error: attribute rewind_increment (aka com.qeematech.sonomaster:rewind_increment) not found.


* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 42s
Exception: Gradle task assembleDebug failed with exit code 1

@kareemabdelaziz.sabr

Are you creating a project in Zoom Meeting SDK or Zoom Video SDK?
Currently flutter is supported only on Zoom Video SDK

1 Like

When is the meeting sdk supported ?

Ok i created meeting sdk but in all our issue not in app our problem in build the app it self as you see from logs some files not found and it not axpected it should do as the sample app

@kareemabdelaziz.sabr

Flutter is not supported on Meeting SDK right now

1 Like