Skip to content

Missing the Detox-android folder in npm package #3

@RexSkz

Description

@RexSkz

When I ran ./gradlew assembleAndroidTest I got the error:

> Task :app:compileDebugAndroidTestJavaWithJavac FAILED
/.../demo/android/app/src/androidTest/java/com/.../DetoxTest.java:3: error: cannot find symbol
import com.wix.detox.Detox;
                    ^
  symbol:   class Detox
  location: package com.wix.detox

I went through the original npm package provided by Detox and found the Detox-android folder which is generated using npm package:android. However, it's missing from @browserstack/detox, and I couldn't find a way to add it back.

This folder will be used by build.gradle, I think it's important and should not be missing:

allprojects {
    repositories {
        maven {
          url("$rootDir/../node_modules/detox/Detox-android")
        }
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions