Building android debug SDK using `assembleDebug`

I am building the SDK myself and integrating in my app.

I am getting a SIGABRT and would like to debug the root cause so I modified the android/scripts/ file and the build.gradle files to generate debug builds instead of release.

The maven repo is build fine, but at runtime I get the following error

No virtual method setBundleDeltasEnabled

Has anybody successfully built and ran a debug version of the SDK within another RN app?

How did you build the SDK ?
While following the instruction at, it is failing at the ```
./android/scripts/ /tmp/repo

 with following error : 

> Task :sdk:bundleReleaseJsAndAssets
warning: the transform cache was reset.
Loading dependency graph, done.
error Import statement may only appear at top level in file at 4:2. Run CLI with --verbose flag for more details.
Error: Import statement may only appear at top level in file at 4:2
    at /home/gibraan/Git_Projects/jitsi-meet/node_modules/metro/src/JSTransformer/worker.js:430:17
    at (<anonymous>)
    at asyncGeneratorStep (/home/gibraan/Git_Projects/jitsi-meet/node_modules/metro/src/JSTransformer/worker.js:75:24)
    at _next (/home/gibraan/Git_Projects/jitsi-meet/node_modules/metro/src/JSTransformer/worker.js:95:9)
    at /home/gibraan/Git_Projects/jitsi-meet/node_modules/metro/src/JSTransformer/worker.js:100:7
    at new Promise (<anonymous>)
    at /home/gibraan/Git_Projects/jitsi-meet/node_modules/metro/src/JSTransformer/worker.js:92:12
    at JsTransformer._minifyCode (/home/gibraan/Git_Projects/jitsi-meet/node_modules/metro/src/JSTransformer/worker.js:437:7)
    at /home/gibraan/Git_Projects/jitsi-meet/node_modules/metro/src/JSTransformer/worker.js:367:33

> Task :sdk:bundleReleaseJsAndAssets FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sdk:bundleReleaseJsAndAssets'.
> Process 'command 'node'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.

BUILD FAILED in 19m 18s
170 actionable tasks: 156 executed, 14 up-to-date

Any help would be most appreciated. Thanks.