pauldemarco / flutter_blue

Bluetooth plugin for Flutter
BSD 3-Clause "New" or "Revised" License
2.37k stars 1.23k forks source link

Error: flutter_blue:compileDebugJavaWithJavac'. #346

Open anjrew opened 5 years ago

anjrew commented 5 years ago

Problem

When trying to compile the app on Android devices An error its thrown: Execution failed for task ':flutter_blue:compileDebugJavaWithJavac

Things I have tried

LOGS

` /Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.4.2/android/src/main/java/com/pauldemarco/flutterblue/FlutterBluePlugin.java:30: error: cannot find symbol import android.support.v4.app.ActivityCompat; ^ symbol: class ActivityCompat location: package android.support.v4.app /Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.4.2/android/src/main/java/com/pauldemarco/flutterblue/FlutterBluePlugin.java:31: error: package android.support.v4.content does not exist import android.support.v4.content.ContextCompat; ^ /Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.4.2/android/src/main/java/com/pauldemarco/flutterblue/FlutterBluePlugin.java:162: error: cannot find symbol if (ContextCompat.checkSelfPermission(registrar.activity(), Manifest.permission.ACCESS_COARSE_LOCATION) ^ symbol: variable ContextCompat location: class FlutterBluePlugin /Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.4.2/android/src/main/java/com/pauldemarco/flutterblue/FlutterBluePlugin.java:164: error: cannot find symbol ActivityCompat.requestPermissions( ^ symbol: variable ActivityCompat location: class FlutterBluePlugin Note: /Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.4.2/android/src/main/java/com/pauldemarco/flutterblue/FlutterBluePlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /Users/earyzhe/dev/FlutterProjects/battery_saver/build/flutter_blue/generated/source/proto/debug/javalite/com/pauldemarco/flutterblue/Protos.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 errors

FAILURE: Build failed with an exception.

BUILD FAILED in 8s


The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app. See https://goo.gl/CP92wY for more information on the problem and how to fix it.


Gradle task assembleDebug failed with exit code 1`

VERBOSE

