-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android Studio 3.1 Canary 9 #64
Comments
Well, I managed to update Kotlin and Gradle plugin's version, assembled plugin then works with Canary, too. |
@yunikkk so just recompiling the plugin fixed it? |
Basically, yes. |
Hi, there, so, what's the fix? is it going to be any update? Thanks |
I'm not keen on doing a release for a canary version.
…On Mon, 5 Feb 2018, 9:57 PM Julio Yaguez, ***@***.***> wrote:
Hi, there, so, what's the fix? is it going to be any update?
Thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#64 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA_l_x8N0jkMExRlACUZRSZVVLdcL4Nbks5tRt6ygaJpZM4RyCBZ>
.
--
Cheers,
Ranie Jade Ramiso
Software Engineer
w: http://polymorphicpanda.io
|
makes sense, would it be possible then, to have some instructions on how to compile it in the same way @yunikkk did, so anyone who wants to use the preview version of AS can use it? |
|
@raniejade HI, i just update AS 3.1.0. and suddenly i cannot run spek by using IDE. but still run when using command line. how to fix that? |
I'm trying out a fix locally, but the jcenter outage is blocking me. Hopefully, this gets fixed soon. |
@radityagumay @julioyg @yunikkk can you guys test this build out: https://drive.google.com/file/d/11BT-2alz6C6XxqZCAqggje1l1HvNxarl/view?usp=sharing. It works for me, let me know if there are issues. |
works for me, Thanks! :) |
@raniejade hi, great.i will check that out and info to you soon! |
OK, my problem was |
@raniejade I got different error Caused by: com.android.builder.dexing.DexArchiveBuilderException: Failed to process /Users/radityagumay/AndroidStudioProjects/Foo/GreateApp/app/libs/junit-platform-launcher-1.0.1.jar |
@almozavr can you share you full config? I use AS 3.1.0 I got |
@radityagumay here it is Gradle wrapper:4.6 Dependencies versions
Buildscript Dependencies
app's build.gradle
|
Perhaps, try updating junit-platform? |
@raniejade i've been update like @almozavr answer but, still wont works. ^ run icon in left is missing. and spek class is like not being used by someone. but, when i use jUnit, its works. @raniejade see the diff between generate kotlin-classes, i did ./gradlew testDebugUnitTest jacocoDebugTestReport in spek we havent implementation detail of concrete classes. but, in junit had. @raniejade for inject the lib that you share, this just copying to app/libs right? is any config should i do? here's my configuration ================== buildscript ==================== `buildscript {
}` ============= build.gradle =============== ` apply from: "$rootDir/coverage.gradle" // junit5 doesn't support android projects out of the box android {
} dependencies {
} |
@radityagumay that means the plugin is not loaded. Can you guys dump what versions of JUnit Platform are you using? The plugin works with this project: https://github.com/spekframework/spek-android-example |
@radityagumay you're missing
Note, it's not a custom dependency, but a function from |
@almozavr is it working for you? or is there a dexing error? |
Hey guys, is anyone still experiencing an error? Otherwise I'm going to release the build this weekend. |
@raniejade works for me, too. AS 3.1 RC3. |
didn't works for me, and several my friends that use AS 3.1 stable @raniejade. |
Hmm, just updated to AS 3.1, still works fine here @radityagumay . Guess its smth with your project settings. |
@raniejade Your fix worked for me too (AS 3.1), thanks :) |
@raniejade plugin works pretty fine 👍 |
I've already created issue in the main spek repo (spekframework/spek#354), seems here is a better place for it.
Spek plugin
0.5.4-studio3.0
fails to run tests.Trying with sample https://github.com/spekframework/spek-android-example produces
Error running 'org.spekframework.speksample.CalculatorSpec': com.android.tools.idea.gradle.project.model.AndroidModuleModel.getSelectedVariant()Lcom/android/tools/idea/gradle/project/model/ide/android/IdeVariant;
This is very similar to the error which appeared with gradle sync-s in Studio Canary 3, https://stackoverflow.com/questions/47290290/android-studio-3-1-canary-3-gradle-sync-failed.
The text was updated successfully, but these errors were encountered: