wix / Detox

Gray box end-to-end testing and automation framework for mobile apps
https://wix.github.io/Detox/
MIT License
11.01k stars 1.9k forks source link

Failed to transform detox-20.19.4.aa #4439

Open Rolando-Barbella opened 1 month ago

Rolando-Barbella commented 1 month ago

What happened?

I'm following the setup guide on Android, unfortunately my R.N version is a bit old (0.63.2), once I try running detox build --configuration android.emu.debug I get the following error:

Failed to transform detox-20.19.4.aar (com.wix:detox:20.19.4) to match attributes {artifactType=android-manifest, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.

Also:

_Failed to transform '/.../nodemodules/detox/Detox-android/com/wix/detox/20.19.4/detox-20.19.4.aar' using Jetifier. Reason: IllegalArgumentException, message: Unsupported class file major version 61. (Run with --stacktrace for more details.)

What was the expected behaviour?

No response

Was it tested on latest Detox?

Did your test throw out a timeout?

Help us reproduce this issue!

No response

In what environment did this happen?

Detox version: ^20.19.4 React Native version: 0.63.2 Has Fabric (React Native's new rendering system) enabled: (yes/no) no Node version: 16.14.0 Device model: Android version: Test-runner (select one): jest / other JAVA17

Detox logs

Detox logs ``` paste logs here! ```

Device logs

Device logs ``` paste your device.log here! ```
x ### More data, please! _No response_
ghuseynova1 commented 1 month ago

@Rolando-Barbella check this https://github.com/wix/Detox/releases/tag/20.18.5

Rolando-Barbella commented 1 month ago

@ghuseynova1 thank you, this issue has been solved