You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm getting a default notification instead of the configured one.
Upon request, I can publish the full source code of the app. Note that I'm new to flutter and this may turn out to be a doc issue instead, especially since there seem to be no similar bug reports.
To Reproduce
On my home route, I run:
final androidConfig = FlutterBackgroundAndroidConfig(
notificationTitle: "The stream is up and running!",
notificationText: "Are you running too?",
notificationImportance: AndroidNotificationImportance.Default,
notificationIcon: AndroidResource(
name: 'background_icon',
defType: 'drawable'), // Default is ic_launcher from folder mipmap
);
await FlutterBackground.initialize(androidConfig: androidConfig);
On the route where I want to start an audio stream in the background, I run:
I have the same issue, with samsung and oneplus devices. @sils Did you solve it or is there any orkaround? @JulianAssmann A fix is appreciated, because the plugin is working well, despite the notification issue. Perhaps this one could be merged with the fix provided by @akospwc in #9
@sils@typexy Might be a bit late, but I experienced the same issue. But after removing the notificationIcon configuration, this worked flawlessly. Guess, this is because I didn't define any 'background_icon'.
Describe the bug
I'm getting a default notification instead of the configured one.
Upon request, I can publish the full source code of the app. Note that I'm new to flutter and this may turn out to be a doc issue instead, especially since there seem to be no similar bug reports.
To Reproduce
On my home route, I run:
On the route where I want to start an audio stream in the background, I run:
_backgroundServiceState does end up being
true
.Expected behavior
A notification with the title 'The stream is up and running!'.
Screenshots
´
Smartphone:
Reproduced on:
Logs
I don't think there's anything relevant here, most of the logs come from agora which is the audio stream I want to run in the background: ``` lasse@lasse-flex ..ments/viperdev/runtogether/runtogether (git)-[master] % flutter run --verbose [ +39 ms] executing: uname -m [ +18 ms] Exit code 0 from: uname -m [ ] x86_64 [ +3 ms] executing: [/home/lasse/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +6 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] d79295af24c3ed621c33713ecda14ad196fd9c31 [ ] executing: [/home/lasse/snap/flutter/common/flutter/] git tag --points-at d79295af24c3ed621c33713ecda14ad196fd9c31 [ +7 ms] Exit code 0 from: git tag --points-at d79295af24c3ed621c33713ecda14ad196fd9c31 [ ] 2.2.2 [ +5 ms] executing: [/home/lasse/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/stable [ ] executing: [/home/lasse/snap/flutter/common/flutter/] git ls-remote --get-url origin [ +2 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ +52 ms] executing: [/home/lasse/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD [ +3 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] stable [ +34 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +35 ms] executing: /home/lasse/Android/Sdk/platform-tools/adb devices -l [ +22 ms] List of devices attached emulator-5554 device product:sdk_gphone_x86_arm model:sdk_gphone_x86_arm device:generic_x86_arm transport_id:5 [ +3 ms] /home/lasse/Android/Sdk/platform-tools/adb -s emulator-5554 shell getprop [ +29 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +44 ms] Skipping pub get: version match. [ +8 ms] Found plugin agora_rtc_engine at /home/lasse/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_engine-4.0.2/ [ +10 ms] Found plugin flutter_background at /home/lasse/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_background-1.0.1/ [ +4 ms] Found plugin permission_handler at /home/lasse/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-8.1.1/ [ +56 ms] Found plugin agora_rtc_engine at /home/lasse/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_engine-4.0.2/ [ +3 ms] Found plugin flutter_background at /home/lasse/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_background-1.0.1/ [ +3 ms] Found plugin permission_handler at /home/lasse/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-8.1.1/ [ +11 ms] Generating /home/lasse/Documents/viperdev/runtogether/runtogether/android/app/src/main/java/io/flutter/plugins/GeneratedPluginReg istrant.java [ +34 ms] ro.hardware = ranchu [ +8 ms] Using hardware rendering with device sdk gphone x86 arm. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering". [ +15 ms] Initializing file store [ +5 ms] Skipping target: gen_localizations [ +2 ms] complete [ +2 ms] Launching lib/main.dart on sdk gphone x86 arm in debug mode... [ +2 ms] /home/lasse/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/lasse/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/lasse/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill /tmp/flutter_tools.GLGDBE/flutter_tool.ITHWMV/app.dill --packages /home/lasse/Documents/viperdev/runtogether/runtogether/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/3c113a45063dc6628e68a4111abcacad.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy [ +5 ms] executing: /home/lasse/Android/Sdk/build-tools/30.0.3/aapt dump xmltree /home/lasse/Documents/viperdev/runtogether/runtogether/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml [ +3 ms] Exit code 0 from: /home/lasse/Android/Sdk/build-tools/30.0.3/aapt dump xmltree /home/lasse/Documents/viperdev/runtogether/runtogether/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml [ ] N: android=http://schemas.android.com/apk/res/android E: manifest (line=2) A: android:versionCode(0x0101021b)=(type 0x10)0x1 A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0") A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11") A: package="com.example.runtogether" (Raw: "com.example.runtogether") A: platformBuildVersionCode=(type 0x10)0x1e A: platformBuildVersionName=(type 0x10)0xb E: uses-sdk (line=7) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e E: uses-permission (line=14) A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET") E: uses-permission (line=15) A: android:name(0x01010003)="android.permission.WAKE_LOCK" (Raw: "android.permission.WAKE_LOCK") E: uses-permission (line=16) A: android:name(0x01010003)="android.permission.FOREGROUND_SERVICE" (Raw: "android.permission.FOREGROUND_SERVICE") E: uses-permission (line=17) A: android:name(0x01010003)="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" (Raw: "android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS") E: uses-permission (line=18) A: android:name(0x01010003)="android.permission.READ_PHONE_STATE" (Raw: "android.permission.READ_PHONE_STATE") E: uses-permission (line=19) A: android:name(0x01010003)="android.permission.RECORD_AUDIO" (Raw: "android.permission.RECORD_AUDIO") E: uses-permission (line=20) A: android:name(0x01010003)="android.permission.CAMERA" (Raw: "android.permission.CAMERA") E: uses-permission (line=21) A: android:name(0x01010003)="android.permission.MODIFY_AUDIO_SETTINGS" (Raw: "android.permission.MODIFY_AUDIO_SETTINGS") E: uses-permission (line=22) A: android:name(0x01010003)="android.permission.ACCESS_NETWORK_STATE" (Raw: "android.permission.ACCESS_NETWORK_STATE") E: uses-permission (line=23) A: android:name(0x01010003)="android.permission.BLUETOOTH" (Raw: "android.permission.BLUETOOTH") E: uses-permission (line=24) A: android:name(0x01010003)="android.permission.ACCESS_WIFI_STATE" (Raw: "android.permission.ACCESS_WIFI_STATE") E: uses-permission (line=25) A: android:name(0x01010003)="android.permission.READ_EXTERNAL_STORAGE" (Raw: "android.permission.READ_EXTERNAL_STORAGE") E: uses-permission (line=26) A: android:name(0x01010003)="android.permission.READ_PRIVILEGED_PHONE_STATE" (Raw: "android.permission.READ_PRIVILEGED_PHONE_STATE") E: application (line=28) A: android:label(0x01010001)="runtogether" (Raw: "runtogether") A: android:icon(0x01010002)=@0x7f080000 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory") E: activity (line=33) A: android:theme(0x01010000)=@0x7f0a0000 A: android:name(0x01010003)="com.example.runtogether.MainActivity" (Raw: "com.example.runtogether.MainActivity") A: android:launchMode(0x0101001d)=(type 0x10)0x1 A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4 A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10 A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff E: meta-data (line=47) A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme") A: android:resource(0x01010025)=@0x7f0a0001 E: meta-data (line=57) A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable") A: android:resource(0x01010025)=@0x7f040000 E: intent-filter (line=61) E: action (line=62) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=64) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: meta-data (line=71) A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding") A: android:value(0x01010024)=(type 0x10)0x2 E: service (line=75) A: android:name(0x01010003)="de.julianassmann.flutter_background.IsolateHolderService" (Raw: "de.julianassmann.flutter_background.IsolateHolderService") [ +6 ms] executing: /home/lasse/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1 [ +8 ms] <- compile package:runtogether/main.dart [ +24 ms] --------- beginning of main 06-26 12:05:04.660 W/android.hardware.audio.service.ranchu( 294): TinyalsaSource::read:126 pcm_read was late delivering frames, inserting 15238 us of silence [ +7 ms] executing: /home/lasse/Android/Sdk/platform-tools/adb version [ +4 ms] Android Debug Bridge version 1.0.41 Version 31.0.2-7242960 Installed as /home/lasse/Android/Sdk/platform-tools/adb [ +1 ms] executing: /home/lasse/Android/Sdk/platform-tools/adb start-server [ +4 ms] Building APK [ +16 ms] Running Gradle task 'assembleDebug'... [ +2 ms] Using gradle from /home/lasse/Documents/viperdev/runtogether/runtogether/android/gradlew. [ +16 ms] executing: /snap/android-studio/105/android-studio/jre/bin/java -version [ +64 ms] Exit code 0 from: /snap/android-studio/105/android-studio/jre/bin/java -version [ ] openjdk version "11.0.8" 2020-07-14 OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821) OpenJDK 64-Bit Server VM (build 11.0.8+0-b944-6842174, mixed mode) [ +1 ms] executing: [/home/lasse/Documents/viperdev/runtogether/runtogether/android/] /home/lasse/Documents/viperdev/runtogether/runtogether/android/gradlew -Pverbose=true -Ptarget-platform=android-x86 -Ptarget=/home/lasse/Documents/viperdev/runtogether/runtogether/lib/main.dart -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug [ +938 ms] > Configure project :agora_rtc_engine [ ] WARNING: The option setting 'android.enableR8=true' is deprecated. [ ] It will be removed in version 5.0 of the Android Gradle plugin. [ ] You will no longer be able to disable R8 [ +190 ms] > Task :agora_rtc_engine:preBuild UP-TO-DATE [ ] > Task :agora_rtc_engine:preDebugBuild UP-TO-DATE [ ] > Task :agora_rtc_engine:compileDebugAidl NO-SOURCE [ ] > Task :agora_rtc_engine:mergeDebugJniLibFolders UP-TO-DATE [ ] > Task :agora_rtc_engine:mergeDebugNativeLibs NO-SOURCE [ ] > Task :agora_rtc_engine:stripDebugDebugSymbols NO-SOURCE [ ] > Task :agora_rtc_engine:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE [ ] > Task :agora_rtc_engine:compileDebugRenderscript NO-SOURCE [ ] > Task :agora_rtc_engine:generateDebugBuildConfig UP-TO-DATE [ ] > Task :agora_rtc_engine:generateDebugResValues UP-TO-DATE [ ] > Task :agora_rtc_engine:generateDebugResources UP-TO-DATE [ ] > Task :agora_rtc_engine:packageDebugResources UP-TO-DATE [ ] > Task :agora_rtc_engine:parseDebugLocalResources UP-TO-DATE [ ] > Task :agora_rtc_engine:processDebugManifest UP-TO-DATE [ ] > Task :agora_rtc_engine:generateDebugRFile UP-TO-DATE [ +97 ms] > Task :agora_rtc_engine:compileDebugKotlin UP-TO-DATE [ ] > Task :agora_rtc_engine:javaPreCompileDebug UP-TO-DATE [ ] > Task :agora_rtc_engine:compileDebugJavaWithJavac UP-TO-DATE [ ] > Task :agora_rtc_engine:extractDebugAnnotations UP-TO-DATE [ ] > Task :agora_rtc_engine:mergeDebugGeneratedProguardFiles UP-TO-DATE [ ] > Task :agora_rtc_engine:mergeDebugConsumerProguardFiles UP-TO-DATE [ ] > Task :agora_rtc_engine:mergeDebugShaders UP-TO-DATE [ ] > Task :agora_rtc_engine:compileDebugShaders NO-SOURCE [ ] > Task :agora_rtc_engine:generateDebugAssets UP-TO-DATE [ ] > Task :agora_rtc_engine:packageDebugAssets UP-TO-DATE [ ] > Task :agora_rtc_engine:packageDebugRenderscript NO-SOURCE [ ] > Task :agora_rtc_engine:prepareLintJarForPublish UP-TO-DATE [ ] > Task :agora_rtc_engine:processDebugJavaRes NO-SOURCE [ ] > Task :agora_rtc_engine:mergeDebugJavaResource UP-TO-DATE [ ] > Task :agora_rtc_engine:syncDebugLibJars UP-TO-DATE [ ] > Task :agora_rtc_engine:writeDebugAarMetadata UP-TO-DATE [ ] > Task :agora_rtc_engine:bundleDebugAar UP-TO-DATE [ ] > Task :agora_rtc_engine:compileDebugSources UP-TO-DATE [ ] > Task :agora_rtc_engine:assembleDebug UP-TO-DATE [ ] > Task :agora_rtc_engine:bundleLibCompileToJarDebug UP-TO-DATE [+1997 ms] > Task :app:compileFlutterBuildDebug [ ] [ +42 ms] executing: uname -m [ ] [ +21 ms] Exit code 0 from: uname -m [ ] [ ] x86_64 [ ] [ +3 ms] executing: [/home/lasse/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] [ +4 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] [ ] d79295af24c3ed621c33713ecda14ad196fd9c31 [ ] [ ] executing: [/home/lasse/snap/flutter/common/flutter/] git tag --points-at d79295af24c3ed621c33713ecda14ad196fd9c31 [ ] [ +10 ms] Exit code 0 from: git tag --points-at d79295af24c3ed621c33713ecda14ad196fd9c31 [ ] [ ] 2.2.2 [ ] [ +3 ms] executing: [/home/lasse/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ ] [ +5 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] [ ] origin/stable [ ] [ ] executing: [/home/lasse/snap/flutter/common/flutter/] git ls-remote --get-url origin [ ] [ +3 ms] Exit code 0 from: git ls-remote --get-url origin [ ] [ ] https://github.com/flutter/flutter.git [ ] [ +37 ms] executing: [/home/lasse/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD [ ] [ +4 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] [ ] stable [ ] [ +33 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] [ +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ ] [ +54 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update. [ ] [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'PubDependencies' is not required, skipping update. [ ] [ +28 ms] Initializing file store [ ] [ +11 ms] Skipping target: gen_localizations [ ] [ +4 ms] kernel_snapshot: Starting due to {} [ ] [ +7 ms] /home/lasse/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/lasse/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/lasse/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --no-link-platform --packages /home/lasse/Documents/viperdev/runtogether/runtogether/.dart_tool/package_config.json --output-dill /home/lasse/Documents/viperdev/runtogether/runtogether/.dart_tool/flutter_build/371e1186fef8d48b8272b5fc9a51bcb4/app.d ill --depfile /home/lasse/Documents/viperdev/runtogether/runtogether/.dart_tool/flutter_build/371e1186fef8d48b8272b5fc9a51bcb4/kerne l_snapshot.d package:runtogether/main.dart [+4894 ms] [+6492 ms] kernel_snapshot: Complete [ +400 ms] [ +320 ms] debug_android_application: Starting due to {} [ +199 ms] [ +203 ms] debug_android_application: Complete [ +400 ms] [ +416 ms] Persisting file store [ ] [ +4 ms] Done persisting file store [ ] [ +4 ms] build succeeded. [ ] [ +6 ms] "flutter assemble" took 7,564ms. [ +99 ms] [ +82 ms] ensureAnalyticsSent: 79ms [ ] [ +2 ms] Running shutdown hooks [ ] [ ] Shutdown hooks complete [ ] [ +1 ms] exiting with code 0 [ +99 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE [ ] > Task :app:preBuild UP-TO-DATE [ ] > Task :app:preDebugBuild UP-TO-DATE [ ] > Task :flutter_background:preBuild UP-TO-DATE [ ] > Task :flutter_background:preDebugBuild UP-TO-DATE [ ] > Task :flutter_background:compileDebugAidl NO-SOURCE [ ] > Task :permission_handler:preBuild UP-TO-DATE [ ] > Task :permission_handler:preDebugBuild UP-TO-DATE [ ] > Task :permission_handler:compileDebugAidl NO-SOURCE [ ] > Task :app:compileDebugAidl NO-SOURCE [ ] > Task :flutter_background:packageDebugRenderscript NO-SOURCE [ ] > Task :permission_handler:packageDebugRenderscript NO-SOURCE [ ] > Task :app:compileDebugRenderscript NO-SOURCE [ ] > Task :app:generateDebugBuildConfig UP-TO-DATE [ ] > Task :agora_rtc_engine:compileDebugLibraryResources UP-TO-DATE [ ] > Task :flutter_background:writeDebugAarMetadata UP-TO-DATE [ ] > Task :permission_handler:writeDebugAarMetadata UP-TO-DATE [ ] > Task :app:checkDebugAarMetadata UP-TO-DATE [ ] > Task :app:cleanMergeDebugAssets [ ] > Task :app:mergeDebugShaders UP-TO-DATE [ ] > Task :app:compileDebugShaders NO-SOURCE [ ] > Task :app:generateDebugAssets UP-TO-DATE [ ] > Task :flutter_background:mergeDebugShaders UP-TO-DATE [ ] > Task :flutter_background:compileDebugShaders NO-SOURCE [ ] > Task :flutter_background:generateDebugAssets UP-TO-DATE [ ] > Task :flutter_background:packageDebugAssets UP-TO-DATE [ ] > Task :permission_handler:mergeDebugShaders UP-TO-DATE [ ] > Task :permission_handler:compileDebugShaders NO-SOURCE [ ] > Task :permission_handler:generateDebugAssets UP-TO-DATE [ ] > Task :permission_handler:packageDebugAssets UP-TO-DATE [ +96 ms] > Task :app:mergeDebugAssets [ +99 ms] > Task :app:copyFlutterAssetsDebug [ ] > Task :app:generateDebugResValues UP-TO-DATE [ ] > Task :app:generateDebugResources UP-TO-DATE [ ] > Task :flutter_background:compileDebugRenderscript NO-SOURCE [ ] > Task :flutter_background:generateDebugResValues UP-TO-DATE [ ] > Task :flutter_background:generateDebugResources UP-TO-DATE [ ] > Task :flutter_background:packageDebugResources UP-TO-DATE [ ] > Task :permission_handler:compileDebugRenderscript NO-SOURCE [ ] > Task :permission_handler:generateDebugResValues UP-TO-DATE [ ] > Task :permission_handler:generateDebugResources UP-TO-DATE [ ] > Task :permission_handler:packageDebugResources UP-TO-DATE [ ] > Task :app:mergeDebugResources UP-TO-DATE [ ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE [ ] > Task :agora_rtc_engine:extractDeepLinksDebug UP-TO-DATE [ ] > Task :app:extractDeepLinksDebug UP-TO-DATE [ ] > Task :flutter_background:extractDeepLinksDebug UP-TO-DATE [ ] > Task :flutter_background:processDebugManifest UP-TO-DATE [ ] > Task :permission_handler:extractDeepLinksDebug UP-TO-DATE [ ] > Task :permission_handler:processDebugManifest UP-TO-DATE [ +98 ms] > Task :app:processDebugMainManifest UP-TO-DATE [ ] > Task :app:processDebugManifest UP-TO-DATE [ ] > Task :app:processDebugManifestForPackage UP-TO-DATE [ ] > Task :flutter_background:compileDebugLibraryResources UP-TO-DATE [ ] > Task :flutter_background:parseDebugLocalResources UP-TO-DATE [ ] > Task :flutter_background:generateDebugRFile UP-TO-DATE [ ] > Task :permission_handler:compileDebugLibraryResources UP-TO-DATE [ ] > Task :permission_handler:parseDebugLocalResources UP-TO-DATE [ ] > Task :permission_handler:generateDebugRFile UP-TO-DATE [ ] > Task :app:processDebugResources UP-TO-DATE [ ] > Task :flutter_background:generateDebugBuildConfig UP-TO-DATE [ ] > Task :flutter_background:compileDebugKotlin UP-TO-DATE [ ] > Task :flutter_background:javaPreCompileDebug UP-TO-DATE [ ] > Task :flutter_background:compileDebugJavaWithJavac UP-TO-DATE [ ] > Task :flutter_background:bundleLibCompileToJarDebug UP-TO-DATE [ ] > Task :permission_handler:generateDebugBuildConfig UP-TO-DATE [ ] > Task :permission_handler:javaPreCompileDebug UP-TO-DATE [ ] > Task :permission_handler:compileDebugJavaWithJavac UP-TO-DATE [ ] > Task :permission_handler:bundleLibCompileToJarDebug UP-TO-DATE [ ] > Task :app:compileDebugKotlin UP-TO-DATE [ ] > Task :app:javaPreCompileDebug UP-TO-DATE [ ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE [ ] > Task :app:compileDebugSources UP-TO-DATE [ ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE [ ] > Task :app:compressDebugAssets UP-TO-DATE [ ] > Task :agora_rtc_engine:bundleLibResDebug UP-TO-DATE [ ] > Task :app:processDebugJavaRes NO-SOURCE [ ] > Task :flutter_background:processDebugJavaRes NO-SOURCE [ ] > Task :flutter_background:bundleLibResDebug UP-TO-DATE [ ] > Task :permission_handler:processDebugJavaRes NO-SOURCE [ ] > Task :permission_handler:bundleLibResDebug NO-SOURCE [ ] > Task :app:mergeDebugJavaResource UP-TO-DATE [ +97 ms] > Task :flutter_background:bundleLibRuntimeToJarDebug UP-TO-DATE [ ] > Task :agora_rtc_engine:bundleLibRuntimeToJarDebug UP-TO-DATE [ ] > Task :permission_handler:bundleLibRuntimeToJarDebug UP-TO-DATE [ ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE [ ] > Task :app:dexBuilderDebug UP-TO-DATE [ ] > Task :app:desugarDebugFileDependencies UP-TO-DATE [ ] > Task :app:mergeExtDexDebug UP-TO-DATE [ ] > Task :app:mergeDexDebug UP-TO-DATE [ ] > Task :agora_rtc_engine:copyDebugJniLibsProjectOnly UP-TO-DATE [ ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE [ ] > Task :flutter_background:mergeDebugJniLibFolders UP-TO-DATE [ ] > Task :flutter_background:mergeDebugNativeLibs NO-SOURCE [ ] > Task :flutter_background:stripDebugDebugSymbols NO-SOURCE [ ] > Task :flutter_background:copyDebugJniLibsProjectOnly UP-TO-DATE [ ] > Task :permission_handler:mergeDebugJniLibFolders UP-TO-DATE [ ] > Task :permission_handler:mergeDebugNativeLibs NO-SOURCE [ ] > Task :permission_handler:stripDebugDebugSymbols NO-SOURCE [ ] > Task :permission_handler:copyDebugJniLibsProjectOnly UP-TO-DATE [ ] > Task :app:mergeDebugNativeLibs UP-TO-DATE [ ] > Task :app:stripDebugDebugSymbols UP-TO-DATE [ ] > Task :app:validateSigningDebug UP-TO-DATE [ ] > Task :app:packageDebug UP-TO-DATE [ +489 ms] > Task :app:assembleDebug [ ] > Task :flutter_background:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE [ ] > Task :flutter_background:extractDebugAnnotations UP-TO-DATE [ ] > Task :flutter_background:mergeDebugGeneratedProguardFiles UP-TO-DATE [ ] > Task :flutter_background:mergeDebugConsumerProguardFiles UP-TO-DATE [ ] > Task :flutter_background:prepareLintJarForPublish UP-TO-DATE [ ] > Task :flutter_background:mergeDebugJavaResource UP-TO-DATE [ ] > Task :flutter_background:syncDebugLibJars UP-TO-DATE [ ] > Task :flutter_background:bundleDebugAar UP-TO-DATE [ ] > Task :flutter_background:compileDebugSources UP-TO-DATE [ ] > Task :flutter_background:assembleDebug UP-TO-DATE [ ] > Task :permission_handler:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE [ ] > Task :permission_handler:extractDebugAnnotations UP-TO-DATE [ ] > Task :permission_handler:mergeDebugGeneratedProguardFiles UP-TO-DATE [ ] > Task :permission_handler:mergeDebugConsumerProguardFiles UP-TO-DATE [ ] > Task :permission_handler:prepareLintJarForPublish UP-TO-DATE [ ] > Task :permission_handler:mergeDebugJavaResource UP-TO-DATE [ ] > Task :permission_handler:syncDebugLibJars UP-TO-DATE [ ] > Task :permission_handler:bundleDebugAar UP-TO-DATE [ ] > Task :permission_handler:compileDebugSources UP-TO-DATE [ ] > Task :permission_handler:assembleDebug UP-TO-DATE [ ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. [ ] Use '--warning-mode all' to show the individual deprecation warnings. [ ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings [ ] BUILD SUCCESSFUL in 10s [ ] 111 actionable tasks: 5 executed, 106 up-to-date [ +340 ms] Running Gradle task 'assembleDebug'... (completed in 10.6s) [ +499 ms] calculateSha: LocalDirectory: '/home/lasse/Documents/viperdev/runtogether/runtogether/build/app/outputs/flutter-apk'/app.apk [ +813 ms] ✓ Built build/app/outputs/flutter-apk/app-debug.apk. [ +2 ms] executing: /home/lasse/Android/Sdk/build-tools/30.0.3/aapt dump xmltree /home/lasse/Documents/viperdev/runtogether/runtogether/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml [ +11 ms] Exit code 0 from: /home/lasse/Android/Sdk/build-tools/30.0.3/aapt dump xmltree /home/lasse/Documents/viperdev/runtogether/runtogether/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml [ ] N: android=http://schemas.android.com/apk/res/android E: manifest (line=2) A: android:versionCode(0x0101021b)=(type 0x10)0x1 A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0") A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11") A: package="com.example.runtogether" (Raw: "com.example.runtogether") A: platformBuildVersionCode=(type 0x10)0x1e A: platformBuildVersionName=(type 0x10)0xb E: uses-sdk (line=7) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e E: uses-permission (line=14) A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET") E: uses-permission (line=15) A: android:name(0x01010003)="android.permission.WAKE_LOCK" (Raw: "android.permission.WAKE_LOCK") E: uses-permission (line=16) A: android:name(0x01010003)="android.permission.FOREGROUND_SERVICE" (Raw: "android.permission.FOREGROUND_SERVICE") E: uses-permission (line=17) A: android:name(0x01010003)="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" (Raw: "android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS") E: uses-permission (line=18) A: android:name(0x01010003)="android.permission.READ_PHONE_STATE" (Raw: "android.permission.READ_PHONE_STATE") E: uses-permission (line=19) A: android:name(0x01010003)="android.permission.RECORD_AUDIO" (Raw: "android.permission.RECORD_AUDIO") E: uses-permission (line=20) A: android:name(0x01010003)="android.permission.CAMERA" (Raw: "android.permission.CAMERA") E: uses-permission (line=21) A: android:name(0x01010003)="android.permission.MODIFY_AUDIO_SETTINGS" (Raw: "android.permission.MODIFY_AUDIO_SETTINGS") E: uses-permission (line=22) A: android:name(0x01010003)="android.permission.ACCESS_NETWORK_STATE" (Raw: "android.permission.ACCESS_NETWORK_STATE") E: uses-permission (line=23) A: android:name(0x01010003)="android.permission.BLUETOOTH" (Raw: "android.permission.BLUETOOTH") E: uses-permission (line=24) A: android:name(0x01010003)="android.permission.ACCESS_WIFI_STATE" (Raw: "android.permission.ACCESS_WIFI_STATE") E: uses-permission (line=25) A: android:name(0x01010003)="android.permission.READ_EXTERNAL_STORAGE" (Raw: "android.permission.READ_EXTERNAL_STORAGE") E: uses-permission (line=26) A: android:name(0x01010003)="android.permission.READ_PRIVILEGED_PHONE_STATE" (Raw: "android.permission.READ_PRIVILEGED_PHONE_STATE") E: application (line=28) A: android:label(0x01010001)="runtogether" (Raw: "runtogether") A: android:icon(0x01010002)=@0x7f080000 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory") E: activity (line=33) A: android:theme(0x01010000)=@0x7f0a0000 A: android:name(0x01010003)="com.example.runtogether.MainActivity" (Raw: "com.example.runtogether.MainActivity") A: android:launchMode(0x0101001d)=(type 0x10)0x1 A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4 A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10 A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff E: meta-data (line=47) A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme") A: android:resource(0x01010025)=@0x7f0a0001 E: meta-data (line=57) A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable") A: android:resource(0x01010025)=@0x7f040000 E: intent-filter (line=61) E: action (line=62) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=64) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: meta-data (line=71) A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding") A: android:value(0x01010024)=(type 0x10)0x2 E: service (line=75) A: android:name(0x01010003)="de.julianassmann.flutter_background.IsolateHolderService" (Raw: "de.julianassmann.flutter_background.IsolateHolderService") [ +3 ms] Stopping app 'app.apk' on sdk gphone x86 arm. [ ] executing: /home/lasse/Android/Sdk/platform-tools/adb -s emulator-5554 shell am force-stop com.example.runtogether [ +524 ms] executing: /home/lasse/Android/Sdk/platform-tools/adb -s emulator-5554 shell pm list packages com.example.runtogether [ +246 ms] package:com.example.runtogether [ +1 ms] executing: /home/lasse/Android/Sdk/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.com.example.runtogether.sha1 [ +49 ms] 4a986add233aea48f680b225d8e0e4d1bffd2164 [ ] Latest build already installed. [ ] executing: /home/lasse/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1 [ +271 ms] --------- beginning of main 06-26 12:05:20.321 I/TngMinusOneSync( 1299): Syncing TNG:-1 [ +12 ms] executing: /home/lasse/Android/Sdk/platform-tools/adb -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.example.runtogether/com.example.runtogether.MainActivity [ +102 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.runtogether/.MainActivity (has extras) } [ ] Waiting for observatory port to be available... [ +567 ms] Observatory URL on device: http://127.0.0.1:41407/BIG0t1jt9qM=/ [ ] executing: /home/lasse/Android/Sdk/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:41407 [ +9 ms] 37559 [ ] Forwarded host port 37559 to device port 41407 for Observatory [ +4 ms] Caching compiled dill [ +90 ms] Connecting to service protocol: http://127.0.0.1:37559/BIG0t1jt9qM=/ [ +282 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:37559/BIG0t1jt9qM=/. [ +139 ms] DDS is listening at http://127.0.0.1:40079/F-OQs_cqGn0=/. [ +49 ms] Successfully connected to service protocol: http://127.0.0.1:37559/BIG0t1jt9qM=/ [ +145 ms] DevFS: Creating new filesystem on the device (null) [ +86 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.runtogether/code_cache/runtogetherKPKVXB/runtogether/) [ +1 ms] Updating assets [ +58 ms] Syncing files to device sdk gphone x86 arm... [ ] <- reset [ ] Compiling dart to kernel with 0 updated files [ +1 ms] <- recompile package:runtogether/main.dart 6cbf6686-5516-459f-bbe6-8977598f379f [ ] <- 6cbf6686-5516-459f-bbe6-8977598f379f [ +93 ms] Activating Dart DevTools... [ +89 ms] Updating files. [ ] DevFS: Sync finished [ ] Syncing files to device sdk gphone x86 arm... (completed in 185ms) [ ] Synced 0.0MB. [ ] <- accept [ +139 ms] Connected to _flutterView/0xf5546420. [ +1 ms] Flutter run key commands. [ ] r Hot reload. 🔥🔥🔥 [ ] R Hot restart. [ ] h Repeat this help message. [ ] d Detach (terminate "flutter run" but leave application running). [ ] c Clear the screen [ ] q Quit (terminate the application on the device). [ ] 💪 Running with sound null safety 💪 [ ] An Observatory debugger and profiler on sdk gphone x86 arm is available at: http://127.0.0.1:40079/F-OQs_cqGn0=/ [+3648 ms] Activating Dart DevTools... (completed in 3.9s) [ +309 ms] The Flutter DevTools debugger and profiler on sdk gphone x86 arm is available at: http://127.0.0.1:9101?uri=http%3A%2F%2F127.0.0.1%3A40079%2FF-OQs_cqGn0%3D%2F [+3514 ms] D/CompatibilityChangeReporter( 8871): Compat change id reported: 147600208; UID 10157; state: ENABLED [ +23 ms] D/agora-jni( 8871): android bridge create done... [ +1 ms] I/TetheringManager( 8871): registerTetheringEventCallback:com.example.runtogether [ ] E/libc ( 8871): Access denied finding property "net.dns1" [ ] E/libc ( 8871): Access denied finding property "net.dns2" [ ] E/libc ( 8871): Access denied finding property "net.dns3" [ ] E/libc ( 8871): Access denied finding property "net.dns4" [ +57 ms] E/libc ( 8871): Access denied finding property "net.dns1" [ ] E/libc ( 8871): Access denied finding property "net.dns2" [ +2 ms] E/libc ( 8871): Access denied finding property "net.dns3" [ ] E/libc ( 8871): Access denied finding property "net.dns4" [ +30 ms] E/libc ( 8871): Access denied finding property "net.dns1" [ ] E/libc ( 8871): Access denied finding property "net.dns2" [ ] E/libc ( 8871): Access denied finding property "net.dns3" [ ] E/libc ( 8871): Access denied finding property "net.dns4" [ +4 ms] D/BluetoothHeadset( 8871): Proxy object connected [ +129 ms] V/MediaRouter( 8871): Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null } [ +31 ms] W/AudioTrack( 8871): Use of stream types is deprecated for operations other than volume control [ ] W/AudioTrack( 8871): See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case [ +1 ms] V/MediaRouter( 8871): Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null } [ +79 ms] D/AudioTrack( 8871): getTimestamp_l(66): device stall time corrected using current time 4470503477303 [+3778 ms] E/libc ( 8871): Access denied finding property "net.dns1" [ ] E/libc ( 8871): Access denied finding property "net.dns2" [ ] E/libc ( 8871): Access denied finding property "net.dns3" [ ] E/libc ( 8871): Access denied finding property "net.dns4" [+1998 ms] E/libc ( 8871): Access denied finding property "net.dns1" [ ] E/libc ( 8871): Access denied finding property "net.dns2" [ ] E/libc ( 8871): Access denied finding property "net.dns3" [ ] E/libc ( 8871): Access denied finding property "net.dns4" [+2003 ms] E/libc ( 8871): Access denied finding property "net.dns1" [ ] E/libc ( 8871): Access denied finding property "net.dns2" [ ] E/libc ( 8871): Access denied finding property "net.dns3" [ ] E/libc ( 8871): Access denied finding property "net.dns4" [+1995 ms] E/libc ( 8871): Access denied finding property "net.dns1" [ ] E/libc ( 8871): Access denied finding property "net.dns2" [ ] E/libc ( 8871): Access denied finding property "net.dns3" [ ] E/libc ( 8871): Access denied finding property "net.dns4" ```No debug log outputs.
The text was updated successfully, but these errors were encountered: