-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HttpClient throws Invalid argument(s): Invalid internet address #83792
Comments
Hi @ristiisa minimal code sampleimport 'dart:io';
import 'package:flutter/material.dart';
main() async {
var client = HttpClient();
client.openUrl("get", Uri.parse("http://ptsv2.com/t/e2xwh-1622643201"));
return runApp(MaterialApp(home: Scaffold(
body: Center(child: Text("Hello")),
)));
}
logs[ +94 ms] executing: [C:\Users\Taha\Code\flutter_stable/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +80 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[ ] executing: [C:\Users\Taha\Code\flutter_stable/] git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f[ +53 ms] Exit code 0 from: git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[ ] 2.2.1
[ +8 ms] executing: [C:\Users\Taha\Code\flutter_stable/] git rev-parse --abbrev-ref --symbolic @{u}
[ +38 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/stable
[ ] executing: [C:\Users\Taha\Code\flutter_stable/] git ls-remote --get-url origin
[ +32 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +149 ms] executing: [C:\Users\Taha\Code\flutter_stable/] git rev-parse --abbrev-ref HEAD
[ +41 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] stable
[ +118 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.
[ +4 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.
[ +77 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe devices -l
[ +54 ms] List of devices attached
emulator-5554 device product:sdk_gphone_x86_arm model:AOSP_on_IA_Emulator device:generic_x86_arm
transport_id:2
[ +14 ms] C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell getprop
[ +91 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +7 ms] 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.
[ +95 ms] Skipping pub get: version match.
[ +255 ms] Generating
C:\Users\Taha\StudioProjects\stable_flutter\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java[ +91 ms] ro.hardware = ranchu
[ +17 ms] Using hardware rendering with device AOSP on IA Emulator. If you notice graphics artifacts, consider
enabling software
rendering with "--enable-software-rendering".
[ +28 ms] Initializing file store
[ +11 ms] Skipping target: gen_localizations
[ +8 ms] complete
[ +6 ms] Launching lib\main.dart on AOSP on IA Emulator in debug mode...
[ +8 ms] C:\Users\Taha\Code\flutter_stable\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\Users\Taha\Code\flutter_stable\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Users\Taha\Code\flutter_stable\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\Taha\AppData\Local\Temp\flutter_tools.a59064eb\flutter_tool.dbcda51d\app.dill --packages
C:\Users\Taha\StudioProjects\stable_flutter\.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
[ +12 ms] executing: C:\Users\Taha\Code\SDK\build-tools\30.0.3\aapt dump xmltree
C:\Users\Taha\StudioProjects\stable_flutter\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ +13 ms] Exit code 0 from: C:\Users\Taha\Code\SDK\build-tools\30.0.3\aapt dump xmltree
C:\Users\Taha\StudioProjects\stable_flutter\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ +2 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.0" (Raw: "1.0.0")
A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
A: package="com.example.stable_flutter" (Raw: "com.example.stable_flutter")
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: application (line=11)
A: android:label(0x01010001)="stable_flutter" (Raw: "stable_flutter")
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.example.stable_flutter.MainActivity" (Raw:
"com.example.stable_flutter.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
[ +21 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[ +18 ms] <- compile package:stable_flutter/main.dart
[ +73 ms] --------- beginning of main
06-03 13:59:51.645 I/DefaultStickerUpdate( 2005): Submitted task to executor service with
data=DefaultStickerTaskData{enabled=true,
metadataUriPrefix=https://www.gstatic.com/android/keyboard/stickers/configs/v5/, supportedLanguage=en}
[ +15 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe version
[ +21 ms] Android Debug Bridge version 1.0.41
Version 31.0.2-7242960
Installed as C:\Users\Taha\Code\SDK\platform-tools\adb.exe
[ +2 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe start-server
[ +56 ms] Building APK
[ +26 ms] Running Gradle task 'assembleDebug'...
[ +6 ms] Using gradle from C:\Users\Taha\StudioProjects\stable_flutter\android\gradlew.bat.
[ +14 ms] executing: [C:\Users\Taha\StudioProjects\stable_flutter\android/]
C:\Users\Taha\StudioProjects\stable_flutter\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-x86
-Ptarget=C:\Users\Taha\StudioProjects\stable_flutter\lib\main.dart
-Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true
-Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+4374 ms] > Task :app:compileFlutterBuildDebug
[ +1 ms] [ +94 ms] executing: [C:\Users\Taha\Code\flutter_stable/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[ +10 ms] [ +80 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] [ ] 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[ +1 ms] [ ] executing: [C:\Users\Taha\Code\flutter_stable/] git tag --points-at
02c026b03cd31dd3f867e5faeb7e104cce174c5f
[ +2 ms] [ +55 ms] Exit code 0 from: git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[ ] [ ] 2.2.1
[ ] [ +7 ms] executing: [C:\Users\Taha\Code\flutter_stable/] git rev-parse --abbrev-ref --symbolic @{u}
[ +1 ms] [ +39 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] [ ] origin/stable
[ ] [ ] executing: [C:\Users\Taha\Code\flutter_stable/] git ls-remote --get-url origin
[ ] [ +36 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] [ ] https://github.com/flutter/flutter.git
[ ] [ +78 ms] executing: [C:\Users\Taha\Code\flutter_stable/] git rev-parse --abbrev-ref HEAD
[ +1 ms] [ +37 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ +1 ms] [ ] stable
[ ] [ +72 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +1 ms] [ +3 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.
[ +1 ms] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +1 ms] [ +124 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ +1 ms] [ ] 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 '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.
[ +1 ms] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ +1 ms] [ ] 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.
[ +1 ms] [ ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ ] [ +37 ms] Initializing file store
[ +1 ms] [ +21 ms] Skipping target: gen_localizations
[ ] [ +7 ms] kernel_snapshot: Starting due to {}
[ +1 ms] [ +16 ms] C:\Users\Taha\Code\flutter_stable\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\Users\Taha\Code\flutter_stable\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Users\Taha\Code\flutter_stable\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\Taha\StudioProjects\stable_flutter\.dart_tool\package_config.json --output-dill
C:\Users\Taha\StudioProjects\stable_flutter\.dart_tool\flutter_build\b5240ddc8ab5bc5b806263fb926bea23\app.dill
--depfile
C:\Users\Taha\StudioProjects\stable_flutter\.dart_tool\flutter_build\b5240ddc8ab5bc5b806263fb926bea23\kernel_snapshot.dpackage:stable_flutter/main.dart
[+8235 ms] [+8712 ms] kernel_snapshot: Complete
[ +490 ms] [ +511 ms] debug_android_application: Starting due to {}
[ +308 ms] [ +222 ms] debug_android_application: Complete
[ +597 ms] [ +595 ms] Persisting file store
[ +1 ms] [ +9 ms] Done persisting file store
[ ] [ +5 ms] build succeeded.
[ ] [ +13 ms] "flutter assemble" took 10,307ms.
[ +186 ms] [ +201 ms] ensureAnalyticsSent: 197ms
[ +1 ms] [ +1 ms] Running shutdown hooks
[ ] [ ] Shutdown hooks complete
[ ] [ ] exiting with code 0
[ +201 ms] > Task :app:packLibsflutterBuildDebug
[ +1 ms] > Task :app:preBuild UP-TO-DATE
[ +1 ms] > Task :app:preDebugBuild UP-TO-DATE
[ ] > Task :app:compileDebugAidl NO-SOURCE
[ ] > Task :app:compileDebugRenderscript NO-SOURCE
[ ] > Task :app:generateDebugBuildConfig
[ ] > Task :app:checkDebugAarMetadata
[ ] > Task :app:cleanMergeDebugAssets UP-TO-DATE
[ +102 ms] > Task :app:mergeDebugShaders
[ ] > Task :app:compileDebugShaders NO-SOURCE
[ ] > Task :app:generateDebugAssets UP-TO-DATE
[ +1 ms] > Task :app:mergeDebugAssets
[ +296 ms] > Task :app:copyFlutterAssetsDebug
[ +1 ms] > Task :app:generateDebugResValues
[ ] > Task :app:generateDebugResources
[ +297 ms] > Task :app:createDebugCompatibleScreenManifests
[ +1 ms] > Task :app:extractDeepLinksDebug
[ +88 ms] > Task :app:processDebugMainManifest
[ +1 ms] > Task :app:processDebugManifest
[ ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[ ] > Task :app:javaPreCompileDebug
[ ] > Task :app:processDebugJavaRes NO-SOURCE
[ +598 ms] > Task :app:checkDebugDuplicateClasses
[ +2 ms] > Task :app:mergeDebugJniLibFolders
[ +106 ms] > Task :app:desugarDebugFileDependencies
[ +97 ms] > Task :app:compressDebugAssets
[ +602 ms] > Task :app:mergeDebugResources
[ +1 ms] > Task :app:validateSigningDebug
[ ] > Task :app:processDebugManifestForPackage
[ +694 ms] > Task :app:processDebugResources
[ +993 ms] > Task :app:mergeExtDexDebug
[ +202 ms] > Task :app:compileDebugKotlin
[ +204 ms] > Task :app:compileDebugJavaWithJavac
[ +1 ms] > Task :app:compileDebugSources
[ +294 ms] > Task :app:dexBuilderDebug
[ +706 ms] > Task :app:mergeDexDebug
[ +203 ms] > Task :app:mergeDebugNativeLibs
[ +294 ms] > Task :app:stripDebugDebugSymbols
[ +1 ms] Unable to strip the following libraries, packaging them as they are: libflutter.so.
[ +92 ms] > Task :app:mergeDebugJavaResource
[+1510 ms] > Task :app:packageDebug
[ +83 ms] > Task :app:assembleDebug
[ +1 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[ +1 ms] 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 21s
[ ] 32 actionable tasks: 31 executed, 1 up-to-date
[ +519 ms] Running Gradle task 'assembleDebug'... (completed in 22.5s)
[ +25 ms] calculateSha: LocalDirectory:
'C:\Users\Taha\StudioProjects\stable_flutter\build\app\outputs\flutter-apk'/app.apk
[ +445 ms] √ Built build\app\outputs\flutter-apk\app-debug.apk.
[ +4 ms] executing: C:\Users\Taha\Code\SDK\build-tools\30.0.3\aapt dump xmltree
C:\Users\Taha\StudioProjects\stable_flutter\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ +17 ms] Exit code 0 from: C:\Users\Taha\Code\SDK\build-tools\30.0.3\aapt dump xmltree
C:\Users\Taha\StudioProjects\stable_flutter\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.0" (Raw: "1.0.0")
A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
A: package="com.example.stable_flutter" (Raw: "com.example.stable_flutter")
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)="stable_flutter" (Raw: "stable_flutter")
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.stable_flutter.MainActivity" (Raw:
"com.example.stable_flutter.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
[ +10 ms] Stopping app 'app.apk' on AOSP on IA Emulator.
[ ] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell am force-stop
com.example.stable_flutter
[ +66 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell pm list packages
com.example.stable_flutter
[ +41 ms] Installing APK.
[ +2 ms] Installing build\app\outputs\flutter-apk\app.apk...
[ ] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 install -t -r
C:\Users\Taha\StudioProjects\stable_flutter\build\app\outputs\flutter-apk\app.apk
[+2177 ms] Performing Streamed Install
Success
[ +1 ms] Installing build\app\outputs\flutter-apk\app.apk... (completed in 2,178ms)
[ +2 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell echo -n
aecaa3974d55bcc956f066aad4b162bc477402b5 > /data/local/tmp/sky.com.example.stable_flutter.sha1
[ +50 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[ +64 ms] --------- beginning of main
06-03 14:00:17.186 D/RcsProvisioning( 3205): Exception while getting subscriber Id. Using default
[ +6 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell am start -a
android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez
enable-checked-mode true --ez verify-entry-points true
com.example.stable_flutter/com.example.stable_flutter.MainActivity
[ +122 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.stable_flutter/.MainActivity(has extras) }
[ +1 ms] Waiting for observatory port to be available...
[+1857 ms] Observatory URL on device: http://127.0.0.1:44624/juMze6PITvU=/
[ +1 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 forward tcp:0 tcp:44624
[ +20 ms] 49695
[ ] Forwarded host port 49695 to device port 44624 for Observatory
[ +6 ms] Caching compiled dill
[ +28 ms] Connecting to service protocol: http://127.0.0.1:49695/juMze6PITvU=/
[ +431 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:49695/juMze6PITvU=/.
[ +114 ms] DDS is listening at http://127.0.0.1:49698/kfZl9G11uFQ=/.
[ +59 ms] Successfully connected to service protocol: http://127.0.0.1:49695/juMze6PITvU=/
[ +22 ms] DevFS: Creating new filesystem on the device (null)
[ +52 ms] DevFS: Created new filesystem on the device
(file:///data/user/0/com.example.stable_flutter/code_cache/stable_flutterVPNLGT/stable_flutter/)
[ +2 ms] Updating assets
[ +111 ms] Syncing files to device AOSP on IA Emulator...
[ +3 ms] <- reset
[ ] Compiling dart to kernel with 0 updated files
[ +2 ms] <- recompile package:stable_flutter/main.dart 8fa44bb5-3e5e-47eb-924e-44b7ebd33f8f
[ ] <- 8fa44bb5-3e5e-47eb-924e-44b7ebd33f8f
[ +70 ms] Updating files.
[ ] DevFS: Sync finished
[ +1 ms] Syncing files to device AOSP on IA Emulator... (completed in 78ms)
[ +1 ms] Synced 0.0MB.
[ +1 ms] <- accept
[ +15 ms] Connected to _flutterView/0xc8847010.
[ +3 ms] Flutter run key commands.
[ +2 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).
[ ] c Clear the screen
[ ] q Quit (terminate the application on the device).
[ ] Running with sound null safety
PS C:\Users\Taha\StudioProjects\stable_flutter> fsr
[ +64 ms] executing: [C:\Users\Taha\Code\flutter_stable/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +59 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[ ] executing: [C:\Users\Taha\Code\flutter_stable/] git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f[ +39 ms] Exit code 0 from: git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[ ] 2.2.1
[ +5 ms] executing: [C:\Users\Taha\Code\flutter_stable/] git rev-parse --abbrev-ref --symbolic @{u}
[ +30 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/stable
[ ] executing: [C:\Users\Taha\Code\flutter_stable/] git ls-remote --get-url origin
[ +26 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +95 ms] executing: [C:\Users\Taha\Code\flutter_stable/] git rev-parse --abbrev-ref HEAD
[ +30 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] stable
[ +71 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.
[ +3 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.
[ +52 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe devices -l
[ +37 ms] List of devices attached
emulator-5554 device product:sdk_gphone_x86_arm model:AOSP_on_IA_Emulator device:generic_x86_arm
transport_id:2
[ +7 ms] C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell getprop
[ +41 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +5 ms] 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.
[ +67 ms] Skipping pub get: version match.
[ +144 ms] Generating
C:\Users\Taha\StudioProjects\stable_flutter\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java[ +58 ms] ro.hardware = ranchu
[ +13 ms] Using hardware rendering with device AOSP on IA Emulator. If you notice graphics artifacts, consider
enabling software
rendering with "--enable-software-rendering".
[ +23 ms] Initializing file store
[ +9 ms] Skipping target: gen_localizations
[ +8 ms] complete
[ +5 ms] Launching lib\main.dart on AOSP on IA Emulator in debug mode...
[ +6 ms] C:\Users\Taha\Code\flutter_stable\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\Users\Taha\Code\flutter_stable\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Users\Taha\Code\flutter_stable\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\Taha\AppData\Local\Temp\flutter_tools.8eb96c88\flutter_tool.e44b43f3\app.dill --packages
C:\Users\Taha\StudioProjects\stable_flutter\.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
[ +11 ms] executing: C:\Users\Taha\Code\SDK\build-tools\30.0.3\aapt dump xmltree
C:\Users\Taha\StudioProjects\stable_flutter\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ +14 ms] Exit code 0 from: C:\Users\Taha\Code\SDK\build-tools\30.0.3\aapt dump xmltree
C:\Users\Taha\StudioProjects\stable_flutter\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.0" (Raw: "1.0.0")
A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
A: package="com.example.stable_flutter" (Raw: "com.example.stable_flutter")
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)="stable_flutter" (Raw: "stable_flutter")
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.stable_flutter.MainActivity" (Raw:
"com.example.stable_flutter.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
[ +17 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[ +17 ms] <- compile package:stable_flutter/main.dart
[ +38 ms] --------- beginning of main
06-03 14:31:51.190 I/GnssLocationProvider( 1882): WakeLock released by handleMessage(REPORT_SV_STATUS, 0,
com.android.server.location.GnssLocationProvider$SvStatusInfo@82f5832)
[ +26 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe version
[ +21 ms] Android Debug Bridge version 1.0.41
Version 31.0.2-7242960
Installed as C:\Users\Taha\Code\SDK\platform-tools\adb.exe
[ +2 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe start-server
[ +24 ms] Building APK
[ +15 ms] Running Gradle task 'assembleDebug'...
[ +6 ms] Using gradle from C:\Users\Taha\StudioProjects\stable_flutter\android\gradlew.bat.
[ +13 ms] executing: [C:\Users\Taha\StudioProjects\stable_flutter\android/]
C:\Users\Taha\StudioProjects\stable_flutter\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-x86
-Ptarget=C:\Users\Taha\StudioProjects\stable_flutter\lib\main.dart
-Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true
-Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+3558 ms] > Task :app:compileFlutterBuildDebug
[ +1 ms] [ +61 ms] executing: [C:\Users\Taha\Code\flutter_stable/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[ +5 ms] [ +58 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] [ ] 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[ ] [ ] executing: [C:\Users\Taha\Code\flutter_stable/] git tag --points-at
02c026b03cd31dd3f867e5faeb7e104cce174c5f
[ +1 ms] [ +38 ms] Exit code 0 from: git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[ ] [ ] 2.2.1
[ ] [ +4 ms] executing: [C:\Users\Taha\Code\flutter_stable/] git rev-parse --abbrev-ref --symbolic @{u}
[ ] [ +29 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] [ ] origin/stable
[ ] [ ] executing: [C:\Users\Taha\Code\flutter_stable/] git ls-remote --get-url origin
[ ] [ +25 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] [ ] https://github.com/flutter/flutter.git
[ ] [ +48 ms] executing: [C:\Users\Taha\Code\flutter_stable/] git rev-parse --abbrev-ref HEAD
[ +1 ms] [ +28 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] [ ] stable
[ ] [ +53 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.
[ +1 ms] [ +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ +1 ms] [ ] 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.
[ +1 ms] [ +85 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 'MacOSEngineArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ +1 ms] [ ] 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.
[ +1 ms] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ +1 ms] [ ] 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.
[ ] [ +30 ms] Initializing file store
[ ] [ +13 ms] Done initializing file store
[ ] [ +37 ms] Skipping target: gen_localizations
[ ] [ +454 ms] Skipping target: kernel_snapshot
[ +148 ms] [ +301 ms] Skipping target: debug_android_application
[ +1 ms] [ ] Persisting file store
[ +1 ms] [ +9 ms] Done persisting file store
[ ] [ +3 ms] build succeeded.
[ ] [ +13 ms] "flutter assemble" took 968ms.
[ +201 ms] [ +250 ms] ensureAnalyticsSent: 246ms
[ +1 ms] [ ] Running shutdown hooks
[ +1 ms] [ ] Shutdown hooks complete
[ +1 ms] [ ] exiting with code 0
[ +87 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[ +1 ms] > Task :app:preBuild UP-TO-DATE
[ +1 ms] > Task :app:preDebugBuild UP-TO-DATE
[ ] > Task :app:compileDebugAidl NO-SOURCE
[ ] > Task :app:compileDebugRenderscript NO-SOURCE
[ ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[ +104 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE
[ +1 ms] > Task :app:cleanMergeDebugAssets
[ ] > Task :app:mergeDebugShaders UP-TO-DATE
[ ] > Task :app:compileDebugShaders NO-SOURCE
[ ] > Task :app:generateDebugAssets UP-TO-DATE
[ ] > Task :app:mergeDebugAssets
[ +295 ms] > Task :app:copyFlutterAssetsDebug
[ +1 ms] > Task :app:generateDebugResValues UP-TO-DATE
[ ] > Task :app:generateDebugResources UP-TO-DATE
[ ] > Task :app:mergeDebugResources UP-TO-DATE
[ ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ +4 ms] > Task :app:extractDeepLinksDebug UP-TO-DATE
[ +1 ms] > 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
[ +82 ms] > 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
[ ] > 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
[ +137 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/userguide/command_line_interface.html#sec:command_line_warnings
[ ] BUILD SUCCESSFUL in 4s
[ ] 32 actionable tasks: 5 executed, 27 up-to-date
[ +526 ms] Running Gradle task 'assembleDebug'... (completed in 5.2s)
[ +57 ms] calculateSha: LocalDirectory:
'C:\Users\Taha\StudioProjects\stable_flutter\build\app\outputs\flutter-apk'/app.apk
[ +459 ms] √ Built build\app\outputs\flutter-apk\app-debug.apk.
[ +4 ms] executing: C:\Users\Taha\Code\SDK\build-tools\30.0.3\aapt dump xmltree
C:\Users\Taha\StudioProjects\stable_flutter\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ +18 ms] Exit code 0 from: C:\Users\Taha\Code\SDK\build-tools\30.0.3\aapt dump xmltree
C:\Users\Taha\StudioProjects\stable_flutter\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.0" (Raw: "1.0.0")
A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
A: package="com.example.stable_flutter" (Raw: "com.example.stable_flutter")
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)="stable_flutter" (Raw: "stable_flutter")
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.stable_flutter.MainActivity" (Raw:
"com.example.stable_flutter.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
[ +10 ms] Stopping app 'app.apk' on AOSP on IA Emulator.
[ +1 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell am force-stop
com.example.stable_flutter
[ +81 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell pm list packages
com.example.stable_flutter
[ +92 ms] package:com.example.stable_flutter
[ +3 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell cat
/data/local/tmp/sky.com.example.stable_flutter.sha1
[ +88 ms] aecaa3974d55bcc956f066aad4b162bc477402b5
[ +1 ms] Latest build already installed.
[ ] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[ +59 ms] --------- beginning of main
06-03 14:31:57.640 D/EGL_emulation( 2575): eglMakeCurrent: 0xdd305900: ver 2 0 (tinfo 0xdd303860)
[ +8 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell am start -a
android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez
enable-checked-mode true --ez verify-entry-points true
com.example.stable_flutter/com.example.stable_flutter.MainActivity
[ +91 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.stable_flutter/.MainActivity(has extras) }
[ +1 ms] Waiting for observatory port to be available...
[+1016 ms] Observatory URL on device: http://127.0.0.1:42016/qvRyLtx24yk=/
[ +2 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 forward tcp:0 tcp:42016
[ +26 ms] 51626
[ ] Forwarded host port 51626 to device port 42016 for Observatory
[ +7 ms] Caching compiled dill
[ +36 ms] Connecting to service protocol: http://127.0.0.1:51626/qvRyLtx24yk=/
[ +415 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:51626/qvRyLtx24yk=/.
[ +154 ms] DDS is listening at http://127.0.0.1:51629/jG1IkbuaCMg=/.
[ +54 ms] Successfully connected to service protocol: http://127.0.0.1:51626/qvRyLtx24yk=/
[ +30 ms] DevFS: Creating new filesystem on the device (null)
[ +36 ms] I/OpenGLRenderer( 4936): Davey! duration=1047ms; Flags=1, IntendedVsync=1962855789091, Vsync=1963822455719,
OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=1963835451100, AnimationStart=1963835501700,PerformTraversalsStart=1963835528900, DrawStart=1963842074300, SyncQueued=1963844273100, SyncStart=1963846628500,
IssueDrawCommandsStart=1963847268700, SwapBuffers=1963861042100, FrameCompleted=1963905729700,
DequeueBufferDuration=16600000, QueueBufferDuration=1026000,
[ +47 ms] DevFS: Created new filesystem on the device
(file:///data/user/0/com.example.stable_flutter/code_cache/stable_flutterXYMRCI/stable_flutter/)
[ +6 ms] Updating assets
[ +131 ms] Syncing files to device AOSP on IA Emulator...
[ +2 ms] <- reset
[ ] Compiling dart to kernel with 0 updated files
[ +2 ms] <- recompile package:stable_flutter/main.dart b7a68a6f-abaa-4457-8f53-0b28b1259d81
[ ] <- b7a68a6f-abaa-4457-8f53-0b28b1259d81
[ +181 ms] Updating files.
[ ] DevFS: Sync finished
[ +1 ms] Syncing files to device AOSP on IA Emulator... (completed in 188ms)
[ ] Synced 0.0MB.
[ +1 ms] <- accept
[ +17 ms] Connected to _flutterView/0xdf451010.
[ +4 ms] Flutter run key commands.
[ +2 ms] r Hot reload.
[ +1 ms] R Hot restart.
[ ] h Repeat this help message.
[ ] d Detach (terminate "flutter run" but leave application running).
[ ] c Clear the screen
[ ] q Quit (terminate the application on the device).
[ ] Running with sound null safety
[ ] An Observatory debugger and profiler on AOSP on IA Emulator is available at:
http://127.0.0.1:51629/jG1IkbuaCMg=/
[ +146 ms] D/EGL_emulation( 4936): eglMakeCurrent: 0xda84f020: ver 2 0 (tinfo 0xda85aeb0)
[ +5 ms] D/eglCodecCommon( 4936): setVertexArrayObject: set vao to 0 (0) 1 0
[ +503 ms] The Flutter DevTools debugger and profiler on AOSP on IA Emulator is available at: flutter doctor -v[✓] Flutter (Channel stable, 2.2.1, on Microsoft Windows [Version 10.0.19043.1023], locale en-US)
• Flutter version 2.2.1 at C:\Users\Taha\Code\flutter_stable
• Framework revision 02c026b03c (7 days ago), 2021-05-27 12:24:44 -0700
• Engine revision 0fdb562ac8
• Dart version 2.13.1
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\Users\Taha\Code\SDK
• Platform android-30, build-tools 30.0.3
• ANDROID_SDK_ROOT = C:\Users\Taha\Code\SDK
• Java binary at: C:\Users\Taha\Code\openjdk\bin\java.exe
• Java version OpenJDK Runtime Environment (build 1.8.0-262-b10)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.10.0)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.10.31321.278
• Windows 10 SDK version 10.0.19041.0
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
[✓] IntelliJ IDEA Community Edition (version 2021.1)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2021.1.1
• 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
[✓] VS Code (version 1.56.2)
• VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.23.0
[✓] Connected device (4 available)
• AOSP on IA Emulator (mobile) • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19043.1023]
• Chrome (web) • chrome • web-javascript • Google Chrome 91.0.4472.77
• Edge (web) • edge • web-javascript • Microsoft Edge 91.0.864.37
! Doctor found issues in 1 category. Can you please upgrade to the latest |
Thank you @ristiisa , this is making my life impossible, i am going to upgrade flutter and see if it still persist. |
Still not fixed, please how can get rid of this error? |
@ristiisa did you find a solution to this please? |
Funny i am not getting an error with your code sample. I'm utterly confused... |
I'm still having the issue with Flutter 2.2.1. It seems that the sample code provided shows uncaught exception when debugger is attached when the source shows that it is caught. So idk what is going on with that. |
@ristiisa Used the following minimal code sample minimal code sampleimport 'dart:io';
import 'package:flutter/material.dart';
main() async {
var client = HttpClient();
client.openUrl("get", Uri.parse("http://ptsv2.com/t/e2xwh-1622643201"));
return runApp(MaterialApp(home: Scaffold(
body: Center(child: Text("Hello")),
)));
} Logs
Check flutter doctor -v[✓] Flutter (Channel stable, 2.2.1, on macOS 11.4 20F71 darwin-x64, locale
en-GB)
• Flutter version 2.2.1 at /Users/tahatesser/Code/flutter_stable
• Framework revision 02c026b03c (12 days ago), 2021-05-27 12:24:44 -0700
• Engine revision 0fdb562ac8
• Dart version 2.13.1
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Volumes/Extreme/SDK
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = /Volumes/Extreme/SDK
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Volumes/Extreme/Xcode-beta.app/Contents/Developer
• Xcode 13.0, Build version 13A5154h
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.2)
• Android Studio at /Applications/Android Studio.app/Contents
• 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.6916264)
[✓] VS Code (version 1.56.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.23.0
[✓] Connected device (2 available)
• macOS (desktop) • macos • darwin-x64 • macOS 11.4 20F71 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 91.0.4472.77
• No issues found! [✓] Flutter (Channel master, 2.3.0-17.0.pre.259, on macOS 11.4 20F71 darwin-x64,
locale en-GB)
• Flutter version 2.3.0-17.0.pre.259 at
/Users/tahatesser/Code/flutter_master
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ba5208122a (7 hours ago), 2021-06-07 23:29:04 -0400
• Engine revision b5dca5d4b4
• Dart version 2.14.0 (build 2.14.0-188.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Volumes/Extreme/SDK
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = /Volumes/Extreme/SDK
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Volumes/Extreme/Xcode-beta.app/Contents/Developer
• Xcode 13.0, Build version 13A5154h
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.2)
• Android Studio at /Applications/Android Studio.app/Contents
• 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.6916264)
[✓] IntelliJ IDEA Community Edition (version 2021.1.2)
• IntelliJ at /Volumes/Extreme/IntelliJ IDEA CE.app
• 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
[✓] VS Code (version 1.56.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.23.0
[✓] Connected device (2 available)
• macOS (desktop) • macos • darwin-x64 • macOS 11.4 20F71 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 91.0.4472.77
• No issues found! ✅ : No Issue ❌: Issue reproduced |
It seems that https://github.com/dart-lang/sdk/blob/master/sdk/lib/io/network_policy.dart is now changed in master and also dev to just return |
I think we are on the wrong track with this issue. You knew that android doesn't allow http traffic anymore? It's not a bug its a feature it seems. |
https://flutter.dev/docs/release/breaking-changes/network-policy-ios-android https://stackoverflow.com/questions/64172791/flutter-insecure-http-is-not-allowed-by-platform am i correct in my assumption that this is on purpose? i switched all my calls to https and i am ok now but its annoying for testing and dev work.... |
you will have to have to manually allow it (both on ios and android) to "unblock" http https://flutter.dev/docs/release/breaking-changes/network-policy-ios-android#allowing-cleartext-connection-for-debug-builds |
Hello
This doesn’t work. It has no impact on the flutter app being able to make non https calls. Were you able to get it to work?
|
Yes |
They most likely have an issue with their regex or something which cannot vslidare complex subdomain urls.
|
that's being a critical bug for me at least |
@Fethi1 @nicolasvahidzein My app is also deployed on Heroku and I am also getting the same error. Were you able to find any solution? |
@TahaTesser referring to your this comment - #83792 (comment). Since you are able to recreate the issue, do you have any workaround? or do you know when it will be fixed? |
We started getting this today after running Flutter upgrade. Does not cause any practical issues (http get still works as expected) but cannot debug with stop on all exceptions. Downgrading flutter back to version 2.2.3 made it go away. |
This is making debugging apps really really painful |
I'm not sure it's only about the issues while debugging (which I can prevent by only selecting "debug my code" in VSCode, and don't even show in IntelliJ), but there are a good number of users in the actual production app that I maintain that are having issues connecting to an API. |
@Manuito83 the exception is hit and pauses the code regardless of if "debug my code" is set or not |
I think it's fixed and the code is merged flutter/engine#28576. We now need to wait for a release. |
We were pulling our hair out trying to get to the bottom of this, all was working on flutter 2.2.3 but failed on 2.5 (& greater on beta). The issue is in socket_patch.dart when creating an inet_addr and can be resolved (in our case) by upgrading the version of the http library in your pubspec.yaml to 0.13.3 from 0.12.1 (in our case)which forces you to pass a Uri, not a string into the http methods. I have not tried, but you may be able to skip the upgrade (if for some reason you have to), and just pass the Uri's not strings. |
I just upgraded to I then switched to the To verify, I then switched to the So it would seem the
|
This should be prioritized to a 2.5.2 or smth. It is making debugging hell. |
Hi @timsneath ! |
FWIW |
Switching to master channel resolved the issue for me.
|
Switching to master also solved this for me. I hope it will be fixed in stable in the next update. |
@aam @zanderso - did flutter/engine#28576 fix this issue? I'm assuming so (and will close the issue); if not please re-open this. |
Jaaaaa, the master branch was the solution thx guys because i'm a begginer and i didnt know why my code was throwing that error. |
Seems like it will be released as part of 2.5.3 later this week! |
This is getting to be a real PITA!!!!!! Debugging is getting to be impossible. Is this going to go away anytime soon? |
@nicolasvahidzein The fix was merged into 2.5.3 stable: flutter/engine#29188 |
Ok thank you. Will test it soon. |
It is fixed now 🙏🙏🙏 |
Fixed 🎉🎉🎉🎉🎉🎉 |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to Reproduce
Expected results:
Would not throw.
Actual results:
ArgumentError (Invalid argument(s): Invalid internet address ptsv2.com)
(both on android and ios).Related but got closed: #82405
The text was updated successfully, but these errors were encountered: