chore: remove junk files and add to gitignore
Remove accidentally committed .kotlin/errors/ log and .vscode/ config files. Add both directories to .gitignore to prevent future commits.
This commit is contained in:
@@ -13,3 +13,5 @@ local.properties
|
||||
*.hprof
|
||||
node_modules/
|
||||
app/temp/
|
||||
.kotlin/
|
||||
.vscode/
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
kotlin version: 2.0.21
|
||||
error message: The daemon has terminated unexpectedly on startup attempt #1 with error code: 0. The daemon process output:
|
||||
1. Kotlin compile daemon is ready
|
||||
|
||||
error message: The daemon has terminated unexpectedly on startup attempt #2 with error code: 0. The daemon process output:
|
||||
1. Kotlin compile daemon is ready
|
||||
Problems may have occurred during auto-selection of GC. The preferred GC is Parallel GC.
|
||||
If the problems persist, try adding the JVM option to the Kotlin daemon JVM arguments: -XX:-UseParallelGC.
|
||||
GC auto-selection logic is disabled temporary for the next daemon startup.
|
||||
|
||||
error message: The daemon has terminated unexpectedly on startup attempt #3 with error code: 0. The daemon process output:
|
||||
1. Kotlin compile daemon is ready
|
||||
|
||||
error message: Failed connecting to the daemon in 4 retries
|
||||
|
||||
error message: 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:214)
|
||||
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.compileWithDaemonOrFallbackImpl(GradleKotlinCompilerWork.kt:159)
|
||||
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.run(GradleKotlinCompilerWork.kt:111)
|
||||
at org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction.execute(GradleCompilerRunnerWithWorkers.kt:76)
|
||||
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:100)
|
||||
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:210)
|
||||
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:205)
|
||||
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:67)
|
||||
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:60)
|
||||
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:167)
|
||||
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:60)
|
||||
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:54)
|
||||
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$0(DefaultWorkerExecutor.java:174)
|
||||
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
|
||||
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:194)
|
||||
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.access$700(DefaultConditionalExecutionQueue.java:127)
|
||||
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner$1.run(DefaultConditionalExecutionQueue.java:169)
|
||||
at org.gradle.internal.Factories$1.create(Factories.java:31)
|
||||
at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:263)
|
||||
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:127)
|
||||
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:132)
|
||||
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:164)
|
||||
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:133)
|
||||
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.AbstractManagedExecutor$1.run(AbstractManagedExecutor.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:840)
|
||||
|
||||
|
||||
Vendored
-19
@@ -1,19 +0,0 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Wisp: Run on Emulator",
|
||||
"type": "node-terminal",
|
||||
"request": "launch",
|
||||
"command": "echo 'Running Wisp on emulator...'",
|
||||
"preLaunchTask": "wisp:run-on-emulator"
|
||||
},
|
||||
{
|
||||
"name": "Wisp: Start Filtered Logcat",
|
||||
"type": "node-terminal",
|
||||
"request": "launch",
|
||||
"command": "echo 'Starting filtered logcat...'",
|
||||
"preLaunchTask": "wisp:logcat"
|
||||
}
|
||||
]
|
||||
}
|
||||
Vendored
-55
@@ -1,55 +0,0 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "wisp:start-emulator",
|
||||
"type": "shell",
|
||||
"command": "if adb devices | awk '/^emulator-/{found=1} END{exit !found}'; then echo \"Emulator already running\"; else nohup \"$HOME/Library/Android/sdk/emulator/emulator\" -avd Pixel_9_API_35 >/tmp/wisp-emulator.log 2>&1 & echo \"Starting emulator Pixel_9_API_35\"; fi",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "wisp:wait-for-boot",
|
||||
"type": "shell",
|
||||
"command": "adb wait-for-device; echo \"Waiting for Android boot (Package Manager)...\"; i=0; while [ \"$i\" -lt 180 ]; do b=$(adb shell getprop sys.boot_completed 2>/dev/null | xargs); if [ \"$b\" = \"1\" ]; then echo \"Boot complete.\"; exit 0; fi; i=$((i+1)); sleep 2; done; echo \"Timeout: emulator did not finish booting.\"; exit 1",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "wisp:prepare-device-space",
|
||||
"type": "shell",
|
||||
"command": "adb uninstall com.wisp.app >/dev/null 2>&1 || true; adb shell pm trim-caches 2G >/dev/null 2>&1 || true",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "wisp:install-debug",
|
||||
"type": "shell",
|
||||
"command": "export JAVA_HOME=\"/opt/homebrew/opt/openjdk@17/libexec/openjdk.jdk/Contents/Home\"; export PATH=\"$JAVA_HOME/bin:$PATH\"; ./gradlew :app:assembleDebug && SERIAL=$(adb devices | awk '/^emulator-.*[[:space:]]+device$/{print $1; exit}'); [ -n \"$SERIAL\" ] || SERIAL=$(adb devices | awk '/^[[:alnum:]:.-]+[[:space:]]+device$/{print $1; exit}'); [ -n \"$SERIAL\" ] || { echo \"No adb device in state device\"; exit 1; }; adb -s \"$SERIAL\" install -r app/build/outputs/apk/debug/app-debug.apk",
|
||||
"group": "build",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "wisp:launch-app",
|
||||
"type": "shell",
|
||||
"command": "adb wait-for-device && adb shell monkey -p com.wisp.app -c android.intent.category.LAUNCHER 1",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "wisp:run-on-emulator",
|
||||
"dependsOrder": "sequence",
|
||||
"dependsOn": [
|
||||
"wisp:start-emulator",
|
||||
"wisp:wait-for-boot",
|
||||
"wisp:prepare-device-space",
|
||||
"wisp:install-debug",
|
||||
"wisp:launch-app"
|
||||
],
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "wisp:logcat",
|
||||
"type": "shell",
|
||||
"command": "if command -v rg >/dev/null 2>&1; then adb logcat | rg --line-buffered \"AndroidRuntime|FATAL EXCEPTION|System.err|wisp|Wisp\"; else adb logcat; fi",
|
||||
"isBackground": true,
|
||||
"problemMatcher": []
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user