Skip to content

[Android] Severe jank with custom paint #92366

@sidetraxaudio

Description

@sidetraxaudio

2 VIDEO FILES ATTACHED:
1x no jank w/2.6.0-5.2.pre and below
1x bad jank w/2.7.0-3.0pre

beta 2.6.0-5.2.pre and BELOW works perfect
beta 2.7.0-3.0.pre and ABOVE creates massive jank : custompaint in any kind of scrollview. Unsure if its a custompaint issue, scrollview issue or optimisation issue.
-confirmed 2 physical devices w/8 and 12gb ram

Int16List (pcm audio) int values are being thinned and custom-painted as an audio waveform inside horizontal singlechildscrollview. Prior to latest beta performance was exceptional. After latest beta (and including master ch releases) something is broken and screen redraws are as if they're not cached/rasterised at all irrespective of custompaint settings and are drawing on the fly???.

  1. ...
    -Find a wave file to dump in assets
    (suspect a complex paint object will suffice)
    -Implement attached code.
    -Switch between any release ABOVE 2.6.0-5.2.pre to see massive jank or BELOW (and including) to see perfect operation

  2. ...
    -Scroll left or right to see massive jank above 2.6.0-5.2.pre
    -Even scroll to the scrollview bounds and see jank on overscroll glow

Expected results:
-Smooth scrolling/rasterising/screen update as per prior release

Actual results:
-Massive jank

Please see attached video files.

import 'dart:typed_data';
import 'package:flutter/material.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      debugShowCheckedModeBanner: false,
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({
    Key? key,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.transparent,
      body: FutureBuilder(
        future: loadGraph(),
        builder: (context, AsyncSnapshot<Int16List> waveData) {
          return (!waveData.hasData)
              ? const CircularProgressIndicator.adaptive()
              : SizedBox(
                  width: MediaQuery.of(context).size.width,
                  height: MediaQuery.of(context).size.height,
                  child: SingleChildScrollView(
                    scrollDirection: Axis.horizontal,
                    child: SizedBox(
                      width: MediaQuery.of(context).size.width * 20,
                      height: MediaQuery.of(context).size.height,
                      child: RepaintBoundary(
                        child: CustomPaint(
                          willChange: false,
                          isComplex: true,
                          painter: PaintTest(
                            waveData: waveData.data!,
                          ),
                        ),
                      ),
                    ),
                  ),
                );
        },
      ),
    );
  }
}

class PaintTest extends CustomPainter {
  final Int16List waveData;

  const PaintTest({
    required this.waveData,
  });

  @override
  void paint(Canvas canvas, Size size) {
    final _height = size.height;
    double x = 0;
    double strokeSize = .5;
    const zoomFactor = .5;

    final Paint paintPos = Paint()
      ..color = Colors.pink
      ..strokeWidth = strokeSize
      ..isAntiAlias = false
      ..style = PaintingStyle.stroke;

    final Paint paintNeg = Paint()
      ..color = Colors.pink
      ..strokeWidth = strokeSize
      ..isAntiAlias = false
      ..style = PaintingStyle.stroke;

    final Paint paintZero = Paint()
      ..color = Colors.green
      ..strokeWidth = strokeSize
      ..isAntiAlias = false
      ..style = PaintingStyle.stroke;

    int index = 0;
    for (index = 0; index < waveData.length; index++) {
      if (waveData[index].isNegative) {
        canvas.drawLine(Offset(x, _height * 1 / 2), Offset(x, _height * 1 / 2 - waveData[index] / 32768 * (_height / 2)), paintPos);
        x += zoomFactor;
      } else {
        (waveData[index] == 0)
            ? canvas.drawLine(Offset(x, _height * 1 / 2), Offset(x, _height * 1 / 2 + 1), paintZero)
            : canvas.drawLine(Offset(x, _height * 1 / 2), Offset(x, _height * 1 / 2 - waveData[index] / 32767 * (_height / 2)), paintNeg);
        x += zoomFactor;
      }
    }
  }

  @override
  bool shouldRepaint(CustomPainter oldDelegate) {
    return false;
  }
}

