softartdev / notedelight Goto Github PK
View Code? Open in Web Editor NEWMultiplatform note app with encryption
License: GNU General Public License v3.0
Multiplatform note app with encryption
License: GNU General Public License v3.0
Dear Sir very thx your project
let me know how use SQLDelight & sqlite
i can build this projetc at mac & linux
but i get error at Windows !!
Could not create task ':shared:compileDebugJavaWithJavac !!
Caused by: org.gradle.jvm.toolchain.internal.NoToolchainAvailableException: No matching toolchains found for requested specification: {languageVersion=11, vendor=any, implementation=vendor-specific} for WINDOWS on x86_64.
at org.gradle.jvm.toolchain.internal.JavaToolchainQueryService.downloadToolchain(JavaToolchainQueryService.java:180)
at org.gradle.jvm.toolchain.internal.JavaToolchainQueryService.lambda$query$2(JavaToolchainQueryService.java:146)
Failed building KotlinMPPGradleModel jvmToolchain(11)
Caused by: org.gradle.api.internal.provider.AbstractProperty$PropertyQueryException: Failed to calculate the value of task ':shared:compileDebugJavaWithJavac' property 'javaCompiler'.
Execution failed for task ':shared-jvm-util:compileKotlin'.
'compileJava' task (current target is 11) and 'compileKotlin' task (current target is 17) jvm target compatibility should be set to the same Java version.
Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain
i try to modify
jvmToolchain(11) --> jvmToolchain(17) at build.gradle.kts at "shared" & "shared-compose-ui"
toolchain { languageVersion.set(JavaLanguageVersion.of(11) --> toolchain { languageVersion.set(JavaLanguageVersion.of(17) at build.gradle.kts at "shared-jvm-util"
&
mainClass = "MainKt" --> mainClass = "com.softartdev.notedelight.MainKt" at build.gradle.kts at "desktop-compose-app"
(at mac/linux here also must change !! )
the JVM version is work !!
but Android version still not build
i still get JavaWithJavac task error
my os is WIndows 10 pro x64 + AS (Flamingo + Giraffe )
Android Studio Flamingo | 2022.2.1 Patch 2
Build #AI-222.4459.24.2221.10121639, built on May 12, 2023
Runtime version: 17.0.6+0-b2043.56-9586694 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 8
Registry:
external.system.auto.import.disabled=true
ide.text.editor.with.preview.show.floating.toolbar=false
gradle.version.catalogs.dynamic.support=true
Android Studio Giraffe | 2022.3.1
Build #AI-223.8836.35.2231.10406996, built on June 29, 2023
Runtime version: 17.0.6+0-b2043.56-10027231 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 8
Registry:
external.system.auto.import.disabled=true
ide.text.editor.with.preview.show.floating.toolbar=false
THX
Dear Sir
if run "desktop-compose-app" at Windows ( must do some modify gradle) & Mac
add a new Note
and then Click "T"
will crash !!
java.lang.NullPointerException: ResultSet returned null for Note.sq:getById
at app.cash.sqldelight.ExecutableQuery.executeAsOne(Query.kt:189)
at com.softartdev.notedelight.shared.data.NoteUseCase.loadNote(NoteUseCase.kt:77)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.