<p dir="auto"><a href="https://developer.android.com/reference/android/view/textclassifier/TextClassifier.html" rel="nofollow">https://developer.android.com/reference/android/view/textclassifier/TextClassifier.html</a><br>
appears to be the API.</p>
<p dir="auto">Hi, i'm having troubles with <a href="https://pub.dartlang.org/packages/image_picker#-example-tab-" rel="nofollow">Image_picker</a> plugin. I can't show image from gallery. However, show image from camera works perfectly.<br>
I try add two permissions to read external storage but doesn't work:</p>
<div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;uses-permission android:name=&quot;android.permission.READ_EXTERNAL_STORAGE&quot; /&gt;"><pre class="notranslate">&lt;<span class="pl-ent">uses-permission</span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>android.permission.READ_EXTERNAL_STORAGE<span class="pl-pds">"</span></span> /&gt;</pre></div>
<h2 dir="auto">Steps to Reproduce</h2>

<ol dir="auto">
<li>Add <code class="notranslate">image_picker: ^0.4.10</code> dependency to <code class="notranslate">pubspec.yaml</code></li>
<li>Add <code class="notranslate">import 'package:image_picker/image_picker.dart';</code></li>
<li>Code which pick image from plugin:</li>
</ol>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pickImageFromGallery() async {
    var image = await ImagePicker.pickImage(ImageSource.gallery);
    print(image.path);
    setState(() {
      _image = image;
    });
  }"><pre class="notranslate"><span class="pl-en">pickImageFromGallery</span>() <span class="pl-k">async</span> {
    <span class="pl-k">var</span> image <span class="pl-k">=</span> <span class="pl-k">await</span> <span class="pl-c1">ImagePicker</span>.<span class="pl-en">pickImage</span>(<span class="pl-c1">ImageSource</span>.gallery);
    <span class="pl-en">print</span>(image.path);
    <span class="pl-en">setState</span>(() {
      _image <span class="pl-k">=</span> image;
    });
  }</pre></div>
<ol start="4" dir="auto">
<li>Show image in a <code class="notranslate">Container</code> or similar:</li>
</ol>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Image.file(_image,)"><pre class="notranslate"><span class="pl-c1">Image</span>.<span class="pl-en">file</span>(_image,)</pre></div>
<h2 dir="auto">Logs</h2>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="I/flutter (30940): /data/user/0/com.android.providers.downloads/cache/348s.jpg
I/flutter (30940): Another exception was thrown: FileSystemException: Cannot open file, path = '/data/user/0/com.android.providers.downloads/cache/348s.jpg' (OS Error: Permission denied, errno = 13)"><pre class="notranslate"><code class="notranslate">I/flutter (30940): /data/user/0/com.android.providers.downloads/cache/348s.jpg
I/flutter (30940): Another exception was thrown: FileSystemException: Cannot open file, path = '/data/user/0/com.android.providers.downloads/cache/348s.jpg' (OS Error: Permission denied, errno = 13)
</code></pre></div>

<p dir="auto">Flutter analyze:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="No issues found! (ran in 1.6s)"><pre class="notranslate"><code class="notranslate">No issues found! (ran in 1.6s)
</code></pre></div>

<p dir="auto">Flutter doctor -v:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (Channel dev, v0.7.0, on Mac OS X 10.13.6 17G65, locale en-AR)
    • Flutter version 0.7.0 at /Users/marianocastellano/Documents/Flutter/flutter
    • Framework revision 09fe34708f (8 days ago), 2018-08-22 10:20:51 -0700
    • Engine revision 4b271b2e02
    • Dart version 2.1.0-dev.1.0.flutter-69fce633b7

[!] Android toolchain - develop for Android devices (Android SDK 28.0.0)
    • Android SDK at /Users/marianocastellano/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[!] iOS toolchain - develop for iOS devices
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
      Download at: https://developer.apple.com/xcode/download/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
    ✗ libimobiledevice and ideviceinstaller are not installed. To install, run:
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    ✗ ios-deploy not installed. To install:
        brew install ios-deploy
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
        For more info, see https://flutter.io/platform-plugins
      To install:
        brew install cocoapods
        pod setup

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 27.1.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[!] IntelliJ IDEA Community Edition (version 2018.1.5)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.io/intellij-setup/#installing-the-plugins

[✓] VS Code (version 1.26.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.17.1

[✓] Connected devices (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)

! Doctor found issues in 3 categories."><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel dev, v0.7.0, on Mac OS X 10.13.6 17G65, locale en-AR)
    • Flutter version 0.7.0 at /Users/marianocastellano/Documents/Flutter/flutter
    • Framework revision 09fe34708f (8 days ago), 2018-08-22 10:20:51 -0700
    • Engine revision 4b271b2e02
    • Dart version 2.1.0-dev.1.0.flutter-69fce633b7

[!] Android toolchain - develop for Android devices (Android SDK 28.0.0)
    • Android SDK at /Users/marianocastellano/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[!] iOS toolchain - develop for iOS devices
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
      Download at: https://developer.apple.com/xcode/download/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
    ✗ libimobiledevice and ideviceinstaller are not installed. To install, run:
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    ✗ ios-deploy not installed. To install:
        brew install ios-deploy
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
        For more info, see https://flutter.io/platform-plugins
      To install:
        brew install cocoapods
        pod setup

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 27.1.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[!] IntelliJ IDEA Community Edition (version 2018.1.5)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.io/intellij-setup/#installing-the-plugins

[✓] VS Code (version 1.26.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.17.1

[✓] Connected devices (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)

! Doctor found issues in 3 categories.
</code></pre></div>