https://kotlinlang.org logo
#compose
Title
# compose
d

dector

05/14/2019, 3:09 PM
./studiow
failed with
Copy code
Unzipping
Building compose plugin
sed: -e expression #1, char 0: no previous regular expression
./gradlew: 159: ./gradlew: $s/$/ \\/: not found
sed: -e expression #1, char 0: no previous regular expression
./gradlew: 159: ./gradlew: $s/$/ \\/: not found
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
Launched it manually, copied prebuilts, opened
try-compose
project. But sync is failing with (error in thread). Please, advice. 🙂
Copy code
> Configure project :
[Fatal Error] kotlin-gradle-plugin-1.3.30-compose-20190503.pom:2:1: Content is not allowed in prolog.
[Fatal Error] kotlin-stdlib-jdk8-1.3.21.pom:2:1: Content is not allowed in prolog.
[Fatal Error] kotlin-reflect-1.3.21.pom:2:1: Content is not allowed in prolog.
[Fatal Error] kotlin-stdlib-1.3.21.pom:2:1: Content is not allowed in prolog.
[Fatal Error] kotlin-stdlib-jdk7-1.3.21.pom:2:1: Content is not allowed in prolog.
[Fatal Error] kotlin-stdlib-common-1.3.21.pom:2:1: Content is not allowed in prolog.
[Fatal Error] annotations-13.0.pom:2:1: Content is not allowed in prolog.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'try-compose-master'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.30-compose-20190503.
     Required by:
         project :
      > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.30-compose-20190503.
         > Could not parse POM /home/dector/Downloads/try-compose-master/androidx_prebuilts/prebuilts/androidx/external/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.30-compose-20190503/kotlin-gradle-plugin-1.3.30-compose-20190503.pom
            > Content is not allowed in prolog.
d

Dirkdev

05/14/2019, 3:57 PM
The drive download contains only part of all needed files. For example the referenced kotlin-gradle-plugin files are only git LFS references
t

themishkun

05/14/2019, 5:19 PM
I've reuploaded drive archive with all of the files included
My bad that I messed up with git lfs trying to make things more plug-inable
Just re-download the drive archive and unpack it replacing all of the previous dependencies
👍 1
d

dector

05/14/2019, 7:13 PM
Thank you. It works now.
🍾 1
2 Views