Build error
jianking123 opened this issue · comments
Excuse me, what is this question,
How to solve
A problem occurred configuring project ':app'.
Illegal char <:> at index 155: D:\allDemo\fcitx5-android\app\property(org.gradle.api.file.Directory, fixed(class org.gradle.api.internal.file.DefaultFilePropertyFactory$FixedDirectory, D:\allDemo\fcitx5-android\app\build))\generated\ksp\debug\kotlin
I see your are building on Windows, what's your JDK / Android Studio version?
I've never encountered this issue before, but I suspect it's
fcitx5-android/app/build.gradle.kts
Lines 64 to 68 in 364afb4
You can try change ${layout.buildDirectory}
to ${layout.buildDirectory.asFile.get().name}
@rocka By the way, ${layout.buildDirectory}
seems to be deprecated, layout.buildDirectory.dir
is now recommended by official. I have no idea if this can be helpful in this case.
No. buildDir
was deprecated and layout.buildDirectory
should be used instead.
Maybe
fcitx5-android/app/build.gradle.kts
Line 66 in 364afb4
should be changed to
kotlin.srcDir(layout.buildDirectory.dir("generated/ksp/$name/kotlin"))
My android studio version is 2023.2.1, I am a windows10 system, and now there are some new problems
log.txt
I think this may be very simple for you. I am a newbie, so I have many questions. I look forward to your reply.
Please follow the instructions in README.md for how to set up developtment environemnt on Windows.