Future<Int16List> loadGraph() async {
  //*_____________________________________________
  //! LOAD ANY WAVE FILE - THIS IS 16bit 44.1 MONO
  //*_____________________________________________
  Int16List load16bitMonoWave = await rootBundle.load('assets/rawalice.raw').then((value) => value.buffer.asInt16List());
  //! THIN WAVE FILE TO 1/20
  Int16List waveDataThinned = Int16List((load16bitMonoWave.length * 1 / 20).round());
  int reducedIndex = 0;
  for (int index = 0; index + 20 < load16bitMonoWave.length; index += 20) {
    waveDataThinned[reducedIndex] = load16bitMonoWave[index];
    reducedIndex++;
  }
  return waveDataThinned;
}
Logs
[  +47 ms] executing: [c:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +171 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] c19845a8c347adebc2c672f5e51b74855e645be2
[        ] executing: [c:\flutter/] git tag --points-at c19845a8c347adebc2c672f5e51b74855e645be2
[  +24 ms] Exit code 0 from: git tag --points-at c19845a8c347adebc2c672f5e51b74855e645be2
[        ] 2.7.0-3.0.pre
[   +6 ms] executing: [c:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +18 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [c:\flutter/] git ls-remote --get-url origin
[  +16 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +68 ms] executing: [c:\flutter/] git rev-parse --abbrev-ref HEAD
[  +18 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[  +49 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.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' 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.
[  +40 ms] executing: C:\Users\mark\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +35 ms] List of devices attached
           192.168.0.38:5555      device product:CPH1979 model:CPH1979 device:OP48A1 transport_id:1      
[   +5 ms] C:\Users\mark\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.0.38:5555 shell
getprop
[  +64 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsUwpEngineArtifacts' 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.
[  +60 ms] Skipping pub get: version match.
[  +77 ms] Generating C:\Users\mark\OneDrive\Desktop\SS
Development\janktest\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +43 ms] ro.hardware = mt6779
[        ] ro.build.characteristics = default
[  +25 ms] Initializing file store
[   +7 ms] Skipping target: gen_localizations
[   +4 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following
inputs have updated contents: C:\Users\mark\OneDrive\Desktop\SS
Development\janktest\.dart_tool\package_config_subset}
[  +16 ms] gen_dart_plugin_registrant: Complete
[   +1 ms] Skipping target: _composite
[   +1 ms] complete
[   +4 ms] Launching lib\main.dart on CPH1979 in debug mode...
[   +3 ms] c:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
c:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
c:\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  
C:\Users\mark\AppData\Local\Temp\flutter_tools.dd32c6e6\flutter_tool.a597404c\app.dill --packages        
C:\Users\mark\OneDrive\Desktop\SS Development\janktest\.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\c075001b96339384a97db4862b8ab8db.cache.dill.track.dill
--enable-experiment=alternative-invalidation-strategy
[   +6 ms] executing: C:\Users\mark\AppData\Local\Android\sdk\build-tools\31.0.0\aapt dump xmltree       
C:\Users\mark\OneDrive\Desktop\SS Development\janktest\build\app\outputs\flutter-apk\app.apk
AndroidManifest.xml
[   +7 ms] Exit code 0 from: C:\Users\mark\AppData\Local\Android\sdk\build-tools\31.0.0\aapt dump xmltree
C:\Users\mark\OneDrive\Desktop\SS Development\janktest\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.janktest" (Raw: "com.example.janktest")
               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: application (line=16)
                 A: android:label(0x01010001)="janktest" (Raw: "janktest")
                 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=21)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.janktest.MainActivity" (Raw:
                   "com.example.janktest.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=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw:        
                     "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=39)
                     E: action (line=40)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw:
                       "android.intent.action.MAIN")
                     E: category (line=42)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw:
                       "android.intent.category.LAUNCHER")
                 E: meta-data (line=49)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +8 ms] executing: C:\Users\mark\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.0.38:5555
shell -x logcat -v time -t 1
[  +10 ms] <- compile package:janktest/main.dart
[ +292 ms] --------- beginning of main
                    10-24 08:17:10.264 E/[email protected](  512): updateSleepTime      
                    mSleepTime=200: Device or resource busy
[   +7 ms] executing: C:\Users\mark\AppData\Local\Android\sdk\platform-tools\adb.exe version
[  +10 ms] Android Debug Bridge version 1.0.41
           Version 31.0.3-7562133
           Installed as C:\Users\mark\AppData\Local\Android\sdk\platform-tools\adb.exe