` [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/src/combined_wrappers/combined_list.da rt [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/src/combined_wrappers/combined_map.dar t [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/src/comparators.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/src/equality.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/src/equality_map.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/src/equality_set.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/src/functions.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/src/iterable_zip.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/src/priority_queue.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/src/queue_list.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/src/union_set.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/src/union_set_controller.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/src/unmodifiable_wrappers.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/src/wrappers.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1/lib/src/accumulator_sink.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1/lib/src/byte_accumulator_sink.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1/lib/src/hex.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1/lib/src/identity_codec.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1/lib/src/percent.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1/lib/src/string_accumulator_sink.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/protobuf.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.4.2/lib/gen/flutterblue.pbenum.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_flutter-1.5.5/lib/asset_bundle_cache.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_flutter-1.5.5/lib/cache.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_flutter-1.5.5/lib/cache_asset.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/block_types.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/actor_bone.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/actor_distance_constraint.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/actor_event.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/actor_node_solo.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/actor_root_bone.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/actor_jelly_bone.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/actor_scale_constraint.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/actor_skin.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/actor_transform_constraint.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/actor_translation_constraint.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/jelly_component.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/actor_ik_constraint.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/actor_rotation_constraint.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/dependency_sorter.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/block_reader.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/json_block_reader.dart [ +6 ms] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/actor_constraint.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/actor_skinnable.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/animation/keyframe.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/animation/property_types.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/src/utils.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/src/empty_unmodifiable_set.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.1.6/lib/typed_data.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1/lib/src/hex/encoder.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1/lib/src/hex/decoder.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1/lib/src/percent/encoder.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1/lib/src/percent/decoder.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/fixnum-0.10.9/lib/fixnum.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/coded_buffer.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/coded_buffer_reader.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/coded_buffer_writer.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/builder_info.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/event_plugin.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/exceptions.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/extension.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/extension_field_set.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/extension_registry.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/field_error.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/field_info.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/field_set.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/field_type.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/generated_message.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/generated_service.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/json.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/pb_list.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/pb_map.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/protobuf_enum.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/readonly_message.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/rpc_client.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/unknown_field_set.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/utils.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/unpack.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/protobuf-0.10.8/lib/src/protobuf/wire_format.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/actor_bone_base.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/actor_targeted_constraint.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/actor_axis_constraint.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/transform_space.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/binary_reader.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/json_reader.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/animation/interpolation/cubic.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/animation/interpolation/hold.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/animation/interpolation/interpolator.dar t [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/animation/interpolation/linear.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.1.2/lib/ascii.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1/lib/src/utils.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/fixnum-0.10.9/lib/src/intx.dart [ +6 ms] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/fixnum-0.10.9/lib/src/int32.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/fixnum-0.10.9/lib/src/int64.dart [ ] [ ] -> +file:///Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flare_dart-1.4.4/lib/animation/interpolation/cubic_ease.dart [ ] [ ] -> 21fceca6-11c4-4ea0-b1d1-5a7517c500b6 build/app.dill 0 [ +50 ms] [ +411 ms] Building bundle [ ] [ ] Writing asset files to /Users/earyzhe/dev/FlutterProjects/battery_saver/build/app/intermediates/flutter/debug/android-arm/flutter_assets [ +99 ms] [ +88 ms] Wrote /Users/earyzhe/dev/FlutterProjects/battery_saver/build/app/intermediates/flutter/debug/android-arm/flutter_assets [ ] [ +9 ms] "flutter bundle" took 5,221ms. [ ] [ ] "flutter bundle" took 5,221ms. [ +99 ms] > Transform vectordrawable.aar (androidx.vectordrawable:vectordrawable:1.0.0-rc01) with ExtractAarTransform [ ] > Transform vectordrawable-animated.aar (androidx.vectordrawable:vectordrawable-animated:1.0.0-rc01) with AarTransform [ ] > Transform vectordrawable-animated.aar (androidx.vectordrawable:vectordrawable-animated:1.0.0-rc01) with AarTransform [ ] > Transform vectordrawable.aar (androidx.vectordrawable:vectordrawable:1.0.0-rc01) with AarTransform [ ] > Transform vectordrawable.aar (androidx.vectordrawable:vectordrawable:1.0.0-rc01) with AarTransform [ ] > Task :app:packLibsflutterBuildDebug UP-TO-DATE [ ] > Transform lifecycle-viewmodel.aar (androidx.lifecycle:lifecycle-viewmodel:2.0.0-rc01) with AarTransform [ ] > Transform core-runtime.aar (androidx.arch.core:core-runtime:2.0.0-rc01) with AarTransform [ ] > Transform lifecycle-livedata-core.aar (androidx.lifecycle:lifecycle-livedata-core:2.0.0-rc01) with AarTransform [ ] > Transform lifecycle-runtime.aar (androidx.lifecycle:lifecycle-runtime:2.0.0-rc01) with AarTransform [ ] > Transform print.aar (androidx.print:print:1.0.0-rc01) with AarTransform [ ] > Transform interpolator.aar (androidx.interpolator:interpolator:1.0.0-rc01) with AarTransform [ ] > Transform localbroadcastmanager.aar (androidx.localbroadcastmanager:localbroadcastmanager:1.0.0-rc01) with AarTransform [ ] > Transform documentfile.aar (androidx.documentfile:documentfile:1.0.0-rc01) with AarTransform [ ] > Transform cursoradapter.aar (androidx.cursoradapter:cursoradapter:1.0.0-rc01) with AarTransform [ ] > Transform versionedparcelable.aar (androidx.versionedparcelable:versionedparcelable:1.0.0-rc01) with AarTransform [ ] > Transform multidex.aar (androidx.multidex:multidex:2.0.0) with AarTransform [ ] > Transform core.aar (androidx.core:core:1.0.0-rc01) with AarTransform [ +98 ms] > Transform swiperefreshlayout.aar (androidx.swiperefreshlayout:swiperefreshlayout:1.0.0-rc01) with AarTransform [ ] > Transform customview.aar (androidx.customview:customview:1.0.0-rc01) with AarTransform [ ] > Transform asynclayoutinflater.aar (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0-rc01) with AarTransform [ ] > Transform drawerlayout.aar (androidx.drawerlayout:drawerlayout:1.0.0-rc01) with AarTransform [ ] > Transform slidingpanelayout.aar (androidx.slidingpanelayout:slidingpanelayout:1.0.0-rc01) with AarTransform [ ] > Transform viewpager.aar (androidx.viewpager:viewpager:1.0.0-rc01) with AarTransform [ ] > Transform coordinatorlayout.aar (androidx.coordinatorlayout:coordinatorlayout:1.0.0-rc01) with AarTransform [ ] > Transform loader.aar (androidx.loader:loader:1.0.0-rc01) with AarTransform [ ] > Transform vectordrawable.aar (androidx.vectordrawable:vectordrawable:1.0.0-rc01) with AarTransform [ ] > Transform legacy-support-core-utils.aar (androidx.legacy:legacy-support-core-utils:1.0.0-rc01) with AarTransform [ ] > Transform legacy-support-core-ui.aar (androidx.legacy:legacy-support-core-ui:1.0.0-rc01) with AarTransform [ ] > Transform vectordrawable-animated.aar (androidx.vectordrawable:vectordrawable-animated:1.0.0-rc01) with AarTransform [ ] > Transform fragment.aar (androidx.fragment:fragment:1.0.0-rc01) with AarTransform [ ] > Transform appcompat.aar (androidx.appcompat:appcompat:1.0.0-rc01) with AarTransform [ ] > Transform lifecycle-viewmodel.aar (androidx.lifecycle:lifecycle-viewmodel:2.0.0-rc01) with AarTransform [ ] > Transform core-runtime.aar (androidx.arch.core:core-runtime:2.0.0-rc01) with AarTransform [ ] > Transform lifecycle-runtime.aar (androidx.lifecycle:lifecycle-runtime:2.0.0-rc01) with AarTransform [ ] > Transform lifecycle-livedata-core.aar (androidx.lifecycle:lifecycle-livedata-core:2.0.0-rc01) with AarTransform [ ] > Transform interpolator.aar (androidx.interpolator:interpolator:1.0.0-rc01) with AarTransform [ ] > Transform print.aar (androidx.print:print:1.0.0-rc01) with AarTransform [ ] > Transform localbroadcastmanager.aar (androidx.localbroadcastmanager:localbroadcastmanager:1.0.0-rc01) with AarTransform [ ] > Transform documentfile.aar (androidx.documentfile:documentfile:1.0.0-rc01) with AarTransform [ ] > Transform cursoradapter.aar (androidx.cursoradapter:cursoradapter:1.0.0-rc01) with AarTransform [ ] > Transform versionedparcelable.aar (androidx.versionedparcelable:versionedparcelable:1.0.0-rc01) with AarTransform [ ] > Transform multidex.aar (androidx.multidex:multidex:2.0.0) with AarTransform [ ] > Transform asynclayoutinflater.aar (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0-rc01) with AarTransform [ +14 ms] > Transform core.aar (androidx.core:core:1.0.0-rc01) with AarTransform [ ] > Transform swiperefreshlayout.aar (androidx.swiperefreshlayout:swiperefreshlayout:1.0.0-rc01) with AarTransform [ ] > Transform customview.aar (androidx.customview:customview:1.0.0-rc01) with AarTransform [ ] > Transform slidingpanelayout.aar (androidx.slidingpanelayout:slidingpanelayout:1.0.0-rc01) with AarTransform [ ] > Transform drawerlayout.aar (androidx.drawerlayout:drawerlayout:1.0.0-rc01) with AarTransform [ ] > Transform viewpager.aar (androidx.viewpager:viewpager:1.0.0-rc01) with AarTransform [ ] > Transform vectordrawable.aar (androidx.vectordrawable:vectordrawable:1.0.0-rc01) with AarTransform [ ] > Transform coordinatorlayout.aar (androidx.coordinatorlayout:coordinatorlayout:1.0.0-rc01) with AarTransform [ ] > Transform loader.aar (androidx.loader:loader:1.0.0-rc01) with AarTransform [ ] > Transform legacy-support-core-utils.aar (androidx.legacy:legacy-support-core-utils:1.0.0-rc01) with AarTransform [ ] > Transform legacy-support-core-ui.aar (androidx.legacy:legacy-support-core-ui:1.0.0-rc01) with AarTransform [ ] > Transform vectordrawable-animated.aar (androidx.vectordrawable:vectordrawable-animated:1.0.0-rc01) with AarTransform [ ] > Transform fragment.aar (androidx.fragment:fragment:1.0.0-rc01) with AarTransform [ ] > Transform appcompat.aar (androidx.appcompat:appcompat:1.0.0-rc01) with AarTransform [ ] > Task :app:preBuild UP-TO-DATE [ ] > Task :battery:preBuild UP-TO-DATE [ ] > Task :battery:preDebugBuild UP-TO-DATE [ ] > Transform protobuf-lite.jar (com.google.protobuf:protobuf-lite:3.0.1) with JetifyTransform [ ] > Task :battery:checkDebugManifest UP-TO-DATE [ ] > Transform protobuf-lite.jar (com.google.protobuf:protobuf-lite:3.0.1) with IdentityTransform [ ] > Task :battery:processDebugManifest UP-TO-DATE [ ] > Task :app:checkDebugClasspath [ ] > Task :flutter_blue:preBuild UP-TO-DATE [ ] > Task :flutter_blue:preDebugBuild UP-TO-DATE [ ] > Task :flutter_blue:checkDebugManifest UP-TO-DATE [ ] > Task :flutter_blue:processDebugManifest UP-TO-DATE [ ] > Task :shared_preferences:preBuild UP-TO-DATE [ ] > Task :shared_preferences:preDebugBuild UP-TO-DATE [ ] > Task :shared_preferences:checkDebugManifest UP-TO-DATE [ ] > Task :shared_preferences:processDebugManifest UP-TO-DATE [ ] > Task :app:preDebugBuild [ ] > Task :battery:compileDebugAidl NO-SOURCE [ ] > Task :flutter_blue:compileDebugAidl NO-SOURCE [ ] > Task :shared_preferences:compileDebugAidl NO-SOURCE [ ] > Task :app:compileDebugAidl NO-SOURCE [ ] > Transform lifecycle-viewmodel.aar (androidx.lifecycle:lifecycle-viewmodel:2.0.0-rc01) with AarTransform [ ] > Transform core-runtime.aar (androidx.arch.core:core-runtime:2.0.0-rc01) with AarTransform [ ] > Transform lifecycle-livedata-core.aar (androidx.lifecycle:lifecycle-livedata-core:2.0.0-rc01) with AarTransform [ ] > Transform lifecycle-runtime.aar (androidx.lifecycle:lifecycle-runtime:2.0.0-rc01) with AarTransform [ ] > Transform interpolator.aar (androidx.interpolator:interpolator:1.0.0-rc01) with AarTransform [ ] > Transform print.aar (androidx.print:print:1.0.0-rc01) with AarTransform [ ] > Transform documentfile.aar (androidx.documentfile:documentfile:1.0.0-rc01) with AarTransform [ ] > Transform localbroadcastmanager.aar (androidx.localbroadcastmanager:localbroadcastmanager:1.0.0-rc01) with AarTransform [ ] > Transform cursoradapter.aar (androidx.cursoradapter:cursoradapter:1.0.0-rc01) with AarTransform [ ] > Transform versionedparcelable.aar (androidx.versionedparcelable:versionedparcelable:1.0.0-rc01) with AarTransform [ ] > Transform multidex.aar (androidx.multidex:multidex:2.0.0) with AarTransform [ ] > Transform core.aar (androidx.core:core:1.0.0-rc01) with AarTransform [ ] > Transform asynclayoutinflater.aar (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0-rc01) with AarTransform [ ] > Transform swiperefreshlayout.aar (androidx.swiperefreshlayout:swiperefreshlayout:1.0.0-rc01) with AarTransform [ ] > Transform customview.aar (androidx.customview:customview:1.0.0-rc01) with AarTransform [ ] > Transform slidingpanelayout.aar (androidx.slidingpanelayout:slidingpanelayout:1.0.0-rc01) with AarTransform [ ] > Transform drawerlayout.aar (androidx.drawerlayout:drawerlayout:1.0.0-rc01) with AarTransform [ ] > Transform coordinatorlayout.aar (androidx.coordinatorlayout:coordinatorlayout:1.0.0-rc01) with AarTransform [ ] > Transform viewpager.aar (androidx.viewpager:viewpager:1.0.0-rc01) with AarTransform [ ] > Transform loader.aar (androidx.loader:loader:1.0.0-rc01) with AarTransform [ ] > Transform vectordrawable.aar (androidx.vectordrawable:vectordrawable:1.0.0-rc01) with AarTransform [ ] > Transform legacy-support-core-ui.aar (androidx.legacy:legacy-support-core-ui:1.0.0-rc01) with AarTransform [ ] > Transform legacy-support-core-utils.aar (androidx.legacy:legacy-support-core-utils:1.0.0-rc01) with AarTransform [ ] > Transform vectordrawable-animated.aar (androidx.vectordrawable:vectordrawable-animated:1.0.0-rc01) with AarTransform [ ] > Transform fragment.aar (androidx.fragment:fragment:1.0.0-rc01) with AarTransform [ ] > Transform appcompat.aar (androidx.appcompat:appcompat:1.0.0-rc01) with AarTransform [ ] > Task :battery:packageDebugRenderscript NO-SOURCE [ ] > Task :flutter_blue:packageDebugRenderscript NO-SOURCE [ ] > Task :shared_preferences:packageDebugRenderscript NO-SOURCE [ ] > Task :app:compileDebugRenderscript [ ] > Task :app:checkDebugManifest UP-TO-DATE [ ] > Task :app:generateDebugBuildConfig UP-TO-DATE [ ] > Task :app:prepareLintJar UP-TO-DATE [ ] > Transform lifecycle-viewmodel.aar (androidx.lifecycle:lifecycle-viewmodel:2.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform lifecycle-livedata-core.aar (androidx.lifecycle:lifecycle-livedata-core:2.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform core-runtime.aar (androidx.arch.core:core-runtime:2.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform lifecycle-runtime.aar (androidx.lifecycle:lifecycle-runtime:2.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform interpolator.aar (androidx.interpolator:interpolator:1.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform localbroadcastmanager.aar (androidx.localbroadcastmanager:localbroadcastmanager:1.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform print.aar (androidx.print:print:1.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform documentfile.aar (androidx.documentfile:documentfile:1.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform cursoradapter.aar (androidx.cursoradapter:cursoradapter:1.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform multidex.aar (androidx.multidex:multidex:2.0.0) with LibrarySymbolTableTransform [ ] > Transform versionedparcelable.aar (androidx.versionedparcelable:versionedparcelable:1.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform core.aar (androidx.core:core:1.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform asynclayoutinflater.aar (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform swiperefreshlayout.aar (androidx.swiperefreshlayout:swiperefreshlayout:1.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform customview.aar (androidx.customview:customview:1.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform slidingpanelayout.aar (androidx.slidingpanelayout:slidingpanelayout:1.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform drawerlayout.aar (androidx.drawerlayout:drawerlayout:1.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform coordinatorlayout.aar (androidx.coordinatorlayout:coordinatorlayout:1.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform loader.aar (androidx.loader:loader:1.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform viewpager.aar (androidx.viewpager:viewpager:1.0.0-rc01) with LibrarySymbolTableTransform [ +11 ms] > Transform vectordrawable.aar (androidx.vectordrawable:vectordrawable:1.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform legacy-support-core-utils.aar (androidx.legacy:legacy-support-core-utils:1.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform vectordrawable-animated.aar (androidx.vectordrawable:vectordrawable-animated:1.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform legacy-support-core-ui.aar (androidx.legacy:legacy-support-core-ui:1.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform fragment.aar (androidx.fragment:fragment:1.0.0-rc01) with LibrarySymbolTableTransform [ ] > Transform appcompat.aar (androidx.appcompat:appcompat:1.0.0-rc01) with LibrarySymbolTableTransform [ ] > Task :app:cleanMergeDebugAssets UP-TO-DATE [ ] > Transform aapt2-osx.jar (com.android.tools.build:aapt2:3.2.1-4818971) with Aapt2Extractor [ ] > Transform core-runtime.aar (androidx.arch.core:core-runtime:2.0.0-rc01) with AarTransform [ ] > Transform lifecycle-viewmodel.aar (androidx.lifecycle:lifecycle-viewmodel:2.0.0-rc01) with AarTransform [ ] > Transform lifecycle-runtime.aar (androidx.lifecycle:lifecycle-runtime:2.0.0-rc01) with AarTransform [ ] > Transform interpolator.aar (androidx.interpolator:interpolator:1.0.0-rc01) with AarTransform [ ] > Transform lifecycle-livedata-core.aar (androidx.lifecycle:lifecycle-livedata-core:2.0.0-rc01) with AarTransform [ ] > Transform localbroadcastmanager.aar (androidx.localbroadcastmanager:localbroadcastmanager:1.0.0-rc01) with AarTransform [ ] > Transform print.aar (androidx.print:print:1.0.0-rc01) with AarTransform [ ] > Transform documentfile.aar (androidx.documentfile:documentfile:1.0.0-rc01) with AarTransform [ ] > Transform cursoradapter.aar (androidx.cursoradapter:cursoradapter:1.0.0-rc01) with AarTransform [ ] > Transform versionedparcelable.aar (androidx.versionedparcelable:versionedparcelable:1.0.0-rc01) with AarTransform [ ] > Transform multidex.aar (androidx.multidex:multidex:2.0.0) with AarTransform [ ] > Transform core.aar (androidx.core:core:1.0.0-rc01) with AarTransform [ ] > Transform asynclayoutinflater.aar (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0-rc01) with AarTransform [ ] > Transform customview.aar (androidx.customview:customview:1.0.0-rc01) with AarTransform [ ] > Transform slidingpanelayout.aar (androidx.slidingpanelayout:slidingpanelayout:1.0.0-rc01) with AarTransform [ ] > Transform swiperefreshlayout.aar (androidx.swiperefreshlayout:swiperefreshlayout:1.0.0-rc01) with AarTransform [ ] > Transform coordinatorlayout.aar (androidx.coordinatorlayout:coordinatorlayout:1.0.0-rc01) with AarTransform [ ] > Transform drawerlayout.aar (androidx.drawerlayout:drawerlayout:1.0.0-rc01) with AarTransform [ ] > Transform loader.aar (androidx.loader:loader:1.0.0-rc01) with AarTransform [ ] > Transform viewpager.aar (androidx.viewpager:viewpager:1.0.0-rc01) with AarTransform [ ] > Transform vectordrawable.aar (androidx.vectordrawable:vectordrawable:1.0.0-rc01) with AarTransform [ ] > Transform legacy-support-core-utils.aar (androidx.legacy:legacy-support-core-utils:1.0.0-rc01) with AarTransform [ ] > Transform legacy-support-core-ui.aar (androidx.legacy:legacy-support-core-ui:1.0.0-rc01) with AarTransform [ ] > Transform vectordrawable-animated.aar (androidx.vectordrawable:vectordrawable-animated:1.0.0-rc01) with AarTransform [ ] > Transform fragment.aar (androidx.fragment:fragment:1.0.0-rc01) with AarTransform [ ] > Transform appcompat.aar (androidx.appcompat:appcompat:1.0.0-rc01) with AarTransform [ ] > Task :app:mergeDebugShaders UP-TO-DATE [ ] > Task :app:compileDebugShaders UP-TO-DATE [ ] > Task :app:generateDebugAssets UP-TO-DATE [ ] > Task :battery:mergeDebugShaders UP-TO-DATE [ ] > Task :battery:compileDebugShaders UP-TO-DATE [ ] > Task :battery:generateDebugAssets UP-TO-DATE [ ] > Task :battery:packageDebugAssets UP-TO-DATE [ ] > Task :flutter_blue:mergeDebugShaders UP-TO-DATE [ ] > Task :flutter_blue:compileDebugShaders UP-TO-DATE [ ] > Task :flutter_blue:generateDebugAssets UP-TO-DATE [ ] > Task :flutter_blue:packageDebugAssets UP-TO-DATE [ ] > Task :shared_preferences:mergeDebugShaders UP-TO-DATE [ ] > Task :shared_preferences:compileDebugShaders UP-TO-DATE [ ] > Task :shared_preferences:generateDebugAssets UP-TO-DATE [ ] > Task :shared_preferences:packageDebugAssets UP-TO-DATE [ ] > Task :app:mergeDebugAssets [ +155 ms] > Task :app:copyFlutterAssetsDebug [ ] > Task :app:mainApkListPersistenceDebug UP-TO-DATE [ ] > Transform lifecycle-viewmodel.aar (androidx.lifecycle:lifecycle-viewmodel:2.0.0-rc01) with AarTransform [ ] > Transform core-runtime.aar (androidx.arch.core:core-runtime:2.0.0-rc01) with AarTransform [ ] > Transform lifecycle-runtime.aar (androidx.lifecycle:lifecycle-runtime:2.0.0-rc01) with AarTransform [ ] > Transform lifecycle-livedata-core.aar (androidx.lifecycle:lifecycle-livedata-core:2.0.0-rc01) with AarTransform [ ] > Transform interpolator.aar (androidx.interpolator:interpolator:1.0.0-rc01) with AarTransform [ ] > Transform print.aar (androidx.print:print:1.0.0-rc01) with AarTransform [ ] > Transform localbroadcastmanager.aar (androidx.localbroadcastmanager:localbroadcastmanager:1.0.0-rc01) with AarTransform [ ] > Transform cursoradapter.aar (androidx.cursoradapter:cursoradapter:1.0.0-rc01) with AarTransform [ ] > Transform versionedparcelable.aar (androidx.versionedparcelable:versionedparcelable:1.0.0-rc01) with AarTransform [ ] > Transform documentfile.aar (androidx.documentfile:documentfile:1.0.0-rc01) with AarTransform [ ] > Transform multidex.aar (androidx.multidex:multidex:2.0.0) with AarTransform [ ] > Transform asynclayoutinflater.aar (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0-rc01) with AarTransform [ ] > Transform swiperefreshlayout.aar (androidx.swiperefreshlayout:swiperefreshlayout:1.0.0-rc01) with AarTransform [ ] > Transform core.aar (androidx.core:core:1.0.0-rc01) with AarTransform [ ] > Transform slidingpanelayout.aar (androidx.slidingpanelayout:slidingpanelayout:1.0.0-rc01) with AarTransform [ ] > Transform customview.aar (androidx.customview:customview:1.0.0-rc01) with AarTransform [ ] > Transform drawerlayout.aar (androidx.drawerlayout:drawerlayout:1.0.0-rc01) with AarTransform [ ] > Transform loader.aar (androidx.loader:loader:1.0.0-rc01) with AarTransform [ ] > Transform coordinatorlayout.aar (androidx.coordinatorlayout:coordinatorlayout:1.0.0-rc01) with AarTransform [ ] > Transform viewpager.aar (androidx.viewpager:viewpager:1.0.0-rc01) with AarTransform [ ] > Transform vectordrawable.aar (androidx.vectordrawable:vectordrawable:1.0.0-rc01) with AarTransform [ ] > Transform legacy-support-core-utils.aar (androidx.legacy:legacy-support-core-utils:1.0.0-rc01) with AarTransform [ ] > Transform vectordrawable-animated.aar (androidx.vectordrawable:vectordrawable-animated:1.0.0-rc01) with AarTransform [ ] > Transform fragment.aar (androidx.fragment:fragment:1.0.0-rc01) with AarTransform [ ] > Transform legacy-support-core-ui.aar (androidx.legacy:legacy-support-core-ui:1.0.0-rc01) with AarTransform [ ] > Transform appcompat.aar (androidx.appcompat:appcompat:1.0.0-rc01) with AarTransform [ ] > Task :app:generateDebugResValues UP-TO-DATE [ ] > Task :app:generateDebugResources [ ] > Task :battery:compileDebugRenderscript UP-TO-DATE [ ] > Task :battery:generateDebugResValues UP-TO-DATE [ ] > Task :battery:generateDebugResources UP-TO-DATE [ ] > Task :battery:packageDebugResources UP-TO-DATE [ ] > Task :flutter_blue:compileDebugRenderscript UP-TO-DATE [ ] > Task :flutter_blue:generateDebugResValues UP-TO-DATE [ +8 ms] > Task :flutter_blue:generateDebugResources UP-TO-DATE [ ] > Task :flutter_blue:packageDebugResources UP-TO-DATE [ ] > Task :shared_preferences:compileDebugRenderscript UP-TO-DATE [ ] > Task :shared_preferences:generateDebugResValues UP-TO-DATE [ ] > Task :shared_preferences:generateDebugResources UP-TO-DATE [ ] > Task :shared_preferences:packageDebugResources UP-TO-DATE [ +688 ms] > Task :app:mergeDebugResources [ ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE [ ] > Task :app:processDebugManifest [ ] > Task :app:splitsDiscoveryTaskDebug UP-TO-DATE [ ] > Task :battery:generateDebugRFile UP-TO-DATE [ ] > Task :flutter_blue:generateDebugRFile UP-TO-DATE [ ] > Task :shared_preferences:generateDebugRFile UP-TO-DATE [ +400 ms] > Task :app:processDebugResources [ ] > Task :app:generateDebugSources [ ] > Task :battery:generateDebugBuildConfig UP-TO-DATE [ ] > Task :battery:prepareLintJar UP-TO-DATE [ ] > Task :battery:generateDebugSources UP-TO-DATE [ ] > Task :battery:javaPreCompileDebug UP-TO-DATE [ ] > Task :battery:compileDebugJavaWithJavac UP-TO-DATE [ ] > Task :battery:processDebugJavaRes NO-SOURCE [ ] > Task :battery:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE [ ] > Task :flutter_blue:generateDebugBuildConfig UP-TO-DATE [ ] > Task :flutter_blue:extractDebugProto UP-TO-DATE [ ] > Transform lifecycle-runtime.aar (androidx.lifecycle:lifecycle-runtime:2.0.0-rc01) with AarTransform [ ] > Transform versionedparcelable.aar (androidx.versionedparcelable:versionedparcelable:1.0.0-rc01) with AarTransform [ ] > Transform core.aar (androidx.core:core:1.0.0-rc01) with AarTransform [ ] > Task :flutter_blue:extractProto UP-TO-DATE [ ] > Task :flutter_blue:extractIncludeDebugProto UP-TO-DATE [ ] > Task :flutter_blue:generateDebugProto UP-TO-DATE [ ] > Task :flutter_blue:prepareLintJar UP-TO-DATE [ ] > Task :flutter_blue:generateDebugSources UP-TO-DATE [ ] > Task :flutter_blue:javaPreCompileDebug UP-TO-DATE [ +187 ms] > Task :flutter_blue:compileDebugJavaWithJavac FAILED [ ] 60 actionable tasks: 10 executed, 50 up-to-date [ ] [ ] WARNING: This version of shared_preferences will break your Android build if it or its dependencies aren't compatible with AndroidX. [ ] See https://goo.gl/CP92wY for more information on the problem and how to fix it. [ ] This warning prints for all Android build failures. The real root cause of the error may be unrelated. [ ] [ ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. [ ] Use '--warning-mode all' to show the individual deprecation warnings. [ ] See https://docs.gradle.org/4.10.2/userguide/command_line_interface.html#sec:command_line_warnings [ ] /Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.4.2/android/src/main/java/com/pauldemarco/flutterblue/ FlutterBluePlugin.java:30: error: cannot find symbol [ +1 ms] import android.support.v4.app.ActivityCompat; [ ] ^ [ ] symbol: class ActivityCompat [ ] location: package android.support.v4.app [ ] /Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.4.2/android/src/main/java/com/pauldemarco/flutterblue/ FlutterBluePlugin.java:31: error: package android.support.v4.content does not exist [ ] import android.support.v4.content.ContextCompat; [ ] ^ [ ] /Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.4.2/android/src/main/java/com/pauldemarco/flutterblue/ FlutterBluePlugin.java:162: error: cannot find symbol [ +5 ms] if (ContextCompat.checkSelfPermission(registrar.activity(), Manifest.permission.ACCESS_COARSE_LOCATION) [ ] ^ [ ] symbol: variable ContextCompat [ ] location: class FlutterBluePlugin [ ] /Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.4.2/android/src/main/java/com/pauldemarco/flutterblue/ FlutterBluePlugin.java:164: error: cannot find symbol [ ] ActivityCompat.requestPermissions( [ ] ^ [ ] symbol: variable ActivityCompat [ ] location: class FlutterBluePlugin [ ] Note: /Users/earyzhe/dev/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.4.2/android/src/main/java/com/pauldemarco/flutterblue/ FlutterBluePlugin.java uses or overrides a deprecated API. [ ] Note: Recompile with -Xlint:deprecation for details. [ ] Note: /Users/earyzhe/dev/FlutterProjects/battery_saver/build/flutter_blue/generated/source/proto/debug/javalite/com/pauldemarco/flutterblue/Pr otos.java uses unchecked or unsafe operations. [ ] Note: Recompile with -Xlint:unchecked for details. [ ] 4 errors [ ] FAILURE: Build failed with an exception. [ ] What went wrong: [ ] Execution failed for task ':flutter_blue:compileDebugJavaWithJavac'. [ ] > Compilation failed; see the compiler error output for details. [ ] 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 7s [ +339 ms] Running Gradle task 'assembleDebug'... (completed in 8.4s) [ ] [ ] The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app. [ ] See https://goo.gl/CP92wY for more information on the problem and how to fix it. [ ] [ +17 ms] "flutter run" took 11,327ms. [ ] "flutter run" took 11,327ms. [ +9 ms] executing: [/Users/earyzhe/dev/FlutterProjects/battery_saver/ios/Runner.xcodeproj/] /usr/bin/xcodebuild -project /Users/earyzhe/dev/FlutterProjects/battery_saver/ios/Runner.xcodeproj -target Runner -showBuildSettings [+1165 ms] Exit code 0 from: /usr/bin/xcodebuild -project /Users/earyzhe/dev/FlutterProjects/battery_saver/ios/Runner.xcodeproj -target Runner -showBuildSettings [ ] Build settings for action build and target Runner: ACTION = build AD_HOC_CODE_SIGNING_ALLOWED = NO ALTERNATE_GROUP = staff ALTERNATE_MODE = u+w,go-w,a+rX ALTERNATE_OWNER = earyzhe ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO ALWAYS_SEARCH_USER_PATHS = NO ALWAYS_USE_SEPARATE_HEADERMAPS = NO APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer APPLE_INTERNAL_DIR = /AppleInternal APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation APPLE_INTERNAL_LIBRARY_DIR = /AppleInternal/Library APPLE_INTERNAL_TOOLS = /AppleInternal/Developer/Tools APPLICATION_EXTENSION_API_ONLY = NO APPLY_RULES_IN_COPY_FILES = NO ARCHS = armv7 arm64 ARCHS_STANDARD = armv7 arm64 ARCHS_STANDARD_32_64_BIT = armv7 arm64 ARCHS_STANDARD_32_BIT = armv7 ARCHS_STANDARD_64_BIT = arm64 ARCHS_STANDARD_INCLUDING_64_BIT = armv7 arm64 ARCHS_UNIVERSAL_IPHONE_OS = armv7 arm64 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon AVAILABLE_PLATFORMS = appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator BITCODE_GENERATION_MODE = marker BUILD_ACTIVE_RESOURCES_ONLY = NO BUILD_COMPONENTS = headers build BUILD_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios BUILD_ROOT = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios BUILD_STYLE = BUILD_VARIANTS = normal BUILT_PRODUCTS_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Release-iphoneos CACHE_ROOT = /var/folders/2d/jjks8mqd6wj1vm8dxd7jbnl80000gn/C/com.apple.DeveloperTools/10.3-10G8/Xcode CCHROOT = /var/folders/2d/jjks8mqd6wj1vm8dxd7jbnl80000gn/C/com.apple.DeveloperTools/10.3-10G8/Xcode CHMOD = /bin/chmod CHOWN = /usr/sbin/chown CLANG_ANALYZER_NONNULL = YES CLANG_CXX_LANGUAGE_STANDARD = gnu++0x CLANG_CXX_LIBRARY = libc++ CLANG_ENABLE_MODULES = YES CLANG_ENABLE_OBJC_ARC = YES CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES CLANG_WARN_BOOL_CONVERSION = YES CLANG_WARN_COMMA = YES CLANG_WARN_CONSTANT_CONVERSION = YES CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR CLANG_WARN_EMPTY_BODY = YES CLANG_WARN_ENUM_CONVERSION = YES CLANG_WARN_INFINITE_RECURSION = YES CLANG_WARN_INT_CONVERSION = YES CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES CLANG_WARN_OBJC_LITERAL_CONVERSION = YES CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR CLANG_WARN_RANGE_LOOP_ANALYSIS = YES CLANG_WARN_STRICT_PROTOTYPES = YES CLANG_WARN_SUSPICIOUS_MOVE = YES CLANG_WARN_UNREACHABLE_CODE = YES CLANG_WARN__DUPLICATE_METHOD_MATCH = YES CLASS_FILE_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Runner.build/Release-iphoneos/Runner.build/JavaClasses CLEAN_PRECOMPS = YES CLONE_HEADERS = NO CODESIGNING_FOLDER_PATH = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Release-iphoneos/Runner.app CODE_SIGNING_ALLOWED = YES CODE_SIGNING_REQUIRED = YES CODE_SIGN_CONTEXT_CLASS = XCiPhoneOSCodeSignContext CODE_SIGN_IDENTITY = iPhone Developer CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES COLOR_DIAGNOSTICS = NO COMBINE_HIDPI_IMAGES = NO COMPILER_INDEX_STORE_ENABLE = Default COMPOSITE_SDK_DIRS = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/CompositeSDKs COMPRESS_PNG_FILES = YES CONFIGURATION = Release CONFIGURATION_BUILD_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Release-iphoneos CONFIGURATION_TEMP_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Runner.build/Release-iphoneos CONTENTS_FOLDER_PATH = Runner.app COPYING_PRESERVES_HFS_DATA = NO COPY_HEADERS_RUN_UNIFDEF = NO COPY_PHASE_STRIP = NO COPY_RESOURCES_FROM_STATIC_FRAMEWORKS = YES CORRESPONDING_SIMULATOR_PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform CORRESPONDING_SIMULATOR_PLATFORM_NAME = iphonesimulator CORRESPONDING_SIMULATOR_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk CORRESPONDING_SIMULATOR_SDK_NAME = iphonesimulator12.4 CP = /bin/cp CREATE_INFOPLIST_SECTION_IN_BINARY = NO CURRENT_ARCH = arm64 CURRENT_PROJECT_VERSION = 1 CURRENT_VARIANT = normal DEAD_CODE_STRIPPING = YES DEBUGGING_SYMBOLS = YES DEBUG_INFORMATION_FORMAT = dwarf-with-dsym DEFAULT_COMPILER = com.apple.compilers.llvm.clang.1_0 DEFAULT_KEXT_INSTALL_PATH = /System/Library/Extensions DEFINES_MODULE = NO DEPLOYMENT_LOCATION = NO DEPLOYMENT_POSTPROCESSING = NO DEPLOYMENT_TARGET_CLANG_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET DEPLOYMENT_TARGET_CLANG_FLAG_NAME = miphoneos-version-min DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX = -miphoneos-version-min= DEPLOYMENT_TARGET_LD_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET DEPLOYMENT_TARGET_LD_FLAG_NAME = ios_version_min DEPLOYMENT_TARGET_SETTING_NAME = IPHONEOS_DEPLOYMENT_TARGET DEPLOYMENT_TARGET_SUGGESTED_VALUES = 8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3 11.0 11.1 11.2 11.3 11.4 12.0 12.1 12.2 12.3 12.4 DERIVED_FILES_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources DERIVED_FILE_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources DERIVED_SOURCES_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Applications DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer DEVELOPER_FRAMEWORKS_DIR = /Applications/Xcode.app/Contents/Developer/Library/Frameworks DEVELOPER_FRAMEWORKS_DIR_QUOTED = /Applications/Xcode.app/Contents/Developer/Library/Frameworks DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/Developer/Library DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Tools DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr DEVELOPMENT_LANGUAGE = English DEVELOPMENT_TEAM = V97H765GZ8 DOCUMENTATION_FOLDER_PATH = Runner.app/English.lproj/Documentation DO_HEADER_SCANNING_IN_JAM = NO DSTROOT = /tmp/Runner.dst DT_TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain DWARF_DSYM_FILE_NAME = Runner.app.dSYM DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT = NO DWARF_DSYM_FOLDER_PATH = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Release-iphoneos EFFECTIVE_PLATFORM_NAME = -iphoneos EMBEDDED_CONTENT_CONTAINS_SWIFT = NO EMBEDDED_PROFILE_NAME = embedded.mobileprovision EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO ENABLE_BITCODE = NO ENABLE_DEFAULT_HEADER_SEARCH_PATHS = YES ENABLE_HEADER_DEPENDENCIES = YES ENABLE_NS_ASSERTIONS = NO ENABLE_ON_DEMAND_RESOURCES = YES ENABLE_STRICT_OBJC_MSGSEND = YES ENABLE_TESTABILITY = NO ENTITLEMENTS_ALLOWED = YES ENTITLEMENTS_DESTINATION = Signature ENTITLEMENTS_REQUIRED = YES EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS = .DS_Store .svn .git .hg CVS EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = .nib .lproj .framework .gch .xcode .xcassets () .DS_Store CVS .svn .git .hg .pbproj .pbxproj EXECUTABLES_FOLDER_PATH = Runner.app/Executables EXECUTABLE_FOLDER_PATH = Runner.app EXECUTABLE_NAME = Runner EXECUTABLE_PATH = Runner.app/Runner EXPANDED_CODE_SIGN_IDENTITY = EXPANDED_CODE_SIGN_IDENTITY_NAME = EXPANDED_PROVISIONING_PROFILE = FILE_LIST = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects/LinkFileLis t FIXED_FILES_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Runner.build/Release-iphoneos/Runner.build/FixedFiles FLUTTER_APPLICATION_PATH = /Users/earyzhe/dev/FlutterProjects/battery_saver FLUTTER_BUILD_DIR = build FLUTTER_BUILD_NAME = 1.0.0 FLUTTER_BUILD_NUMBER = 1 FLUTTER_FRAMEWORK_DIR = /Users/earyzhe/dev/SDKs/flutter/bin/cache/artifacts/engine/ios FLUTTER_ROOT = /Users/earyzhe/dev/SDKs/flutter FLUTTER_TARGET = /Users/earyzhe/dev/FlutterProjects/battery_saver/lib/main.dart FRAMEWORKS_FOLDER_PATH = Runner.app/Frameworks FRAMEWORK_FLAG_PREFIX = -framework FRAMEWORK_SEARCH_PATHS = "/Users/earyzhe/dev/FlutterProjects/battery_saver/ios/Pods/../.symlinks/flutter/ios" "/Users/earyzhe/dev/FlutterProjects/battery_saver/ios/Pods/../.symlinks/flutter/ios" /Users/earyzhe/dev/FlutterProjects/battery_saver/ios/Flutter FRAMEWORK_VERSION = A FULL_PRODUCT_NAME = Runner.app GCC3_VERSION = 3.3 GCC_C_LANGUAGE_STANDARD = gnu99 GCC_INLINES_ARE_PRIVATE_EXTERN = YES GCC_NO_COMMON_BLOCKS = YES GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++ GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 COCOAPODS=1 COCOAPODS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 GCC_SYMBOLS_PRIVATE_EXTERN = YES GCC_THUMB_SUPPORT = YES GCC_TREAT_WARNINGS_AS_ERRORS = NO GCC_VERSION = com.apple.compilers.llvm.clang.1_0 GCC_VERSION_IDENTIFIER = com_apple_compilers_llvm_clang_1_0 GCC_WARN_64_TO_32_BIT_CONVERSION = YES GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR GCC_WARN_UNDECLARED_SELECTOR = YES GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE GCC_WARN_UNUSED_FUNCTION = YES GCC_WARN_UNUSED_VARIABLE = YES GENERATE_MASTER_OBJECT_FILE = NO GENERATE_PKGINFO_FILE = YES GENERATE_PROFILING_CODE = NO GENERATE_TEXT_BASED_STUBS = NO GID = 20 GROUP = staff HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT = YES HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = YES HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS = YES HEADERMAP_INCLUDES_PROJECT_HEADERS = YES HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES = YES HEADERMAP_USES_VFS = NO HEADER_SEARCH_PATHS = "/Users/earyzhe/dev/FlutterProjects/battery_saver/ios/Pods/Headers/Public" "/Users/earyzhe/dev/FlutterProjects/battery_saver/ios/Pods/Headers/Public/Protobuf" "/Users/earyzhe/dev/FlutterProjects/battery_saver/ios/Pods/Headers/Public/battery" "/Users/earyzhe/dev/FlutterProjects/battery_saver/ios/Pods/Headers/Public/flutter_blue" "/Users/earyzhe/dev/FlutterProjects/battery_saver/ios/Pods/Headers/Public/shared_preferences" "/Users/earyzhe/dev/FlutterProjects/battery_saver/ios/Pods/Headers/Public" "/Users/earyzhe/dev/FlutterProjects/battery_saver/ios/Pods/Headers/Public/Protobuf" "/Users/earyzhe/dev/FlutterProjects/battery_saver/ios/Pods/Headers/Public/battery" "/Users/earyzhe/dev/FlutterProjects/battery_saver/ios/Pods/Headers/Public/flutter_blue" "/Users/earyzhe/dev/FlutterProjects/battery_saver/ios/Pods/Headers/Public/shared_preferences" HIDE_BITCODE_SYMBOLS = YES HOME = /Users/earyzhe ICONV = /usr/bin/iconv INFOPLIST_EXPAND_BUILD_SETTINGS = YES INFOPLIST_FILE = Runner/Info.plist INFOPLIST_OUTPUT_FORMAT = binary INFOPLIST_PATH = Runner.app/Info.plist INFOPLIST_PREPROCESS = NO INFOSTRINGS_PATH = Runner.app/English.lproj/InfoPlist.strings INLINE_PRIVATE_FRAMEWORKS = NO INSTALLHDRS_COPY_PHASE = NO INSTALLHDRS_SCRIPT_PHASE = NO INSTALL_DIR = /tmp/Runner.dst/Applications INSTALL_GROUP = staff INSTALL_MODE_FLAG = u+w,go-w,a+rX INSTALL_OWNER = earyzhe INSTALL_PATH = /Applications INSTALL_ROOT = /tmp/Runner.dst IPHONEOS_DEPLOYMENT_TARGET = 8.0 JAVAC_DEFAULT_FLAGS = -J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8 JAVA_APP_STUB = /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub JAVA_ARCHIVE_CLASSES = YES JAVA_ARCHIVE_TYPE = JAR JAVA_COMPILER = /usr/bin/javac JAVA_FOLDER_PATH = Runner.app/Java JAVA_FRAMEWORK_RESOURCES_DIRS = Resources JAVA_JAR_FLAGS = cv JAVA_SOURCE_SUBDIR = . JAVA_USE_DEPENDENCIES = YES JAVA_ZIP_FLAGS = -urg JIKES_DEFAULT_FLAGS = +E +OLDCSO KASAN_DEFAULT_CFLAGS = -DKASAN=1 -fsanitize=address -mllvm -asan-globals-live-support -mllvm -asan-force-dynamic-shadow KEEP_PRIVATE_EXTERNS = NO LD_DEPENDENCY_INFO_FILE = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects-normal/arm6 4/Runner_dependency_info.dat LD_GENERATE_MAP_FILE = NO LD_MAP_FILE_PATH = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Runner.build/Release-iphoneos/Runner.build/Runner-LinkMap-norm al-arm64.txt LD_NO_PIE = NO LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER = YES LD_RUNPATH_SEARCH_PATHS = '@executable_path/Frameworks' '@loader_path/Frameworks' '@executable_path/Frameworks' '@loader_path/Frameworks' @executable_path/Frameworks LEGACY_DEVELOPER_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer LEX = lex LIBRARY_FLAG_NOSPACE = YES LIBRARY_FLAG_PREFIX = -l LIBRARY_KEXT_INSTALL_PATH = /Library/Extensions LIBRARY_SEARCH_PATHS = "/Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Release-iphoneos/Protobuf" "/Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Release-iphoneos/battery" "/Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Release-iphoneos/flutter_blue" "/Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Release-iphoneos/shared_preferences" "/Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Release-iphoneos/Protobuf" "/Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Release-iphoneos/battery" "/Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Release-iphoneos/flutter_blue" "/Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Release-iphoneos/shared_preferences" /Users/earyzhe/dev/FlutterProjects/battery_saver/ios/Flutter LINKER_DISPLAYS_MANGLED_NAMES = NO LINK_FILE_LIST_normal_arm64 = LINK_FILE_LIST_normal_armv7 = LINK_WITH_STANDARD_LIBRARIES = YES LOCALIZABLE_CONTENT_DIR = LOCALIZED_RESOURCES_FOLDER_PATH = Runner.app/English.lproj LOCALIZED_STRING_MACRO_NAMES = NSLocalizedString CFLocalizedString LOCAL_ADMIN_APPS_DIR = /Applications/Utilities LOCAL_APPS_DIR = /Applications LOCAL_DEVELOPER_DIR = /Library/Developer LOCAL_LIBRARY_DIR = /Library LOCROOT = LOCSYMROOT = MACH_O_TYPE = mh_execute MAC_OS_X_PRODUCT_BUILD_VERSION = 18G84 MAC_OS_X_VERSION_ACTUAL = 101406 MAC_OS_X_VERSION_MAJOR = 101400 MAC_OS_X_VERSION_MINOR = 1406 METAL_LIBRARY_FILE_BASE = default METAL_LIBRARY_OUTPUT_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Release-iphoneos/Runner.app MODULE_CACHE_DIR = /Users/earyzhe/Library/Developer/Xcode/DerivedData/ModuleCache.noindex MTL_ENABLE_DEBUG_INFO = NO NATIVE_ARCH = armv7 NATIVE_ARCH_32_BIT = i386 NATIVE_ARCH_64_BIT = x86_64 NATIVE_ARCH_ACTUAL = x86_64 NO_COMMON = YES OBJECT_FILE_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects OBJECT_FILE_DIR_normal = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects-normal OBJROOT = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios ONLY_ACTIVE_ARCH = NO OS = MACOS OSAC = /usr/bin/osacompile OTHER_LDFLAGS = -ObjC -l"Protobuf" -l"battery" -l"flutter_blue" -l"shared_preferences" -framework "CoreBluetooth" -framework "Flutter" -ObjC -l"Protobuf" -l"battery" -l"flutter_blue" -l"shared_preferences" -framework "CoreBluetooth" -framework "Flutter" PACKAGE_TYPE = com.apple.package-type.wrapper.application PASCAL_STRINGS = YES PATH = /Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/anaconda3/bin:/Applicati ons/Android Studio.app/Contents/jre/jdk/Contents/Home/bin:/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java:/usr/local/Cellar/dart/2.3.1/bin:/Users/earyzhe/.pub-cache/bin:/Users/ earyzhe/dev/SDKs/flutter/bin:/Users/earyzhe/dev/SDKs/flutter/.pub-cache/bin:/Users/earyzhe/dev/SDKs/flutter/bin/cache/dar t-sdk/bin:/Users/earyzhe/Desktop/salt-code/bin:/Users/earyzhe/dev/bash:/Applications/Postgres.app/Contents/Versions/11/bi n:/Users/earyzhe/redis-4.0.11/src:/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin:/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java:/usr/local/Cellar/dart/2.3.1/bin:/Users/earyzhe/.pub-cache/bin:/Users/ earyzhe/dev/SDKs/flutter/bin:/Users/earyzhe/dev/SDKs/flutter/.pub-cache/bin:/Users/earyzhe/dev/SDKs/flutter/bin/cache/dar t-sdk/bin:/Users/earyzhe/Desktop/salt-code/bin:/Users/earyzhe/dev/bash:/Applications/Postgres.app/Contents/Versions/11/bi n:/Users/earyzhe/redis-4.0.11/src PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES = /usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms PBDEVELOPMENTPLIST_PATH = Runner.app/pbdevelopment.plist PFE_FILE_C_DIALECTS = objective-c PKGINFO_FILE_PATH = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Runner.build/Release-iphoneos/Runner.build/PkgInfo PKGINFO_PATH = Runner.app/PkgInfo PLATFORM_DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Applications PLATFORM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin PLATFORM_DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library PLATFORM_DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs PLATFORM_DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Tools PLATFORM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform PLATFORM_DISPLAY_NAME = iOS PLATFORM_NAME = iphoneos PLATFORM_PREFERRED_ARCH = arm64 PLATFORM_PRODUCT_BUILD_VERSION = 16G73 PLIST_FILE_OUTPUT_FORMAT = binary PLUGINS_FOLDER_PATH = Runner.app/PlugIns PODS_BUILD_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios PODS_CONFIGURATION_BUILD_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Release-iphoneos PODS_PODFILE_DIR_PATH = /Users/earyzhe/dev/FlutterProjects/battery_saver/ios/. PODS_ROOT = /Users/earyzhe/dev/FlutterProjects/battery_saver/ios/Pods PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES PRECOMP_DESTINATION_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Runner.build/Release-iphoneos/Runner.build/PrefixHeaders PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO PRIVATE_HEADERS_FOLDER_PATH = Runner.app/PrivateHeaders PRODUCT_BUNDLE_IDENTIFIER = earyzhe.chargecontroller PRODUCT_MODULE_NAME = Runner PRODUCT_NAME = Runner PRODUCT_SETTINGS_PATH = /Users/earyzhe/dev/FlutterProjects/battery_saver/ios/Runner/Info.plist PRODUCT_TYPE = com.apple.product-type.application PROFILING_CODE = NO PROJECT = Runner PROJECT_DERIVED_FILE_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Runner.build/DerivedSources PROJECT_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/ios PROJECT_FILE_PATH = /Users/earyzhe/dev/FlutterProjects/battery_saver/ios/Runner.xcodeproj PROJECT_NAME = Runner PROJECT_TEMP_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Runner.build PROJECT_TEMP_ROOT = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios PROVISIONING_PROFILE_REQUIRED = YES PUBLIC_HEADERS_FOLDER_PATH = Runner.app/Headers RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS = YES REMOVE_CVS_FROM_RESOURCES = YES REMOVE_GIT_FROM_RESOURCES = YES REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES = YES REMOVE_HG_FROM_RESOURCES = YES REMOVE_SVN_FROM_RESOURCES = YES RESOURCE_RULES_REQUIRED = YES REZ_COLLECTOR_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Runner.build/Release-iphoneos/Runner.build/ResourceManagerReso urces REZ_OBJECTS_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Runner.build/Release-iphoneos/Runner.build/ResourceManagerReso urces/Objects SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO SCRIPTS_FOLDER_PATH = Runner.app/Scripts SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.4.sdk SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.4.sdk SDK_DIR_iphoneos12_4 = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.4.sdk SDK_NAME = iphoneos12.4 SDK_NAMES = iphoneos12.4 SDK_PRODUCT_BUILD_VERSION = 16G73 SDK_VERSION = 12.4 SDK_VERSION_ACTUAL = 120400 SDK_VERSION_MAJOR = 120000 SDK_VERSION_MINOR = 400 SED = /usr/bin/sed SEPARATE_STRIP = NO SEPARATE_SYMBOL_EDIT = NO SET_DIR_MODE_OWNER_GROUP = YES SET_FILE_MODE_OWNER_GROUP = NO SHALLOW_BUNDLE = YES SHARED_DERIVED_FILE_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Release-iphoneos/DerivedSources SHARED_FRAMEWORKS_FOLDER_PATH = Runner.app/SharedFrameworks SHARED_PRECOMPS_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/SharedPrecompiledHeaders SHARED_SUPPORT_FOLDER_PATH = Runner.app/SharedSupport SKIP_INSTALL = NO SOURCE_ROOT = /Users/earyzhe/dev/FlutterProjects/battery_saver/ios SRCROOT = /Users/earyzhe/dev/FlutterProjects/battery_saver/ios STRINGS_FILE_OUTPUT_ENCODING = binary STRIP_BITCODE_FROM_COPIED_FILES = YES STRIP_INSTALLED_PRODUCT = YES STRIP_STYLE = all STRIP_SWIFT_SYMBOLS = YES SUPPORTED_DEVICE_FAMILIES = 1,2 SUPPORTED_PLATFORMS = iphonesimulator iphoneos SUPPORTS_TEXT_BASED_API = NO SWIFT_PLATFORM_TARGET_PREFIX = ios SYMROOT = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios SYSTEM_ADMIN_APPS_DIR = /Applications/Utilities SYSTEM_APPS_DIR = /Applications SYSTEM_CORE_SERVICES_DIR = /System/Library/CoreServices SYSTEM_DEMOS_DIR = /Applications/Extras SYSTEM_DEVELOPER_APPS_DIR = /Applications/Xcode.app/Contents/Developer/Applications SYSTEM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin SYSTEM_DEVELOPER_DEMOS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples SYSTEM_DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer SYSTEM_DEVELOPER_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools SYSTEM_DEVELOPER_JAVA_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Java Tools SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Performance Tools SYSTEM_DEVELOPER_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes SYSTEM_DEVELOPER_TOOLS = /Applications/Xcode.app/Contents/Developer/Tools SYSTEM_DEVELOPER_TOOLS_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools SYSTEM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr SYSTEM_DEVELOPER_UTILITIES_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities SYSTEM_DOCUMENTATION_DIR = /Library/Documentation SYSTEM_KEXT_INSTALL_PATH = /System/Library/Extensions SYSTEM_LIBRARY_DIR = /System/Library TAPI_VERIFY_MODE = ErrorsOnly TARGETED_DEVICE_FAMILY = 1,2 TARGETNAME = Runner TARGET_BUILD_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Release-iphoneos TARGET_NAME = Runner TARGET_TEMP_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Runner.build/Release-iphoneos/Runner.build TEMP_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Runner.build/Release-iphoneos/Runner.build TEMP_FILES_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Runner.build/Release-iphoneos/Runner.build TEMP_FILE_DIR = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios/Runner.build/Release-iphoneos/Runner.build TEMP_ROOT = /Users/earyzhe/dev/FlutterProjects/battery_saver/build/ios TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain TRACK_WIDGET_CREATION = true TREAT_MISSING_BASELINES_AS_TEST_FAILURES = NO UID = 501 UNLOCALIZED_RESOURCES_FOLDER_PATH = Runner.app UNSTRIPPED_PRODUCT = NO USER = earyzhe USER_APPS_DIR = /Users/earyzhe/Applications USER_LIBRARY_DIR = /Users/earyzhe/Library USE_DYNAMIC_NO_PIC = YES USE_HEADERMAP = YES USE_HEADER_SYMLINKS = NO VALIDATE_PRODUCT = YES VALID_ARCHS = arm64 arm64e armv7 armv7s VERBOSE_PBXCP = NO VERSIONING_SYSTEM = apple-generic VERSIONPLIST_PATH = Runner.app/version.plist VERSION_INFO_BUILDER = earyzhe VERSION_INFO_FILE = Runner_vers.c VERSION_INFO_STRING = "@(#)PROGRAM:Runner PROJECT:Runner-1" WRAPPER_EXTENSION = app WRAPPER_NAME = Runner.app WRAPPER_SUFFIX = .app WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES = NO XCODE_APP_SUPPORT_DIR = /Applications/Xcode.app/Contents/Developer/Library/Xcode XCODE_PRODUCT_BUILD_VERSION = 10G8 XCODE_VERSION_ACTUAL = 1030 XCODE_VERSION_MAJOR = 1000 XCODE_VERSION_MINOR = 1030 XPCSERVICES_FOLDER_PATH = Runner.app/XPCServices YACC = yacc arch = arm64 variant = normal Gradle task assembleDebug failed with exit code 1

0 throwToolExit (package:flutter_tools/src/base/common.dart:28:3)

1 _buildGradleProjectV2 (package:flutter_tools/src/android/gradle.dart:507:5)

2 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:77:64)

3 _rootRunUnary (dart:async/zone.dart:1132:38)

4 _CustomZone.runUnary (dart:async/zone.dart:1029:19)

5 _FutureListener.handleValue (dart:async/future_impl.dart:126:18)

6 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)

7 Future._propagateToListeners (dart:async/future_impl.dart:668:32)

8 Future._complete (dart:async/future_impl.dart:473:7)

9 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)

10 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:28:18)

11 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:294:13)

12 runCommandAndStreamOutput (package:flutter_tools/src/base/process.dart)

13 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:77:64)

14 _rootRunUnary (dart:async/zone.dart:1132:38)

15 _CustomZone.runUnary (dart:async/zone.dart:1029:19)

16 _FutureListener.handleValue (dart:async/future_impl.dart:126:18)

17 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)

18 Future._propagateToListeners (dart:async/future_impl.dart:668:32)

19 Future._completeWithValue (dart:async/future_impl.dart:483:5)

20 Future._asyncComplete. (dart:async/future_impl.dart:513:7)

21 _rootRun (dart:async/zone.dart:1124:13)

22 _CustomZone.run (dart:async/zone.dart:1021:19)

23 _CustomZone.runGuarded (dart:async/zone.dart:923:7)

24 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:963:23)

25 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)

26 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)

27 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:116:13)

28 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:173:5)

earyzhe@MacBook-Pro-5:~/dev/FlutterProjects/battery_saver$ `

pauldemarco commented 4 years ago

Please try with the latest version 0.6.3

If you are still experiencing issues, try to upgrade your project files to the latest flutter template by deleting the android and ios folders, and running flutter create .

Note: Please make sure to backup any of your modified files in the android and iOS folders before performing the above.

maheshwara-bwd commented 4 years ago

i have just clone your repo and try to run the example. still i'm facing the same issue. Please help me on this.

scripta55 commented 4 years ago

also having the same issue, i thought this was caused by permissions, but i am guessing not now

jcbrtl commented 4 years ago

I'm facing the same problem, exactly. This fork worked https://pub.dev/packages/bluetooth , but it is not active

GauravPatni commented 4 years ago

I am also facing exactly the same issue after updating with latest package ^0.6.3+1

following solution worked for me

https://stackoverflow.com/a/58615329/11571538

VitorHugoOli commented 4 years ago

I used the solution proposed by @GauravPatni with one addition proposed in

https://github.com/flutter/flutter/issues/27254#issuecomment-477474444

This solves all the problems

alejo9719 commented 4 years ago

I'm using the latest Flutter template and facing the issue. To make it work, I had to downgrade to 0.6.2 like @GauravPatni says; 0.6.3 and 0.6.3+1 don't work.