Repository: flutter
Issue: [android] aaptOptions noCompress doesn't work in release build 
Labels: platform-android,tool,a: assets,a: build,a: release,has reproducible steps,P2,found in release: 2.2,found in release: 2.4,team-android,triaged-android

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Steps to Reproduce
<!-- You must include full steps to reproduce so that we can reproduce the problem. -->

I am trying to pass a binary file from flutter asset to java.
1. Add model to `pubspec.yaml` file
```yaml
  assets:
    - assets/models/opennlp-en-ud-ewt-sentence.bin
```
2. App-level `build.gradle`
```gradle
    aaptOptions {
        noCompress "bin"
    }
```
3. JAVA Side:
```java
    String modelPath = args.get(1);

    AssetManager assetManager = context.getResources().getAssets();
    FlutterLoader loader = FlutterInjector.instance().flutterLoader();
    String key = loader.getLookupKeyForAsset(modelPath);
    InputStream fd = null;

    try {
      fd = assetManager.open(key);
    } catch (IOException e) {
      e.printStackTrace();
      Log.e("sentence_detector", "Error loading asset model!");
    }
    try {
      assert fd != null;
      SentenceModel model = new SentenceModel(fd);

      SentenceDetectorME detector = new SentenceDetectorME(model);

      String[] sentences = detector.sentDetect(text);
      List<String> sentencesList = Arrays.asList(sentences);

      result.success(sentencesList);
    } catch (IOException e) {
      e.printStackTrace();
      Log.e("sentence_detector", "Error sentence detection!");
    }
```

**Expected results:** <!-- what did you want to see? -->
Works fine in debug mode but fails in release mode.

```
I/flutter (13013): Usually Sentence Detection is done before the text is tokenized and that's the way the pre-trained models on the web site are trained, but it is also possible to perform tokenization first and let the Sentence Detector process the already tokenized text.
I/flutter (13013): The OpenNLP Sentence Detector cannot identify sentence boundaries based on the contents of the sentence.
I/flutter (13013): A prominent example is the first sentence in an article where the title is mistakenly identified to be the first part of the first sentence.
I/flutter (13013): Most components in OpenNLP expect input which is segmented into sentences.
```

**Actual results:** <!-- what did you see? -->
In Release Mode:
```bash
I/flutter (22845): PlatformException(error, b.a.d.c: Could not instantiate the opennlp.tools.sentdetect.SentenceDetectorFactory. The initialization throw an exception., null, java.lang.IllegalArgumentException: b.a.d.c: Could not instantiate the opennlp.tools.sentdetect.SentenceDetectorFactory. The initialization throw an exception.
I/flutter (22845):      at b.a.d.i.c.j(Unknown Source:31)
I/flutter (22845):      at b.a.d.i.c.l(Unknown Source:82)
I/flutter (22845):      at b.a.d.i.c.<init>(Unknown Source:4)
I/flutter (22845):      at b.a.c.g.<init>(Unknown Source:2)
I/flutter (22845):      at com.devsonflutter.sentence_detection.SentenceDetectionPlugin.sentenceDetection(Unknown Source:61)
I/flutter (22845):      at com.devsonflutter.sentence_detection.SentenceDetectionPlugin.onMethodCall(Unknown Source:10)
I/flutter (22845):      at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(Unknown Source:17)
I/flutter (22845):      at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(Unknown Source:57)
I/flutter (22845):      at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(Unknown Source:4)
I/flutter (22845):      at android.os.MessageQueue.nativePollOnce(Native Method)
I/flutter (22845):      at android.os.MessageQueue.nex
```

Tried adding asset from java side, but the same error occurs every time.

<details>
  <summary>Logs</summary>

<!--
      Run your application with `flutter run --verbose` and attach all the
      log output below between the lines with the backticks. If there is an
      exception, please see if the error message includes enough information
      to explain how to solve the issue.
-->

