Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Can't compile the project in Android Studio #233

Closed
AyalaSaenzJorge opened this issue Oct 26, 2018 · 7 comments
Closed

Can't compile the project in Android Studio #233

AyalaSaenzJorge opened this issue Oct 26, 2018 · 7 comments
Assignees

Comments

@AyalaSaenzJorge
Copy link

AyalaSaenzJorge commented Oct 26, 2018

Hi, I've tried this code in both Android Studio 3.2 and 3.3, but I get always this result
image

Thanks in advance.

@corjohnson
Copy link

Do you have more information; such as what version of Kotlin you're running?

@AyalaSaenzJorge
Copy link
Author

Hi, sorry for the delay, as for the Kotin version here is a snapshot of the gradle file with that information:

image

I'm using:

Android Studio 3.2.1
Build #AI-181.5540.7.32.5056338, built on October 8, 2018
JRE: 1.8.0_152-release-1136-b06 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.4.0-138-generic

@XinyueZ
Copy link
Contributor

XinyueZ commented Nov 5, 2018

I have AS 3.4.0-alpha02, it works at my side.
Your need pull from latest from the master, what I'd suggest.

@tiembo
Copy link
Contributor

tiembo commented Nov 6, 2018

@AyalaSaenzJorge are you still having this problem? I am unable to reproduce it with Android Studio 3.2.1 on Linux.

@AyalaSaenzJorge
Copy link
Author

@tiembo yes I do. But I haven't tried @XinyueZ suggestion yet...

@fidschau
Copy link

I had to revert to 0a39e7b639e069c20203c25f2ff6a4e0b86feb62 "Use Kotlin Coroutines for IO executor #235 " for mine to work. I suspect my android studio was battling with gradle 5.0

@tiembo
Copy link
Contributor

tiembo commented Nov 30, 2018

Hi @fidschau - indeed, there was an issue with Gradle 5.0 and Android Studio 3.2.1. This was fixed in #252, so now the code is back to running Gradle 4.10.2.

@AyalaSaenzJorge I'll go ahead and close this issue. Please comment if you run into any more problems with your setup.

@tiembo tiembo closed this as completed Nov 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants