Closed lravihs closed 11 months ago
@jBorkowska I'm seeing this as well - happy to help debug
@rishabnayak can you please help me with it
me too
@Origogi Hi I have resolved this issue by changing the JAVA version java version "11.0.18" 2023-01-17 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.18+9-LTS-195) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.18+9-LTS-195, mixed mode).
It's worked for me
@lravihs
wow ~
it work!!!
thx~~~
This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue.
Steps to reproduce
Do the setup which is mentioned in the patrol website. Then run with the patrol test command My project uses kotlin_version 1.7.10 , gradle distribution 7.2.0. , Jdk 11
Actual results
Building apk with entrypoint test_bundle.dart... warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /Users/lallu/.pub-cache/hosted/pub.dev/firebase_messaging-14.7.2/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingPlugin.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. Note: /Users/lallu/.pub-cache/hosted/pub.dev/geolocator_android-4.1.7/android/src/main/java/com/baseflow/geolocator/location/FusedLocationClient.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. Note: /Users/lallu/.pub-cache/hosted/pub.dev/location-4.4.0/android/src/main/java/com/lyokone/location/FlutterLocation.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 3 warnings warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 warnings ERROR:/Users/lallu/Documents/GitHub/Next-Gen-App/build/firebase_messaging/intermediates/runtime_library_classes_dir/debug/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingBackgroundExecutor$2.class: D8: java.lang.NullPointerException: Cannot invoke "String.length()" because "" is null
ERROR:/Users/lallu/Documents/GitHub/Next-Gen-App/build/firebase_core/intermediates/runtime_library_classes_dir/debug/io/flutter/plugins/firebase/core/GeneratedAndroidFirebaseCore$FirebaseCoreHostApi$3.class: D8: java.lang.NullPointerException: Cannot invoke "String.length()" because "" is null
ERROR:/Users/lallu/Documents/GitHub/Next-Gen-App/build/firebase_analytics/intermediates/runtime_library_classes_dir/debug/io/flutter/plugins/firebase/analytics/FlutterFirebaseAnalyticsPlugin$1.class: D8: java.lang.NullPointerException: Cannot invoke "String.length()" because "" is null
ERROR:/Users/lallu/Documents/GitHub/Next-Gen-App/build/geolocator_android/intermediates/runtime_library_classes_dir/debug/com/baseflow/geolocator/GeolocatorLocationService$LocalBinder.class: D8: java.lang.NullPointerException: Cannot invoke "String.length()" because "" is null
ERROR:/Users/lallu/Documents/GitHub/Next-Gen-App/build/flutter_local_notifications/intermediates/runtime_library_classes_dir/debug/com/dexterous/flutterlocalnotifications/RuntimeTypeAdapterFactory$1.class: D8: java.lang.NullPointerException: Cannot invoke "String.length()" because "" is null
ERROR:/Users/lallu/Documents/GitHub/Next-Gen-App/build/image_picker_android/intermediates/runtime_library_classes_dir/debug/io/flutter/plugins/imagepicker/Messages$SourceCamera.class: D8: java.lang.NullPointerException: Cannot invoke "String.length()" because "" is null
ERROR:/Users/lallu/Documents/GitHub/Next-Gen-App/build/google_maps_flutter_android/intermediates/runtime_library_classes_dir/debug/io/flutter/plugins/googlemaps/TileProviderController$Worker.class: D8: java.lang.NullPointerException: Cannot invoke "String.length()" because "" is null
ERROR:/Users/lallu/Documents/GitHub/Next-Gen-App/build/local_auth_android/intermediates/runtime_library_classes_dir/debug/io/flutter/plugins/localauth/Messages$LocalAuthApi$1.class: D8: java.lang.NullPointerException: Cannot invoke "String.length()" because "" is null
ERROR:/Users/lallu/Documents/GitHub/Next-Gen-App/build/camera_android/intermediates/runtime_library_classes_dir/debug/io/flutter/plugins/camera/DartMessenger$3.class: D8: java.lang.NullPointerException: Cannot invoke "String.length()" because "" is null
ERROR:/Users/lallu/Documents/GitHub/Next-Gen-App/build/url_launcher_android/intermediates/runtime_library_classes_dir/debug/io/flutter/plugins/urllauncher/WebViewActivity$1.class: D8: java.lang.NullPointerException: Cannot invoke "String.length()" because "" is null
ERROR:/Users/lallu/Documents/GitHub/Next-Gen-App/build/connectivity_plus/intermediates/runtime_library_classes_dir/debug/dev/fluttercommunity/plus/connectivity/ConnectivityBroadcastReceiver$1.class: D8: java.lang.NullPointerException: Cannot invoke "String.length()" because "" is null
ERROR:/Users/lallu/Documents/GitHub/Next-Gen-App/build/webview_flutter_android/intermediates/runtime_library_classes_dir/debug/io/flutter/plugins/webviewflutter/GeneratedAndroidWebView$CookieManagerHostApi$1.class: D8: java.lang.NullPointerException: Cannot invoke "String.length()" because "" is null
ERROR:/Users/lallu/Documents/GitHub/Next-Gen-App/build/location/intermediates/runtime_library_classes_dir/debug/com/lyokone/location/LocationPlugin$1.class: D8: java.lang.NullPointerException: Cannot invoke "String.length()" because "" is null
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings
✗ Failed to build apk with entrypoint test_bundle.dart (Gradle build failed with code 1) (42.3s) Exception: Gradle build failed with code 1 See the logs above to learn what happened. Also consider running with --verbose. If the logs still aren't useful, then it's a bug - please report it. Exception: Gradle build failed with code 1
0 AndroidTestBackend.build. (package:patrol_cli/src/android/android_test_backend.dart:67:9)