[   +1 ms] executing: C:\Users\mark\AppData\Local\Android\sdk\platform-tools\adb.exe start-server        
[  +11 ms] Building APK
[  +11 ms] Running Gradle task 'assembleDebug'...
[   +3 ms] Using gradle from C:\Users\mark\OneDrive\Desktop\SS Development\janktest\android\gradlew.bat. 
[   +3 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[  +99 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[        ] openjdk version "11.0.10" 2021-01-19
           OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
           OpenJDK 64-Bit Server VM (build 11.0.10+0-b96-7249189, mixed mode)
[   +1 ms] executing: [C:\Users\mark\OneDrive\Desktop\SS Development\janktest\android/]
C:\Users\mark\OneDrive\Desktop\SS Development\janktest\android\gradlew.bat -Pverbose=true
-Ptarget-platform=android-arm64 -Ptarget=C:\Users\mark\OneDrive\Desktop\SS
Development\janktest\lib\main.dart -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ==
-Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false
-Pfilesystem-scheme=org-dartlang-root assembleDebug
[ +773 ms] Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns
http://schemas.android.com/repository/android/common/01
[   +1 ms] Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns
http://schemas.android.com/repository/android/generic/01
[        ] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns       
http://schemas.android.com/sdk/android/repo/addon2/01
[        ] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns  
http://schemas.android.com/sdk/android/repo/repository2/01
[        ] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns     
http://schemas.android.com/sdk/android/repo/sys-img2/01
[+1994 ms] > Task :app:compileFlutterBuildDebug
[        ] [  +45 ms] executing: [c:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [ +174 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H       
[        ] [        ] c19845a8c347adebc2c672f5e51b74855e645be2
[        ] [        ] executing: [c:\flutter/] git tag --points-at
c19845a8c347adebc2c672f5e51b74855e645be2
[        ] [  +25 ms] Exit code 0 from: git tag --points-at c19845a8c347adebc2c672f5e51b74855e645be2     
[        ] [        ] 2.7.0-3.0.pre
[        ] [   +6 ms] executing: [c:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +18 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/beta
[        ] [        ] executing: [c:\flutter/] git ls-remote --get-url origin
[        ] [  +15 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +38 ms] executing: [c:\flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +18 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] beta
[        ] [  +39 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.
[        ] [   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.    
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' 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. 
[        ] [  +68 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [   +2 ms] 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 'WindowsUwpEngineArtifacts' 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.
[        ] [  +27 ms] Initializing file store
[        ] [  +15 ms] Skipping target: gen_localizations
[        ] [   +8 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged:   
The following inputs have updated contents: C:\Users\mark\OneDrive\Desktop\SS
Development\janktest\.dart_tool\package_config_subset}
[        ] [  +27 ms] gen_dart_plugin_registrant: Complete
[        ] [   +1 ms] kernel_snapshot: Starting due to {}
[        ] [   +8 ms] c:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
c:\flutter\bin\

https://user-images.githubusercontent.com/80554643/138573736-cea995fe-73c3-42a0-ace3-28afa952f2b8.MP4

cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
c:\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
C:\Users\mark\OneDrive\Desktop\SS Development\janktest\.dart_tool\package_config.json --output-dill      
C:\Users\mark\OneDrive\Desktop\SS
Development\janktest\.dart_tool\flutter_build\6f2d2252579d7f67f96a4aeb04bf2037\app.dill --depfile        
C:\Users\mark\OneDrive\Desktop\SS
Development\janktest\.dart_tool\flutter_build\6f2d2252579d7f67f96a4aeb04bf2037\kernel_snapshot.d
package:janktest/main.dart
[+4486 ms] [+5541 ms] kernel_snapshot: Complete
[ +293 ms] [ +336 ms] debug_android_application: Starting due to {}
[ +104 ms] [ +117 ms] Manifest contained wildcard assets. Inserting missing file into build graph to
force rerun. for more information see #56466.
[ +108 ms] [  +30 ms] debug_android_application: Complete
[ +496 ms] [ +523 ms] Persisting file store
[        ] [   +5 ms] Done persisting file store
[        ] [   +3 ms] build succeeded.
[        ] [   +8 ms] "flutter assemble" took 6,737ms.
[ +289 ms] [ +260 ms] ensureAnalyticsSent: 257ms
[        ] [        ] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[        ] Parameter format not correct -
[ +114 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig 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 :app:mergeDebugAssets
[ +288 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :app:processDebugMainManifest UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugManifestForPackage UP-TO-DATE
[        ] > Task :app:processDebugResources 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 :app:processDebugJavaRes NO-SOURCE
[        ] > Task :app:mergeDebugJavaResource 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
[ +102 ms] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders 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
[  +51 ms] > Task :app:assembleDebug
[        ] 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 9s
[        ] 32 actionable tasks: 5 executed, 27 up-to-date
[ +509 ms] Running Gradle task 'assembleDebug'... (completed in 9.8s)
[  +40 ms] calculateSha: LocalDirectory: 'C:\Users\mark\OneDrive\Desktop\SS
Development\janktest\build\app\outputs\flutter-apk'/app.apk
[ +625 ms] √  Built build\app\outputs\flutter-apk\app-debug.apk.
[   +2 ms] executing: C:\Users\mark\AppData\Local\Android\sdk\build-tools\31.0.0\aapt dump xmltree
C:\Users\mark\OneDrive\Desktop\SS Development\janktest\build\app\outputs\flutter-apk\app.apk
AndroidManifest.xml
[   +7 ms] Exit code 0 from: C:\Users\mark\AppData\Local\Android\sdk\build-tools\31.0.0\aapt dump xmltree
C:\Users\mark\OneDrive\Desktop\SS Development\janktest\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.janktest" (Raw: "com.example.janktest")
               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: application (line=16)
                 A: android:label(0x01010001)="janktest" (Raw: "janktest")
                 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=21)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.janktest.MainActivity" (Raw:
                   "com.example.janktest.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=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw:        
                     "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=39)
                     E: action (line=40)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw:
                       "android.intent.action.MAIN")
                     E: category (line=42)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw:
                       "android.intent.category.LAUNCHER")
                 E: meta-data (line=49)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +3 ms] Stopping app 'app.apk' on CPH1979.
[        ] executing: C:\Users\mark\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.0.38:5555
shell am force-stop com.example.janktest
[ +547 ms] executing: C:\Users\mark\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.0.38:5555
shell pm list packages com.example.janktest
[ +105 ms] package:com.example.janktest
[   +1 ms] executing: C:\Users\mark\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.0.38:5555
shell cat /data/local/tmp/sky.com.example.janktest.sha1
[  +37 ms] 9d2b1e045f1269930aa2c064d8115030fbd2cbaf
[        ] Latest build already installed.
[        ] executing: C:\Users\mark\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.0.38:5555
shell -x logcat -v time -t 1
[  +51 ms] --------- beginning of main
           10-24 08:17:21.810 E/[email protected](  512): updateSleepTime 1: Device or  
           resource busy
[   +3 ms] executing: C:\Users\mark\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.0.38:5555
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.janktest/com.example.janktest.MainActivity
[ +111 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000
cmp=com.example.janktest/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[ +631 ms] Observatory URL on device: http://127.0.0.1:43367/4H9fTxRs6nk=/
[        ] executing: C:\Users\mark\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.0.38:5555
forward tcp:0 tcp:43367
[  +11 ms] 61006
[        ] Forwarded host port 61006 to device port 43367 for Observatory
[   +3 ms] Caching compiled dill
[  +15 ms] Connecting to service protocol: http://127.0.0.1:61006/4H9fTxRs6nk=/
[ +422 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:61006/4H9fTxRs6nk=/.
[ +445 ms] DDS is listening at http://127.0.0.1:61010/iQhhoxGEvu0=/.
[  +35 ms] Successfully connected to service protocol: http://127.0.0.1:61006/4H9fTxRs6nk=/
[ +118 ms] DevFS: Creating new filesystem on the device (null)
[  +57 ms] DevFS: Created new filesystem on the device
(file:///data/user/0/com.example.janktest/code_cache/janktestJOQOIJ/janktest/)
[   +1 ms] Updating assets
[  +46 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun.
for more information see #56466.
[   +3 ms] Syncing files to device CPH1979...
[   +1 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +1 ms] <- recompile package:janktest/main.dart ee1d23bd-4d88-4d7b-ad09-f8874bba0b20
[        ] <- ee1d23bd-4d88-4d7b-ad09-f8874bba0b20
[  +62 ms] Updating files.
[        ] DevFS: Sync finished
[        ] Syncing files to device CPH1979... (completed in 66ms)
[        ] Synced 0.0MB.
[   +1 ms] <- accept
[   +4 ms] Connected to _flutterView/0xb4000076132d3220.
[   +1 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 
[        ] R Hot restart.
[        ] h List all available interactive commands.
[        ] 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 CPH1979 is available at:
http://127.0.0.1:61010/iQhhoxGEvu0=/
[+2206 ms] The Flutter DevTools debugger and profiler on CPH1979 is available at:
                    http://127.0.0.1:9103?uri=http://127.0.0.1:61010/iQhhoxGEvu0=/
[+28440 ms] V/PhoneWindow(30325): DecorView setVisiblity: visibility = 0, Parent =
android.view.ViewRootImpl@1808d83, this = DecorView@52c5b00[MainActivity]
[        ] V/PhoneWindow(30325): DecorView setVisiblity: visibility = 0, Parent =
android.view.ViewRootImpl@1808d83, this = DecorView@52c5b00[MainActivity]
[        ] V/OplusZoomWindowDecorViewHelper(30325): setLastReportedMergedConfiguration
mZoomDisplayHeight: 1080 getDecorView.DecorView@52c5b00[MainActivity]
[        ] E/libEGL  (30325): Invalid file path for libcolorx-loader.so
[        ] D/libMEOW (30325): applied 1 plugins for [com.example.janktest]:
[        ] D/libMEOW (30325):   plugin 1: [libMEOW_gift.so]:
[        ] I/libMEOW_gift(30325): ctx:0xb400007663491d80, ARC not Enabled.
[        ] E/libEGL  (30325): Invalid file path for libcolorx-loader.so
[        ] I/chatty  (30325): uid=10511(com.example.janktest) RenderThread identical 5 lines
[        ] E/libEGL  (30325): Invalid file path for libcolorx-loader.so
[        ] D/libMEOW (30325): applied 1 plugins for [com.example.janktest]:
[        ] D/libMEOW (30325):   plugin 1: [libMEOW_gift.so]:
[        ] E/libEGL  (30325): Invalid file path for libcolorx-loader.so
[        ] I/chatty  (30325): uid=10511(com.example.janktest) RenderThread identical 7 lines
[        ] E/libEGL  (30325): Invalid file path for libcolorx-loader.so
[        ] E/libEGL  (30325): Invalid file path for libcolorx-loader.so
[        ] I/chatty  (30325): uid=10511(com.example.janktest) RenderThread identical 49 lines
[        ] E/libEGL  (30325): Invalid file path for libcolorx-loader.so
[        ] E/ion     (30325): ioctl c0044901 failed with code -1: Invalid argument
[        ] E/libEGL  (30325): Invalid file path for libcolorx-loader.so
[  +15 ms] I/chatty  (30325): uid=10511(com.example.janktest) 1.raster identical 15 lines
[  +12 ms] E/libEGL  (30325): Invalid file path for libcolorx-loader.so
[        ] E/libEGL  (30325): Invalid file path for libcolorx-loader.so
[        ] I/chatty  (30325): uid=10511(com.example.janktest) 1.raster identical 41 lines
[        ] E/libEGL  (30325): Invalid file path for libcolorx-loader.so
Analyzing janktest...                                                   
No issues found! (ran in 2.2s)
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, 2.7.0-3.0.pre, on Microsoft Windows [Version 10.0.22000.282], locale en-AU)
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.2)
[√] Android Studio (version 2020.3)
[√] VS Code (version 1.61.2)
[√] Connected device (4 available)
• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: performanceRelates to speed or footprint issues (see "perf:" labels)c: regressionIt was better in the past than it is nowdependency: skiaSkia team may need to help usengineflutter/engine related. See also e: labels.found in release: 2.6Found to occur in 2.6has reproducible stepsThe issue has been confirmed reproducible and is ready to work onperf: speedPerformance issues related to (mostly rendering) speedplatform-androidAndroid applications specificallyr: duplicateIssue is closed as a duplicate of an existing issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions