Detox icon indicating copy to clipboard operation
Detox copied to clipboard

Failed to transform detox-20.19.4.aa

Open Rolando-Barbella opened this issue 10 months ago • 4 comments

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 '/.../node_modules/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?

  • [X] I have tested this issue on the latest Detox release and it still reproduces.

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

Rolando-Barbella avatar Apr 03 '24 14:04 Rolando-Barbella

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

ghuseynova1 avatar Apr 04 '24 20:04 ghuseynova1

@ghuseynova1 thank you, this issue has been solved

Rolando-Barbella avatar Apr 09 '24 13:04 Rolando-Barbella

@Rolando-Barbella can you share how did you solved it?

eduard1dev avatar Jun 05 '24 15:06 eduard1dev

@Rolando-Barbella can you share how did you solved it?

@eduard1dev check this https://github.com/wix/Detox/releases/tag/20.18.5

Rolando-Barbella avatar Jun 05 '24 16:06 Rolando-Barbella