Skip to content
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

error connecting to service protocol #60

Closed
milanpurbia26 opened this issue Jul 30, 2021 · 1 comment
Closed

error connecting to service protocol #60

milanpurbia26 opened this issue Jul 30, 2021 · 1 comment
Assignees
Labels
status: rejected This issue is considered rejected. It will not be worked on.

Comments

@milanpurbia26
Copy link

PS F:\flutter\newapp> flutter run --verbose
[ +99 ms] executing: [C:\Users\milan\Documents\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[+1017 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +2 ms] f4abaa0735eba4dfd8f33f73363911d63931fe03
[ +1 ms] executing: [C:\Users\milan\Documents\flutter/] git tag --points-at
f4abaa0735eba4dfd8f33f73363911d63931fe03
[ +70 ms] Exit code 0 from: git tag --points-at f4abaa0735eba4dfd8f33f73363911d63931fe03
[ ] 2.2.3
[ +9 ms] executing: [C:\Users\milan\Documents\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +55 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/stable
[ ] executing: [C:\Users\milan\Documents\flutter/] git ls-remote --get-url origin
[ +51 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +285 ms] executing: [C:\Users\milan\Documents\flutter/] git rev-parse --abbrev-ref HEAD
[ +44 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.
[ +106 ms] executing: C:\Users\milan\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[ +68 ms] List of devices attached
42001e37fc5a9209 device product:o5ltedd model:SM_G550FY device:o5lte transport_id:3
[ +11 ms] C:\Users\milan\AppData\Local\Android\sdk\platform-tools\adb.exe -s 42001e37fc5a9209 shell getprop
[ +136 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'IOSEngineArtifacts' 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.
[ +129 ms] Skipping pub get: version match.
[ +149 ms] Generating F:\flutter\newapp\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +76 ms] ro.hardware = universal3475
[ +1 ms] ro.build.characteristics = phone
[ +74 ms] Initializing file store
[ +13 ms] Skipping target: gen_localizations
[ +13 ms] complete
[ +8 ms] Launching lib\main.dart on SM G550FY in debug mode...
[ +9 ms] C:\Users\milan\Documents\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\Users\milan\Documents\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Users\milan\Documents\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\milan\AppData\Local\Temp\flutter_tools.cf5d86c\flutter_tool.2c54e81c\app.dill --packages
F:\flutter\newapp.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
[ +18 ms] executing: C:\Users\milan\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree
F:\flutter\newapp\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ +92 ms] Exit code 0 from: C:\Users\milan\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree
F:\flutter\newapp\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.newapp" (Raw: "com.example.newapp")
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)="newapp" (Raw: "newapp")
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.newapp.MainActivity" (Raw:
"com.example.newapp.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
[ +21 ms] executing: C:\Users\milan\AppData\Local\Android\sdk\platform-tools\adb.exe -s 42001e37fc5a9209 shell -x
logcat -v time -t 1
[ +21 ms] <- compile package:newapp/main.dart
[ +313 ms] --------- beginning of main
07-30 12:28:36.773 D/ScanRecord( 6084): first manudata for manu ID
[ +14 ms] executing: C:\Users\milan\AppData\Local\Android\sdk\platform-tools\adb.exe version
[ +52 ms] Android Debug Bridge version 1.0.41
Version 31.0.2-7242960
Installed as C:\Users\milan\AppData\Local\Android\sdk\platform-tools\adb.exe
[ +12 ms] executing: C:\Users\milan\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[ +59 ms] Building APK
[ +41 ms] Running Gradle task 'assembleDebug'...
[ +11 ms] Using gradle from F:\flutter\newapp\android\gradlew.bat.
[ +25 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +327 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ ] 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: [F:\flutter\newapp\android/] F:\flutter\newapp\android\gradlew.bat -Pverbose=true
-Ptarget-platform=android-arm -Ptarget=F:\flutter\newapp\lib\main.dart
-Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true
-Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+3599 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE
[ +2 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[ +10 ms] > Task :app:preBuild UP-TO-DATE
[ +1 ms] > Task :app:preDebugBuild UP-TO-DATE
[ +1 ms] > Task :app:compileDebugAidl NO-SOURCE
[ +1 ms] > Task :app:compileDebugRenderscript NO-SOURCE
[ +1 ms] > Task :app:generateDebugBuildConfig UP-TO-DATE
[ +1 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE
[ +11 ms] > Task :app:cleanMergeDebugAssets
[ +12 ms] > Task :app:mergeDebugShaders UP-TO-DATE
[ +13 ms] > Task :app:compileDebugShaders NO-SOURCE
[ +1 ms] > Task :app:generateDebugAssets UP-TO-DATE
[ +24 ms] > Task :app:mergeDebugAssets
[ +565 ms] > Task :app:copyFlutterAssetsDebug
[ +8 ms] > Task :app:generateDebugResValues UP-TO-DATE
[ +4 ms] > Task :app:generateDebugResources UP-TO-DATE
[ +1 ms] > Task :app:mergeDebugResources UP-TO-DATE
[ +1 ms] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ +1 ms] > Task :app:extractDeepLinksDebug UP-TO-DATE
[ +3 ms] > Task :app:processDebugMainManifest UP-TO-DATE
[ +4 ms] > Task :app:processDebugManifest UP-TO-DATE
[ +12 ms] > Task :app:processDebugManifestForPackage UP-TO-DATE
[ +71 ms] > Task :app:processDebugResources UP-TO-DATE
[ +3 ms] > Task :app:compileDebugKotlin UP-TO-DATE
[ +1 ms] > Task :app:javaPreCompileDebug UP-TO-DATE
[ +10 ms] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[ +20 ms] > Task :app:compileDebugSources UP-TO-DATE
[ +150 ms] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[ +54 ms] > Task :app:compressDebugAssets UP-TO-DATE
[ +2 ms] > Task :app:processDebugJavaRes NO-SOURCE
[ +16 ms] > Task :app:mergeDebugJavaResource UP-TO-DATE
[ +80 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[ +244 ms] > Task :app:dexBuilderDebug UP-TO-DATE
[ +155 ms] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[ +2 ms] > Task :app:mergeExtDexDebug UP-TO-DATE
[ +1 ms] > Task :app:mergeDexDebug UP-TO-DATE
[ +1 ms] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[ +4 ms] > 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:packageDebug UP-TO-DATE
[ +1 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.
[ +1 ms] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[ +1 ms] BUILD SUCCESSFUL in 4s
[ +1 ms] 32 actionable tasks: 4 executed, 28 up-to-date
[ +619 ms] Running Gradle task 'assembleDebug'... (completed in 6.1s)
[ +68 ms] calculateSha: LocalDirectory: 'F:\flutter\newapp\build\app\outputs\flutter-apk'/app.apk
[+1344 ms] √ Built build\app\outputs\flutter-apk\app-debug.apk.
[ +241 ms] executing: C:\Users\milan\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree
F:\flutter\newapp\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[+1086 ms] Exit code 0 from: C:\Users\milan\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree
F:\flutter\newapp\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.newapp" (Raw: "com.example.newapp")
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)="newapp" (Raw: "newapp")
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.newapp.MainActivity" (Raw:
"com.example.newapp.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 SM G550FY.
[ +1 ms] executing: C:\Users\milan\AppData\Local\Android\sdk\platform-tools\adb.exe -s 42001e37fc5a9209 shell am
force-stop com.example.newapp
[+1918 ms] executing: C:\Users\milan\AppData\Local\Android\sdk\platform-tools\adb.exe -s 42001e37fc5a9209 shell pm
list packages com.example.newapp
[+1779 ms] package:com.example.newapp
[ +2 ms] executing: C:\Users\milan\AppData\Local\Android\sdk\platform-tools\adb.exe -s 42001e37fc5a9209 shell cat
/data/local/tmp/sky.com.example.newapp.sha1
[ +66 ms] 12aaf172e0b7755be328c3ac81fed5f1f9718465
[ +1 ms] Latest build already installed.
[ ] executing: C:\Users\milan\AppData\Local\Android\sdk\platform-tools\adb.exe -s 42001e37fc5a9209 shell -x
logcat -v time -t 1
[ +289 ms] --------- beginning of main
07-30 12:28:50.043 I/PersonaManager( 2775): mKnoxInfo is empty
[ +8 ms] executing: C:\Users\milan\AppData\Local\Android\sdk\platform-tools\adb.exe -s 42001e37fc5a9209 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.newapp/com.example.newapp.MainActivity
[+2839 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.newapp/.MainActivity (has
extras) }
[ +2 ms] Waiting for observatory port to be available...
[+1212 ms] Observatory URL on device: http://127.0.0.1:56401/3EP0dr9YmCM=/
[ +1 ms] executing: C:\Users\milan\AppData\Local\Android\sdk\platform-tools\adb.exe -s 42001e37fc5a9209 forward
tcp:0 tcp:56401
[ +33 ms] 65122
[ +1 ms] Forwarded host port 65122 to device port 56401 for Observatory
[ +11 ms] Caching compiled dill
[ +234 ms] Connecting to service protocol: http://127.0.0.1:65122/3EP0dr9YmCM=/
[ +43 ms] Fail to connect to service protocol: http://127.0.0.1:65122/3EP0dr9YmCM=/: HttpException: Connection
closed before full header was received, uri = http://127.0.0.1:65122/3EP0dr9YmCM=/ws
[ +6 ms] Error connecting to the service protocol: failed to connect to http://127.0.0.1:65122/3EP0dr9YmCM=/
[ +8 ms] "flutter run" took 18,854ms.
[ +11 ms]
#0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:663:9)

#2 FlutterCommand.run.
(package:flutter_tools/src/runner/flutter_command.dart:1043:27)

#3 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#4 CommandRunner.runCommand (package:args/command_runner.dart:196:13)

#5 FlutterCommandRunner.runCommand.
(package:flutter_tools/src/runner/flutter_command_runner.dart:284:9)

#6 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#7 FlutterCommandRunner.runCommand
(package:flutter_tools/src/runner/flutter_command_runner.dart:232:5)

#8 run.. (package:flutter_tools/runner.dart:62:9)

#9 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#10 main (package:flutter_tools/executable.dart:91:3)

[ +263 ms] ensureAnalyticsSent: 255ms
[ +2 ms] Running shutdown hooks
[ +1 ms] Shutdown hooks complete
[ +1 ms] exiting with code 2

@are
Copy link
Contributor

are commented Jul 30, 2021

I'm sorry, but this is not related to PubNub Dart SDK in any way, have you tried looking for support on the Flutter repository?

@are are closed this as completed Jul 30, 2021
@are are added the status: rejected This issue is considered rejected. It will not be worked on. label Jul 30, 2021
@are are self-assigned this Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: rejected This issue is considered rejected. It will not be worked on.
Projects
None yet
Development

No branches or pull requests

2 participants