- Continue in this tutorial...
http://kio4.com/appinventor/125B_extensiones_crear_i.htm
- Download appinventor-sources:
##INSTALL LOCAL APPINVENTOR on LINUX (this with Xubuntu 16.04.3 LTS)## All done in home directory (cd)## Due to the paths chosen, had to use sudo to build and run## replace USER with your username## Open terminal:
## 1) Clone the AppInventor Sourcesgit clone --recursive https://github.com/mit-cml/appinventor-sources.git << +500mb !!
## 2) Install dependencies and other itemssudo apt-get install antsudo apt-get install openjdksudo apt-get install lib32z1sudo apt-get install lib32ncurses5sudo apt-get install lib32stdc++6sudo apt-get install libbz2-1.0 << not lib32bz2-1.0 as the howto suggests - supercededsudo apt-get install adb
## 3) Set up Pathsexport JAVA_HOME=/usr/local/buildexport ANT_HOME=/usr/share/ant/adtools/java/jdkexport PATH=${PATH}:${ANT_HOME}/bin
## 4) Get and set appengine sdkwget https://storage.googleapis.com/appengine-sdks/featured/appengine-java-sdk-1.9.58.zip << +190mb !!unzip appengine-java-sdk-1.9.58.zipexport PATH=$PATH:/home/USER/appengine-java-sdk-1.9.58/bin/
## 5) Create some directoriessudo mkdir /usr/local/buildsudo mkdir /usr/local/build/binsudo mkdir /usr/local/build/bin/java
## 6) Build Appinventorcd appinventor-sources/appinventorsudo ant cleansudo ant MakeAuthKeysudo ant << took my machine @ 5 minutes
## 7) Run Local Appinventor/home/USER/appengine-java-sdk-1.9.58/bin/dev_appserver.sh --port=8888 --address=0.0.0.0 /home/USER/appinventor-sources/appinventor/appengine/build/war/localhost:8888 in browser
## 8) Run local Build Servercd appinventor-sources/appinventor/buildserverant RunLocalBuildServersudo ant RunLocalBuildServerlocalhost:9990/buildserver/vars << gives info about build server- Copy, paste and try.
- Get template file in this link: http://kio4.com/appinventor/126_extensiones_plantilla.htm
Regards.
Juan Antonio Villalpando.