```
[  +93 ms] executing: [C:\Users\Divyanshu Shekhar\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +748 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +2 ms] f4abaa0735eba4dfd8f33f73363911d63931fe03
[   +1 ms] executing: [C:\Users\Divyanshu Shekhar\flutter/] git tag --points-at f4abaa0735eba4dfd8f33f73363911d63931fe03
[ +416 ms] Exit code 0 from: git tag --points-at f4abaa0735eba4dfd8f33f73363911d63931fe03
[   +1 ms] 2.2.3
[  +10 ms] executing: [C:\Users\Divyanshu Shekhar\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +107 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] origin/stable
[        ] executing: [C:\Users\Divyanshu Shekhar\flutter/] git ls-remote --get-url origin
[  +92 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[ +363 ms] executing: [C:\Users\Divyanshu Shekhar\flutter/] git rev-parse --abbrev-ref HEAD
[  +95 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[ +140 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.
[   +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +7 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.
[ +146 ms] executing: C:\Users\Divyanshu Shekhar\.android\platform-tools\adb.exe devices -l
[  +85 ms] List of devices attached
           5200119a596d555d       device product:starltexx model:SM_G960F device:starlte transport_id:2
[  +10 ms] C:\Users\Divyanshu Shekhar\.android\platform-tools\adb.exe -s 5200119a596d555d shell getprop
[ +120 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +2 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.
[ +137 ms] Skipping pub get: version match.
[  +44 ms] Found plugin sentence_detection at D:\git\flutter_plugin\sentence_detection\
[ +209 ms] Found plugin sentence_detection at D:\git\flutter_plugin\sentence_detection\
[   +8 ms] Generating D:\git\flutter_plugin\sentence_detection\example\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +76 ms] ro.hardware = samsungexynos7870
[  +63 ms] Initializing file store
[  +13 ms] Skipping target: gen_localizations
[   +6 ms] complete
[   +5 ms] Launching lib\main.dart on SM G960F in debug mode...
[   +9 ms] C:\Users\Divyanshu Shekhar\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\Users\Divyanshu
Shekhar\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\Users\Divyanshu Shekhar\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\DIVYAN~1\AppData\Local\Temp\flutter_tools.55793f52\flutter_tool.5d315b4e\app.dill --packages D:\git\flutter_plugin\sentence_detection\example\.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
[  +21 ms] executing: C:\Users\Divyanshu Shekhar\.android\build-tools\30.0.2\aapt dump xmltree D:\git\flutter_plugin\sentence_detection\example\build\app\outputs\flutter-apk\app.apk
AndroidManifest.xml
[  +79 ms] Exit code 0 from: C:\Users\Divyanshu Shekhar\.android\build-tools\30.0.2\aapt dump xmltree D:\git\flutter_plugin\sentence_detection\example\build\app\outputs\flutter-apk\app.apk
AndroidManifest.xml
[   +1 ms] 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" (Raw: "1.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.devsonflutter.sentence_detection.sentence_detection_example" (Raw: "com.devsonflutter.sentence_detection.sentence_detection_example")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x15
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: application (line=11)
                 A: android:label(0x01010001)="sentence_detection_example" (Raw: "sentence_detection_example")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=15)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.devsonflutter.sentence_detection.sentence_detection_example.MainActivity" (Raw:
                   "com.devsonflutter.sentence_detection.sentence_detection_example.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=29)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=39)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=43)
                     E: action (line=44)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=46)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=53)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[  +22 ms] executing: C:\Users\Divyanshu Shekhar\.android\platform-tools\adb.exe -s 5200119a596d555d shell -x logcat -v time -t 1
[  +24 ms] <- compile package:sentence_detection_example/main.dart
[ +156 ms] --------- beginning of system
                    07-16 10:36:37.144 I/android.hardware.wifi@1.0-service( 2816): Successfully getLinkLayerStats.
[  +30 ms] executing: C:\Users\Divyanshu Shekhar\.android\platform-tools\adb.exe version
[ +167 ms] Android Debug Bridge version 1.0.41
                    Version 29.0.5-5949299
                    Installed as C:\Users\Divyanshu Shekhar\.android\platform-tools\adb.exe
[   +6 ms] executing: C:\Users\Divyanshu Shekhar\.android\platform-tools\adb.exe start-server
[  +52 ms] Building APK
[  +33 ms] Running Gradle task 'assembleDebug'...
[  +32 ms] Using gradle from D:\git\flutter_plugin\sentence_detection\example\android\gradlew.bat.
[  +25 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +267 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[   +1 ms] openjdk version "11.0.8" 2020-07-14
           OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
           OpenJDK 64-Bit Server VM (build 11.0.8+10-b944.6842174, mixed mode)
[   +4 ms] executing: [D:\git\flutter_plugin\sentence_detection\example\android/] D:\git\flutter_plugin\sentence_detection\example\android\gradlew.bat -Pverbose=true
-Ptarget-platform=android-arm64 -Ptarget=D:\git\flutter_plugin\sentence_detection\example\lib\main.dart -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false       
-Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+1341 ms] Welcome to Gradle 6.7.1!
[ +268 ms] Here are the highlights of this release:
[   +1 ms]  - File system watching is ready for production use
[        ]  - Declare the version of Java your build requires
[        ]  - Java 15 support
[   +1 ms] For more details see https://docs.gradle.org/6.7.1/release-notes.html
[+2394 ms] > Configure project :app
[   +1 ms] WARNING:: DSL element 'useProguard' is obsolete.
[        ] It will be removed in version 7.0 of the Android Gradle plugin.
[   +1 ms] Use 'android.enableR8' in gradle.properties to switch between R8 and Proguard.
[+1187 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE
[   +2 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[   +1 ms] > Task :app:preBuild UP-TO-DATE
[   +3 ms] > Task :app:preDebugBuild UP-TO-DATE
[   +2 ms] > Task :sentence_detection:preBuild UP-TO-DATE
[   +2 ms] > Task :sentence_detection:preDebugBuild UP-TO-DATE
[   +1 ms] > Task :sentence_detection:compileDebugAidl NO-SOURCE
[   +3 ms] > Task :app:compileDebugAidl NO-SOURCE
[  +33 ms] > Task :sentence_detection:packageDebugRenderscript NO-SOURCE
[   +2 ms] > Task :app:compileDebugRenderscript NO-SOURCE
[   +1 ms] > Task :app:generateDebugBuildConfig UP-TO-DATE
[   +2 ms] > Task :app:javaPreCompileDebug UP-TO-DATE
[   +1 ms] > Task :sentence_detection:writeDebugAarMetadata UP-TO-DATE
[  +54 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE
[ +190 ms] > Task :app:cleanMergeDebugAssets
[   +1 ms] > Task :app:mergeDebugShaders UP-TO-DATE
[   +1 ms] > Task :app:compileDebugShaders NO-SOURCE
[   +1 ms] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :sentence_detection:mergeDebugShaders UP-TO-DATE
[        ] > Task :sentence_detection:compileDebugShaders NO-SOURCE
[        ] > Task :sentence_detection:generateDebugAssets UP-TO-DATE
[        ] > Task :sentence_detection:packageDebugAssets UP-TO-DATE
[  +96 ms] > Task :app:mergeDebugAssets
[+1000 ms] > Task :app:copyFlutterAssetsDebug
[   +1 ms] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :sentence_detection:compileDebugRenderscript NO-SOURCE
[   +1 ms] > Task :sentence_detection:generateDebugResValues UP-TO-DATE
[   +1 ms] > Task :sentence_detection:generateDebugResources UP-TO-DATE
[   +1 ms] > Task :sentence_detection:packageDebugResources UP-TO-DATE
[ +207 ms] > Task :app:mergeDebugResources UP-TO-DATE
[   +4 ms] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[   +3 ms] > Task :app:extractDeepLinksDebug UP-TO-DATE
[   +2 ms] > Task :sentence_detection:extractDeepLinksDebug UP-TO-DATE
[   +3 ms] > Task :sentence_detection:processDebugManifest UP-TO-DATE
[  +85 ms] > Task :app:processDebugMainManifest UP-TO-DATE
[   +1 ms] > Task :app:processDebugManifest UP-TO-DATE
[   +1 ms] > Task :app:processDebugManifestForPackage UP-TO-DATE
[   +1 ms] > Task :sentence_detection:compileDebugLibraryResources UP-TO-DATE
[        ] > Task :sentence_detection:parseDebugLocalResources UP-TO-DATE
[  +87 ms] > Task :sentence_detection:generateDebugRFile UP-TO-DATE
[ +123 ms] > Task :app:processDebugResources UP-TO-DATE
[  +89 ms] > Task :sentence_detection:generateDebugBuildConfig UP-TO-DATE
[   +5 ms] > Task :sentence_detection:javaPreCompileDebug UP-TO-DATE
[ +971 ms] > Task :sentence_detection:compileDebugJavaWithJavac
[   +1 ms] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[        ] > Task :sentence_detection:bundleLibCompileToJarDebug
[  +97 ms] > Task :app:compressDebugAssets UP-TO-DATE
[   +6 ms] > Task :app:processDebugJavaRes NO-SOURCE
[   +1 ms] > Task :sentence_detection:processDebugJavaRes NO-SOURCE
[  +10 ms] > Task :sentence_detection:bundleLibResDebug NO-SOURCE
[   +1 ms] > Task :app:mergeDebugJavaResource UP-TO-DATE
[ +124 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[   +3 ms] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[  +62 ms] > Task :app:mergeExtDexDebug UP-TO-DATE
[   +4 ms] > Task :sentence_detection:bundleLibRuntimeToJarDebug
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[  +98 ms] > Task :sentence_detection:mergeDebugJniLibFolders UP-TO-DATE
[   +3 ms] > Task :sentence_detection:mergeDebugNativeLibs NO-SOURCE
[        ] > Task :sentence_detection:stripDebugDebugSymbols NO-SOURCE
[        ] > Task :sentence_detection:copyDebugJniLibsProjectOnly UP-TO-DATE
[        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[   +1 ms] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[   +1 ms] > Task :app:validateSigningDebug UP-TO-DATE
[   +1 ms] > Task :app:writeDebugAppMetadata UP-TO-DATE
[   +1 ms] > Task :app:writeDebugSigningConfigVersions UP-TO-DATE
[   +1 ms] > Task :sentence_detection:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[ +169 ms] > Task :sentence_detection:extractDebugAnnotations
[   +1 ms] > Task :sentence_detection:mergeDebugGeneratedProguardFiles UP-TO-DATE
[   +1 ms] > Task :sentence_detection:mergeDebugConsumerProguardFiles UP-TO-DATE
[        ] > Task :sentence_detection:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :sentence_detection:mergeDebugJavaResource UP-TO-DATE
[ +107 ms] > Task :sentence_detection:syncDebugLibJars
[   +1 ms] > Task :sentence_detection:bundleDebugAar
[        ] > Task :sentence_detection:compileDebugSources
[   +1 ms] > Task :sentence_detection:assembleDebug
[  +92 ms] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[   +1 ms] > Task :app:compileDebugSources UP-TO-DATE
[   +1 ms] > Task :app:dexBuilderDebug UP-TO-DATE
[   +1 ms] > Task :app:mergeProjectDexDebug UP-TO-DATE
[ +495 ms] > Task :app:mergeLibDexDebug
[+2606 ms] > Task :app:packageDebug
[ +878 ms] > Task :app:assembleDebug
[   +1 ms] 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.
[   +1 ms] See https://docs.gradle.org/6.7.1/userguide/command_line_interface.html#sec:command_line_warnings
[   +1 ms] BUILD SUCCESSFUL in 12s
[        ] 59 actionable tasks: 12 executed, 47 up-to-date
[ +751 ms] Running Gradle task 'assembleDebug'... (completed in 14.1s)
[+1323 ms] calculateSha: LocalDirectory: 'D:\git\flutter_plugin\sentence_detection\example\build\app\outputs\flutter-apk'/app.apk
[+2873 ms] √  Built build\app\outputs\flutter-apk\app-debug.apk.
[  +67 ms] executing: C:\Users\Divyanshu Shekhar\.android\build-tools\30.0.2\aapt dump xmltree D:\git\flutter_plugin\sentence_detection\example\build\app\outputs\flutter-apk\app.apk
AndroidManifest.xml
[ +105 ms] Exit code 0 from: C:\Users\Divyanshu Shekhar\.android\build-tools\30.0.2\aapt dump xmltree D:\git\flutter_plugin\sentence_detection\example\build\app\outputs\flutter-apk\app.apk
AndroidManifest.xml
[   +1 ms] 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" (Raw: "1.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.devsonflutter.sentence_detection.sentence_detection_example" (Raw: "com.devsonflutter.sentence_detection.sentence_detection_example")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x15
                 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)="sentence_detection_example" (Raw: "sentence_detection_example")
                 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.devsonflutter.sentence_detection.sentence_detection_example.MainActivity" (Raw:
                   "com.devsonflutter.sentence_detection.sentence_detection_example.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: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +8 ms] Stopping app 'app.apk' on SM G960F.
[        ] executing: C:\Users\Divyanshu Shekhar\.android\platform-tools\adb.exe -s 5200119a596d555d shell am force-stop com.devsonflutter.sentence_detection.sentence_detection_example       
[ +147 ms] executing: C:\Users\Divyanshu Shekhar\.android\platform-tools\adb.exe -s 5200119a596d555d shell pm list packages com.devsonflutter.sentence_detection.sentence_detection_example
[ +127 ms] package:com.devsonflutter.sentence_detection.sentence_detection_example
[   +7 ms] executing: C:\Users\Divyanshu Shekhar\.android\platform-tools\adb.exe -s 5200119a596d555d shell cat
/data/local/tmp/sky.com.devsonflutter.sentence_detection.sentence_detection_example.sha1
[  +89 ms] 897041e72bb5697b15f15c6c8dcfa2cb2011cba3
[   +1 ms] Installing APK.
[   +2 ms] Installing build\app\outputs\flutter-apk\app.apk...
[        ] executing: C:\Users\Divyanshu Shekhar\.android\platform-tools\adb.exe -s 5200119a596d555d install -t -r
D:\git\flutter_plugin\sentence_detection\example\build\app\outputs\flutter-apk\app.apk
[+11254 ms] Performing Streamed Install
                     Success
[   +1 ms] Installing build\app\outputs\flutter-apk\app.apk... (completed in 11.3s)
[   +8 ms] executing: C:\Users\Divyanshu Shekhar\.android\platform-tools\adb.exe -s 5200119a596d555d shell echo -n 3c3e070f9b58555623ddb1b4a4755dce2644a705 >
/data/local/tmp/sky.com.devsonflutter.sentence_detection.sentence_detection_example.sha1
[ +140 ms] executing: C:\Users\Divyanshu Shekhar\.android\platform-tools\adb.exe -s 5200119a596d555d shell -x logcat -v time -t 1
[ +267 ms] --------- beginning of main
                    07-16 10:37:07.956 I/SEMS:DataAdapterLog_1.0(20668): [2][DeviceUtils] isSamsungAccountSignedIn : true
[  +11 ms] executing: C:\Users\Divyanshu Shekhar\.android\platform-tools\adb.exe -s 5200119a596d555d 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.devsonflutter.sentence_detection.sentence_detection_example/com.devsonflutter.sentence_detection.sentence_detection_example.MainActivity
[ +261 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.devsonflutter.sentence_detection.sentence_detection_example/.MainActivity (has extras) }
[   +1 ms] Waiting for observatory port to be available...
[+2399 ms] Observatory URL on device: http://127.0.0.1:53863/ndGSTWfvlHQ=/
[   +3 ms] executing: C:\Users\Divyanshu Shekhar\.android\platform-tools\adb.exe -s 5200119a596d555d forward tcp:0 tcp:53863
[  +42 ms] 5761
[   +1 ms] Forwarded host port 5761 to device port 53863 for Observatory
[  +12 ms] Caching compiled dill
[ +152 ms] Connecting to service protocol: http://127.0.0.1:5761/ndGSTWfvlHQ=/
[ +863 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:5761/ndGSTWfvlHQ=/.
[ +211 ms] DDS is listening at http://127.0.0.1:5768/wCaip_1-V9w=/.
[ +121 ms] Successfully connected to service protocol: http://127.0.0.1:5761/ndGSTWfvlHQ=/
[  +45 ms] DevFS: Creating new filesystem on the device (null)
[  +76 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.devsonflutter.sentence_detection.sentence_detection_example/code_cache/exampleFEAFZK/example/)
[   +5 ms] Updating assets
[ +251 ms] Syncing files to device SM G960F...
[   +3 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +5 ms] <- recompile package:sentence_detection_example/main.dart a9febac4-3bf0-42ce-85fa-01fae000e1d5
[        ] <- a9febac4-3bf0-42ce-85fa-01fae000e1d5
[ +167 ms] Updating files.
[        ] DevFS: Sync finished
[   +2 ms] Syncing files to device SM G960F... (completed in 179ms)
[   +1 ms] Synced 0.0MB.
[   +2 ms] <- accept
[  +28 ms] Connected to _flutterView/0x7f21b73020.
[   +4 ms] Flutter run key commands.
[   +3 ms] r Hot reload. 
[   +1 ms] R Hot restart.
[   +1 ms] h Repeat this help message.
[   +1 ms] d Detach (terminate "flutter run" but leave application running).
[   +1 ms] c Clear the screen
[   +2 ms] q Quit (terminate the application on the device).
[        ]  Running with sound null safety 
[   +1 ms] An Observatory debugger and profiler on SM G960F is available at: http://127.0.0.1:5768/wCaip_1-V9w=/
[+1543 ms] The Flutter DevTools debugger and profiler on SM G960F is available at: http://127.0.0.1:9103?uri=http%3A%2F%2F127.0.0.1%3A5768%2FwCaip_1-V9w%3D%2F
[ +824 ms] D/ViewRootImpl@bcd184e[MainActivity](24116): Relayout returned: old=[0,0][720,1480] new=[0,0][720,1480] result=0x1 surface={valid=true 545615224832} changed=false
[+4753 ms] D/ViewRootImpl@bcd184e[MainActivity](24116): ViewPostIme pointer 0
[  +89 ms] D/ViewRootImpl@bcd184e[MainActivity](24116): ViewPostIme pointer 1
[ +275 ms] I/tection_exampl(24116): Rejecting re-init on previously-failed class java.lang.Class<opennlp.tools.util.ext.OSGiExtensionLoader>: java.lang.NoClassDefFoundError: Failed resolutionof: Lorg/osgi/framework/BundleActivator;
[   +2 ms] I/tection_exampl(24116):   at java.lang.Object opennlp.tools.util.ext.ExtensionLoader.instantiateExtension(java.lang.Class, java.lang.String) (ExtensionLoader.java:65)
[   +1 ms] I/tection_exampl(24116):   at opennlp.tools.util.BaseToolFactory opennlp.tools.util.BaseToolFactory.create(java.lang.String, opennlp.tools.util.model.ArtifactProvider)
(BaseToolFactory.java:108)
[   +1 ms] I/tection_exampl(24116):   at void opennlp.tools.util.model.BaseModel.initializeFactory() (BaseModel.java:257)
[   +1 ms] I/tection_exampl(24116):   at void opennlp.tools.util.model.BaseModel.loadModel(java.io.InputStream) (BaseModel.java:234)
[        ] I/tection_exampl(24116):   at void opennlp.tools.util.model.BaseModel.<init>(java.lang.String, java.io.InputStream) (BaseModel.java:176)
[        ] I/tection_exampl(24116):   at void opennlp.tools.sentdetect.SentenceModel.<init>(java.io.InputStream) (SentenceModel.java:92)
[        ] I/tection_exampl(24116):   at void com.devsonflutter.sentence_detection.SentenceDetectionPlugin.sentenceDetection(io.flutter.plugin.common.MethodCall,
io.flutter.plugin.common.MethodChannel$Result) (SentenceDetectionPlugin.java:69)
[   +1 ms] I/tection_exampl(24116):   at void com.devsonflutter.sentence_detection.SentenceDetectionPlugin.onMethodCall(io.flutter.plugin.common.MethodCall,
io.flutter.plugin.common.MethodChannel$Result) (SentenceDetectionPlugin.java:45)
[   +1 ms] I/tection_exampl(24116):   at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer,
io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:233)
[   +1 ms] I/tection_exampl(24116):   at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:85)
[        ] I/tection_exampl(24116):   at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:818)
[        ] I/tection_exampl(24116):   at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)
[        ] I/tection_exampl(24116):   at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:326)
[   +1 ms] I/tection_exampl(24116):   at void android.os.Looper.loop() (Looper.java:181)
[        ] I/tection_exampl(24116):   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6986)
[   +1 ms] I/tection_exampl(24116):   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
[   +1 ms] I/tection_exampl(24116):   at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:493)
[        ] I/tection_exampl(24116):   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:1445)
[        ] I/tection_exampl(24116): Caused by: java.lang.ClassNotFoundException: Didn't find class "org.osgi.framework.BundleActivator" on path: DexPathList[[zip file
"/data/app/com.devsonflutter.sentence_detection.sentence_detection_example-2dXA4efwJEUQEbFTUgvJFQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.devsonflutter.sentence_detection.sentence_detection_example-2dXA4efwJEUQEbFTUgvJFQ==/lib/arm64, /data/app/com.devsonflutter.sentence_detection.sentence_detection_example-2dXA4efwJEUQEbFTUgvJFQ==/base.apk!/lib/arm64-v8a,
/system/lib64, /vendor/lib64]]
[   +1 ms] I/tection_exampl(24116):   at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:134)
[        ] I/tection_exampl(24116):   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
[   +1 ms] I/tection_exampl(24116):   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
[   +1 ms] I/tection_exampl(24116):   at java.lang.Object opennlp.tools.util.ext.ExtensionLoader.instantiateExtension(java.lang.Class, java.lang.String) (ExtensionLoader.java:65)
[   +1 ms] I/tection_exampl(24116):   at opennlp.tools.util.BaseToolFactory opennlp.tools.util.BaseToolFactory.create(java.lang.String, opennlp.tools.util.model.ArtifactProvider)
(BaseToolFactory.java:108)
[   +1 ms] I/tection_exampl(24116):   at void opennlp.tools.util.model.BaseModel.initializeFactory() (BaseModel.java:257)
[        ] I/tection_exampl(24116):   at void opennlp.tools.util.model.BaseModel.loadModel(java.io.InputStream) (BaseModel.java:234)
[   +1 ms] I/tection_exampl(24116):   at void opennlp.tools.util.model.BaseModel.<init>(java.lang.String, java.io.InputStream) (BaseModel.java:176)
[   +3 ms] I/tection_exampl(24116):   at void opennlp.tools.sentdetect.SentenceModel.<init>(java.io.InputStream) (SentenceModel.java:92)
[   +1 ms] I/tection_exampl(24116):   at void com.devsonflutter.sentence_detection.SentenceDetectionPlugin.sentenceDetection(io.flutter.plugin.common.MethodCall,
io.flutter.plugin.common.MethodChannel$Result) (SentenceDetectionPlugin.java:69)
[   +2 ms] I/tection_exampl(24116):   at void com.devsonflutter.sentence_detection.SentenceDetectionPlugin.onMethodCall(io.flutter.plugin.common.MethodCall,
io.flutter.plugin.common.MethodChannel$Result) (SentenceDetectionPlugin.java:45)
[   +2 ms] I/tection_exampl(24116):   at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer,
io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:233)
[   +1 ms] I/tection_exampl(24116):   at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:85)
[        ] I/tection_exampl(24116):   at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:818)
[        ] I/tection_exampl(24116):   at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)
[        ] I/tection_exampl(24116):   at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:326)
[        ] I/tection_exampl(24116):   at void android.os.Looper.loop() (Looper.java:181)
[        ] I/tection_exampl(24116):   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6986)
[   +1 ms] I/tection_exampl(24116):   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
[        ] I/tection_exampl(24116):   at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:493)
[   +1 ms] I/tection_exampl(24116):   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:1445)
[   +1 ms] I/tection_exampl(24116): 
[        ] I/tection_exampl(24116): Rejecting re-init on previously-failed class java.lang.Class<opennlp.tools.util.ext.OSGiExtensionLoader>: java.lang.NoClassDefFoundError: Failed resolutionof: Lorg/osgi/framework/BundleActivator;
[   +1 ms] I/tection_exampl(24116):   at java.lang.Object opennlp.tools.util.ext.ExtensionLoader.instantiateExtension(java.lang.Class, java.lang.String) (ExtensionLoader.java:65)
[   +1 ms] I/tection_exampl(24116):   at opennlp.tools.util.BaseToolFactory opennlp.tools.util.BaseToolFactory.create(java.lang.String, opennlp.tools.util.model.ArtifactProvider)
(BaseToolFactory.java:108)
[   +1 ms] I/tection_exampl(24116):   at void opennlp.tools.util.model.BaseModel.initializeFactory() (BaseModel.java:257)
[        ] I/tection_exampl(24116):   at void opennlp.tools.util.model.BaseModel.loadModel(java.io.InputStream) (BaseModel.java:234)
[   +1 ms] I/tection_exampl(24116):   at void opennlp.tools.util.model.BaseModel.<init>(java.lang.String, java.io.InputStream) (BaseModel.java:176)
[   +2 ms] I/tection_exampl(24116):   at void opennlp.tools.sentdetect.SentenceModel.<init>(java.io.InputStream) (SentenceModel.java:92)
[        ] I/tection_exampl(24116):   at void com.devsonflutter.sentence_detection.SentenceDetectionPlugin.sentenceDetection(io.flutter.plugin.common.MethodCall,
io.flutter.plugin.common.MethodChannel$Result) (SentenceDetectionPlugin.java:69)
[   +1 ms] I/tection_exampl(24116):   at void com.devsonflutter.sentence_detection.SentenceDetectionPlugin.onMethodCall(io.flutter.plugin.common.MethodCall,
io.flutter.plugin.common.MethodChannel$Result) (SentenceDetectionPlugin.java:45)
[   +1 ms] I/tection_exampl(24116):   at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer,
io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:233)
[   +1 ms] I/tection_exampl(24116):   at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:85)
[        ] I/tection_exampl(24116):   at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:818)
[        ] I/tection_exampl(24116):   at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)
[        ] I/tection_exampl(24116):   at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:326)
[        ] I/tection_exampl(24116):   at void android.os.Looper.loop() (Looper.java:181)
[        ] I/tection_exampl(24116):   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6986)
[   +1 ms] I/tection_exampl(24116):   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
[   +2 ms] I/tection_exampl(24116):   at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:493)
[   +2 ms] I/tection_exampl(24116):   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:1445)
[   +1 ms] I/tection_exampl(24116): Caused by: java.lang.ClassNotFoundException: Didn't find class "org.osgi.framework.BundleActivator" on path: DexPathList[[zip file
"/data/app/com.devsonflutter.sentence_detection.sentence_detection_example-2dXA4efwJEUQEbFTUgvJFQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.devsonflutter.sentence_detection.sentence_detection_example-2dXA4efwJEUQEbFTUgvJFQ==/lib/arm64, /data/app/com.devsonflutter.sentence_detection.sentence_detection_example-2dXA4efwJEUQEbFTUgvJFQ==/base.apk!/lib/arm64-v8a,
/system/lib64, /vendor/lib64]]
[   +2 ms] I/tection_exampl(24116):   at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:134)
[   +1 ms] I/tection_exampl(24116):   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
[        ] I/tection_exampl(24116):   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
[   +1 ms] I/tection_exampl(24116):   at java.lang.Object opennlp.tools.util.ext.ExtensionLoader.instantiateExtension(java.lang.Class, java.lang.String) (ExtensionLoader.java:65)
[   +1 ms] I/tection_exampl(24116):   at opennlp.tools.util.BaseToolFactory opennlp.tools.util.BaseToolFactory.create(java.lang.String, opennlp.tools.util.model.ArtifactProvider)
(BaseToolFactory.java:108)
[   +1 ms] I/tection_exampl(24116):   at void opennlp.tools.util.model.BaseModel.initializeFactory() (BaseModel.java:257)
[        ] I/tection_exampl(24116):   at void opennlp.tools.util.model.BaseModel.loadModel(java.io.InputStream) (BaseModel.java:234)
[        ] I/tection_exampl(24116):   at void opennlp.tools.util.model.BaseModel.<init>(java.lang.String, java.io.InputStream) (BaseModel.java:176)
[        ] I/tection_exampl(24116):   at void opennlp.tools.sentdetect.SentenceModel.<init>(java.io.InputStream) (SentenceModel.java:92)
[   +2 ms] I/tection_exampl(24116):   at void com.devsonflutter.sentence_detection.SentenceDetectionPlugin.sentenceDetection(io.flutter.plugin.common.MethodCall,
io.flutter.plugin.common.MethodChannel$Result) (SentenceDetectionPlugin.java:69)
[   +1 ms] I/tection_exampl(24116):   at void com.devsonflutter.sentence_detection.SentenceDetectionPlugin.onMethodCall(io.flutter.plugin.common.MethodCall,
io.flutter.plugin.common.MethodChannel$Result) (SentenceDetectionPlugin.java:45)
[   +1 ms] I/tection_exampl(24116):   at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer,
io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:233)
[        ] I/tection_exampl(24116):   at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:85)
[        ] I/tection_exampl(24116):   at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:818)
[   +1 ms] I/tection_exampl(24116):   at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)
[        ] I/tection_exampl(24116):   at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:326)
[        ] I/tection_exampl(24116):   at void android.os.Looper.loop() (Looper.java:181)
[        ] I/tection_exampl(24116):   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6986)
[   +1 ms] I/tection_exampl(24116):   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
[        ] I/tection_exampl(24116):   at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:493)
[        ] I/tection_exampl(24116):   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:1445)
[        ] I/tection_exampl(24116): 
[ +119 ms] W/System  (24116): A resource failed to call end. 
[ +110 ms] I/flutter (24116): Usually Sentence Detection is done before the text is tokenized and that's the way the pre-trained models on the web site are trained, but it is also possible toperform tokenization first and let the Sentence Detector process the already tokenized text.
[   +2 ms] I/flutter (24116): The OpenNLP Sentence Detector cannot identify sentence boundaries based on the contents of the sentence.
[   +1 ms] I/flutter (24116): A prominent example is the first sentence in an article where the title is mistakenly identified to be the first part of the first sentence.
[   +1 ms] I/flutter (24116): Most components in OpenNLP expect input which is segmented into sentences.
```

<!--
     Run `flutter analyze` and attach any output of that command below.
     If there are any analysis errors, try resolving them before filing this issue.
-->

```
Analyzing example...                                                    
No issues found! (ran in 27.7s)
```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
[√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.19042.1083], locale en-IN)
    • Flutter version 2.2.3 at C:\Users\Divyanshu Shekhar\flutter
    • Framework revision f4abaa0735 (2 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\Divyanshu Shekhar\.android
    • ANDROID_HOME = C:\Users\Divyanshu Shekhar\.android
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)

[√] VS Code (version 1.58.2)
    • VS Code at C:\Users\Divyanshu Shekhar\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.24.0

[√] Connected device (3 available)
    • SM G960F (mobile) • 5200119a596d555d • android-arm64  • Android 9 (API 28)
    • Chrome (web)      • chrome           • web-javascript • Google Chrome 91.0.4472.124
    • Edge (web)        • edge             • web-javascript • Microsoft Edge 91.0.864.67

• No issues found!
```

</details>