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

exception when do pub get #826

Open
egproo opened this issue Mar 19, 2024 · 0 comments
Open

exception when do pub get #826

egproo opened this issue Mar 19, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@egproo
Copy link

egproo commented Mar 19, 2024

Flutter Version

My version : 3.2.6

Lib Version

My version : 3.1.1

Platform (Android / iOS / web) + version

Platform : Android

Describe the bug
when do pub get i get
e: Daemon compilation failed: Could not connect to Kotlin compile daemon
java.lang.RuntimeException: Could not connect to Kotlin compile daemon
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.compileWithDaemon(GradleKotlinCompilerWork.kt:218)
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.compileWithDaemonOrFallbackImpl(GradleKotlinCompilerWork.kt:175)
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.run(GradleKotlinCompilerWork.kt:135)
at org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction.execute(GradleCompilerRunnerWithWorkers.kt:73)
at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:63)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:66)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:62)
at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:97)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1.lambda$execute$0(NoIsolationWorkerFactory.java:62)
at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:44)
at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:41)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
at org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:59)
at org.gradle.workers.internal.DefaultWorkerExecutor.lambda$submitWork$2(DefaultWorkerExecutor.java:205)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:187)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.access$700(DefaultConditionalExecutionQueue.java:120)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner$1.run(DefaultConditionalExecutionQueue.java:162)
at org.gradle.internal.Factories$1.create(Factories.java:31)
at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:270)
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:119)
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:124)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:157)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:126)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)

exception: c:\Users\t\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\assets_audio_player_web-3.1.1\android\src\main\kotlin\com\github\florent37\assets_audio_player_web\AssetsAudioPlayerWebPlugin.kt:12:48: warning: 'Registrar' is deprecated. Deprecated in Java
exception: import io.flutter.plugin.common.PluginRegistry.Registrar
exception: ^
exception: c:\Users\t\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\assets_audio_player_web-3.1.1\android\src\main\kotlin\com\github\florent37\assets_audio_player_web\AssetsAudioPlayerWebPlugin.kt:25:22: warning: parameter 'registrar' is never used
exception: fun registerWith(registrar: Registrar) {
exception: ^
exception: c:\Users\t\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\assets_audio_player_web-3.1.1\android\src\main\kotlin\com\github\florent37\assets_audio_player_web\AssetsAudioPlayerWebPlugin.kt:25:33: warning: 'Registrar' is deprecated. Deprecated in Java
exception: fun registerWith(registrar: Registrar) {
exception: ^
e: Daemon compilation failed: Could not connect to Kotlin compile daemon
java.lang.RuntimeException: Could not connect to Kotlin compile daemon
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.compileWithDaemon(GradleKotlinCompilerWork.kt:218)
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.compileWithDaemonOrFallbackImpl(GradleKotlinCompilerWork.kt:175)
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.run(GradleKotlinCompilerWork.kt:135)
at org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction.execute(GradleCompilerRunnerWithWorkers.kt:73)
at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:63)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:66)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:62)
at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:97)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1.lambda$execute$0(NoIsolationWorkerFactory.java:62)
at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:44)
at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:41)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
at org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:59)
at org.gradle.workers.internal.DefaultWorkerExecutor.lambda$submitWork$2(DefaultWorkerExecutor.java:205)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:187)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.access$700(DefaultConditionalExecutionQueue.java:120)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner$1.run(DefaultConditionalExecutionQueue.java:162)
at org.gradle.internal.Factories$1.create(Factories.java:31)
at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:270)
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:119)
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:124)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:157)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:126)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)

