-
Notifications
You must be signed in to change notification settings - Fork 29.3k
Closed
Description
Problem
I'm trying to run an untouched flutter generated app on my LG G5 H850, but I keep getting an error. Also, the device never asked me to allow my computer's ADB fingerprint, although I even removed all authorizations in the developer options.
Solution idea
I assume that this lack of authorization is the cause of the problem, but how do I make flutter authorize itself?
Logs
flutter run -v
[00:34 linux ~/IdeaProjects/spin]$ flutter run -v
[ +24 ms] [/opt/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +24 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/alpha
[ ] [/opt/flutter/] git ls-remote --get-url origin
[ +5 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ ] [/opt/flutter/] git log -n 1 --pretty=format:%H
[ +5 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] 973304d5fbf737510ecc250b93d9ee2e872b563f
[ ] [/opt/flutter/] git log -n 1 --pretty=format:%ar
[ +5 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 7 days ago
[ +148 ms] Listing devices using /home/linux/Android/Sdk/platform-tools/adb
[ +1 ms] /home/linux/Android/Sdk/platform-tools/adb devices -l
[ +5 ms] Exit code 0 from: /home/linux/Android/Sdk/platform-tools/adb devices -l
[ ] List of devices attached
LGH850f3ea9778 no permissions; see [http://developer.android.com/tools/device.html] usb:2-1.3
[ +14 ms] /home/linux/Android/Sdk/platform-tools/adb -s LGH850f3ea9778 shell getprop
[ +30 ms] Error retrieving device properties for ro.product.cpu.abi:
[ +4 ms] error: insufficient permissions for device.
See [http://developer.android.com/tools/device.html] for more information.
[ +512 ms] Launching lib/main.dart on LGH850f3ea9778 in debug mode...
[ +75 ms] Using gradle from /home/linux/Applications/android-studio/gradle/gradle-3.2/bin/gradle.
[ +2 ms] [android/] /home/linux/Applications/android-studio/gradle/gradle-3.2/bin/gradle app:properties
[+1526 ms] Exit code 0 from: /home/linux/Applications/android-studio/gradle/gradle-3.2/bin/gradle app:properties
[ +53 ms] /home/linux/Android/Sdk/platform-tools/adb -s LGH850f3ea9778 logcat -v time -t 1
^C
flutter analyze -v
[00:35 linux ~/IdeaProjects/spin]$ flutter analyze -v
[ +30 ms] [/opt/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +34 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/alpha
[ ] [/opt/flutter/] git ls-remote --get-url origin
[ +6 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ ] [/opt/flutter/] git log -n 1 --pretty=format:%H
[ +6 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] 973304d5fbf737510ecc250b93d9ee2e872b563f
[ ] [/opt/flutter/] git log -n 1 --pretty=format:%ar
[ +6 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 7 days ago
[ +164 ms] /opt/flutter/bin/cache/dart-sdk/bin/dartanalyzer --packages /home/linux/IdeaProjects/spin/.packages /home/linux/IdeaProjects/spin
[+1166 ms] Analyzing /home/linux/IdeaProjects/spin...
[+6969 ms] No issues found!
[ +55 ms] Ran in 8.2s
[ +35 ms] "flutter analyze" took 8,320ms.
[ +175 ms] ensureAnalyticsSent: 172ms
[ +2 ms] exiting with code 0
flutter doctor -v
[00:35 linux ~/IdeaProjects/spin]$ flutter doctor -v
[ +24 ms] [/opt/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +24 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/alpha
[ ] [/opt/flutter/] git ls-remote --get-url origin
[ +5 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ ] [/opt/flutter/] git log -n 1 --pretty=format:%H
[ +5 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] 973304d5fbf737510ecc250b93d9ee2e872b563f
[ ] [/opt/flutter/] git log -n 1 --pretty=format:%ar
[ +5 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 7 days ago
[ +753 ms] [✓] Flutter (on Linux, channel alpha)
[ +7 ms] • Flutter at /opt/flutter
[ ] • Framework revision 973304d5fb (7 days ago), 2017-05-18 17:31:57 -0700
[ ] • Engine revision f99d3ef108
[ ] • Tools Dart version 1.23.0-dev.11.11
[ +99 ms] java -version
[ +54 ms] [✓] Android toolchain - develop for Android devices (Android SDK 25.0.3)
[ ] • Android SDK at /home/linux/Android/Sdk
[ ] • Platform android-25, build-tools 25.0.3
[ ] • Java binary at: /home/linux/Applications/android-studio/jre/bin/java
[ ] • Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[ +1 ms] [✓] Android Studio (version 2.3)
[ ] • Android Studio at /home/linux/Applications/android-studio
[ ] • Gradle version 3.2
[ ] • Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[ +463 ms] [✓] IntelliJ IDEA Ultimate Edition (version 2017.1)
[ ] • Dart plugin version 171.4424
[ ] • Flutter plugin version 14.0
[ +30 ms] [-] WebStorm (version 2017.1)
[ ] • Flutter plugin not installed; this adds Flutter specific functionality.
[ ] • For information about managing plugins, see
https://www.jetbrains.com/help/idea/managing-plugins.html
[ +8 ms] Listing devices using /home/linux/Android/Sdk/platform-tools/adb
[ ] /home/linux/Android/Sdk/platform-tools/adb devices -l
[ +6 ms] Exit code 0 from: /home/linux/Android/Sdk/platform-tools/adb devices -l
[ ] List of devices attached
LGH850f3ea9778 no permissions; see [http://developer.android.com/tools/device.html] usb:2-1.3
[ +15 ms] /home/linux/Android/Sdk/platform-tools/adb -s LGH850f3ea9778 shell getprop
[ +35 ms] Error retrieving device properties for ro.product.cpu.abi:
[ +2 ms] error: insufficient permissions for device.
See [http://developer.android.com/tools/device.html] for more information.
[ +3 ms] [✓] Connected devices
[ ] • LGH850f3ea9778 • LGH850f3ea9778 • android-arm • Android null (API null)
[ +14 ms] "flutter doctor" took 1,453ms.
[ +239 ms] ensureAnalyticsSent: 237ms
[ +1 ms] exiting with code 0
Metadata
Metadata
Assignees
Labels
No labels