Skip to content
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

Fix CI build for Android #2250

Closed
sync-by-unito bot opened this issue Nov 1, 2022 · 6 comments
Closed

Fix CI build for Android #2250

sync-by-unito bot opened this issue Nov 1, 2022 · 6 comments

Comments

@sync-by-unito
Copy link

sync-by-unito bot commented Nov 1, 2022

┆Issue is synchronized with this Asana task by Unito
┆Created By: Sam

@sync-by-unito
Copy link
Author

sync-by-unito bot commented Nov 1, 2022

➤ Sam commented:

If you open any PR for sprint 22.10.24 ( https://github.com/numbersprotocol/capture-lite/pulls/sultanmyrza )we can see failed Android build.

Or for example, this failed job ( https://github.com/numbersprotocol/capture-lite/actions/runs/3360068570/jobs/5568813819 ).

@sync-by-unito
Copy link
Author

sync-by-unito bot commented Nov 1, 2022

➤ Sam commented:

Stacktrace

  • What went wrong:
    A problem occurred configuring project ':numbersprotocol-preview-camera'.

Could not resolve all artifacts for configuration ':numbersprotocol-preview-camera:classpath'.
Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.6.20-RC.
Required by:

project :numbersprotocol-preview-camera > org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.20-RC

Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.6.20-RC.
Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin-api/1.6.20-RC/kotlin-gradle-plugin-api-1.6.20-RC.pom ( https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin-api/1.6.20-RC/kotlin-gradle-plugin-api-1.6.20-RC.pom )'.
Could not GET 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin-api/1.6.20-RC/kotlin-gradle-plugin-api-1.6.20-RC.pom ( https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin-api/1.6.20-RC/kotlin-gradle-plugin-api-1.6.20-RC.pom )'.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

@sync-by-unito
Copy link
Author

sync-by-unito bot commented Nov 1, 2022

➤ Sam commented:

Locally npx cap sync android finishes without any error.

@sync-by-unito
Copy link
Author

sync-by-unito bot commented Nov 1, 2022

➤ Sam commented:

Suddenly these properties are not available in the preview camera plugin android code. 🫤 Will check build.gradle dependencies

@sync-by-unito
Copy link
Author

sync-by-unito bot commented Nov 1, 2022

➤ Sam commented:

Bofu Chen, it's strange this android build job ( https://github.com/numbersprotocol/capture-lite/actions/runs/3367159546/jobs/5585639580 ) is working.

@sync-by-unito
Copy link
Author

sync-by-unito bot commented Nov 1, 2022

➤ Bofu Chen commented:

It looks like that upstream removed the dependencies unexpectedly and added them back.

@sync-by-unito sync-by-unito bot closed this as completed Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants