Unable to build Rocket.Chat Android App (Cordova)

Hi, I cloned rockect.chat android app (written in Cordova) and followed the steps to have it on my machine. But when I run the command: “cordova build android” and throws the following:

“New assets, compiling resources…
Error: Please install ImageMagick.”

Then I ran: “npm install imagemagick”
But the error keeps…

Please, help!

We’ve deprecated the Cordova-based app: https://github.com/RocketChat/Rocket.Chat.Cordova#deprecated
Also, ImageMagick is a platform-dependent requirement not related to Node.js, therefore not reachable via npm. You should look for instructions to install it into your operating system.

Alright thank you.

I am working on Rocket.Chat Native App (Kotlin).

I am having some problems on having it running on my emulator.

1 – The README.md says that i have to clone kotlin SDK and build it.

  • when we clone a kotlin sdk, Android studio considers it as a project. Doing so, i’m having 2 projects: Rocket.Chat.Kotlin.SDK and

Rocket.Chat.Android. The readme also says we need to have Rocket.Chat.Kotlin.SDK on the same directory as Android repository has (Coul you clarify it to me please?);

2 – I am having this error:

ERROR: startup failed:

build file ‘C:\Users\myuser\StudioProjects\Rocket.Chat.Android\build.gradle’: 37: only buildscript {} and other plugins {} script blocks are allowed before plugins {} blocks, no other statements are allowed

See https://docs.gradle.org/4.10.2/userguide/plugins.html#sec:plugins_block for information on the plugins {} block

@ line 37, column 1.

plugins {id ‘org.jetbrains.kotlin.jvm’ version ‘1.3.20’ }

^

1 error.

Following the trail, at line 37 the code is:

.

.

.

 plugins {id **'org.jetbrains.kotlin.jvm'** version **'1.3.20'** }

.

.

.