exception: c:\Users\t\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\assets_audio_player-3.1.1\android\src\main\kotlin\com\github\florent37\assets_audio_player\AssetsAudioPlayerPlugin.kt:81:13: warning: condition 'intent == null' is always 'false'
exception: if (intent == null)
exception: ^
exception: c:\Users\t\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\assets_audio_player-3.1.1\android\src\main\kotlin\com\github\florent37\assets_audio_player\Player.kt:47:27: warning: 'constructor Handler()' is deprecated. Deprecated in Java
exception: private val handler = Handler()
exception: ^
exception: c:\Users\t\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\assets_audio_player-3.1.1\android\src\main\kotlin\com\github\florent37\assets_audio_player\Player.kt:184:9: warning: this is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API.
exception: GlobalScope.launch(Dispatchers.Main) {
exception: ^
exception: c:\Users\t\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\assets_audio_player-3.1.1\android\src\main\kotlin\com\github\florent37\assets_audio_player\Player.kt:290:25: warning: parameter 'audioMetas' is never used, could be renamed to _
exception: ?.let { audioMetas ->
exception: ^
exception: c:\Users\t\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\assets_audio_player-3.1.1\android\src\main\kotlin\com\github\florent37\assets_audio_player\Player.kt:537:24: warning: 'constructor Handler()' is deprecated. Deprecated in Java
exception: class ForwardHandler : Handler() {
exception: ^
exception: c:\Users\t\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\assets_audio_player-3.1.1\android\src\main\kotlin\com\github\florent37\assets_audio_player\Resolver.kt:35:74: warning: 'DATA: String' is deprecated. Deprecated in Java
exception: return contentPath(uriParsed, MediaStore.Audio.Media.DATA) ?: uri
exception: ^
exception: c:\Users\t\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\assets_audio_player-3.1.1\android\src\main\kotlin\com\github\florent37\assets_audio_player\Resolver.kt:49:75: warning: 'DATA: String' is deprecated. Deprecated in Java
exception: return contentPath(uriParsed, MediaStore.Images.Media.DATA) ?: uri
exception: ^
exception: c:\Users\t\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\assets_audio_player-3.1.1\android\src\main\kotlin\com\github\florent37\assets_audio_player\notification\MediaButtonsReceiver.kt:22:30: warning: 'FLAG_HANDLES_MEDIA_BUTTONS: Int' is deprecated. Deprecated in Java
exception: setFlags(FLAG_HANDLES_MEDIA_BUTTONS)
exception: ^
exception: c:\Users\t\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\assets_audio_player-3.1.1\android\src\main\kotlin\com\github\florent37\assets_audio_player\notification\NotificationActionReceiver.kt:28:21: warning: name shadowed: intent
exception: var intent = context.packageManager.getLaunchIntentForPackage(context.packageName)!!;
exception: ^
exception: c:\Users\t\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\assets_audio_player-3.1.1\android\src\main\kotlin\com\github\florent37\assets_audio_player\notification\NotificationService.kt:145:9: warning: this is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API.
exception: GlobalScope.launch(Dispatchers.Main) {
exception: ^
exception: c:\Users\t\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\assets_audio_player-3.1.1\android\src\main\kotlin\com\github\florent37\assets_audio_player\playerimplem\PlayerImplemExoPlayer.kt:357:17: warning: name shadowed: listener
exception: val listener = object : com.google.android.exoplayer2.Player.Listener {
exception: ^
exception: c:\Users\t\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\assets_audio_player-3.1.1\android\src\main\kotlin\com\github\florent37\assets_audio_player\playerimplem\PlayerImplemMediaPlayer.kt:45:41: warning: unnecessary safe call on a non-null receiver of type PlayerImplemMediaPlayer
exception: val durationMS = mediaPlayer?.open(
exception: ^
exception: c:\Users\t\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\assets_audio_player-3.1.1\android\src\main\kotlin\com\github\florent37\assets_audio_player\playerimplem\PlayerImplemMediaPlayer.kt:55:41: warning: unnecessary non-null assertion (!!) on a non-null receiver of type PlayerImplemMediaPlayer
exception: player = mediaPlayer!!,
exception: ^

@egproo egproo added the bug Something isn't working label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants