Pull , Build, and Run Project Code

Import ElastosRDKforUbuntu

Set the local destination for ElastosRDKforUbuntu 

Delete the readme in the Sources directory
 * Delete the readme.txt found in ~/ElastosRDKforUbuntu/Sources.



Import Elastos

Set the local destination for Elastos
 * Set the Elastos local destination to ~/ElastosRDKforUbuntu/Sources.



Import finished

Run Setup.sh
 * Run the setup.sh script. You can find it in ~/ElastosRDKforUbuntu/Setup.




 * Shortcuts on your desktop



Build Elastos code in the Sources folder
 * Open the RDK box by double clicking the shortcut of Arm Android, and run emake.



Change to the Targets directory
 * Change to the Targets directory by running the pd @ command after emake.



Start the emulator and eldrop
 * a. Run emu -c to start the emulator.
 * b. Run eldrop to push Elastos object files to the device.



Emulator

Start adb shell
 * Run elrsh to open the adb shell window.



Run TextViewDemo Sample
 * a. Change the current directory to /data/data/com.elastos.runtime/elastos
 * b. Run ./superexe -app TextViewDemo to launch the TextViewDemo sample.



All the windows

TextViewDemo in the emulator

Home