DEV Community


Discussion on: How to install electrode-native on Ubuntu to develop for Android

jadolg profile image
Jorge Alberto Díaz Orozco (Akiel) Author

I have not used this technology for more than one year already. One year ago it was not ready and it was barely usable. I do not recommend this technology at all. I'm sorry I can't be of much help here.

santosh2606 profile image
Santosh Kumar

Hi Akiel, Above raised issue has been resolved and steps are as follows to resolve:

  1. open the terminal and type sudo su to become the root user
  2. Install the gradle
  3. Edit the ~/.bashrc and add the followings

export ANDROID_SDK_ROOT=/home/$USER/Android/Sdk # comment you can also change the $USER with your username or can set the path where you have installed Android
export PATH=$PATH:$ANDROID_SDK_ROOT/emulator
export PATH=$PATH:$ANDROID_SDK_ROOT/tools/bin
export PATH=$PATH:$ANDROID_SDK_ROOT/platform-tools
export PATH=$PATH:$ANDROID_SDK_ROOT/build-tools
also option in case still getting error add following line as well
GRADLE_HOME=/opt/gradle # comment enter the respective path as you have installed
export PATH=$PATH:$GRADLE_HOME/gradle5.5

  1. Save the file
  2. Reboot the system
  3. again login with root user into the terminal and execute following command once after connecting the mobile device $ adb devices
  4. now run the ern run-android command