800M

16 object(s)
 

Ubuntu系统编译安装AppInventor源代码

一、更新系统

dpkg --add-architecture i386 #添加并升级后才可以安装32位程序
apt-get update
apt-get upgrade -y

二、安装环境

apt-get install -y libc6:i386 libstdc++6:i386 glibc-doc:i386 gcc-5-base:i386 gcc-6-base:i386 libgcc1:i386
apt-get install -y openjdk-8-jdk zip unzip ant lib32z1 adb phantomjs

三、编译源代码

git clone https://github.com/mit-cml/appinventor-sources.git
cd appinventor-sources
cp sample-.gitignore .gitignore
git submodule update --init #下载其他模块程序
cd appinventor
./buildtools #依次执行操作1、2、3

四、安装GAE

cd ~
wget --no-verbose https://storage.googleapis.com/appengine-sdks/featured/appengine-java-sdk-1.9.68.zip
unzip appengine-java-sdk-1.9.68.zip
echo "export PATH=$PATH:$HOME/appengine-java-sdk-1.9.68/bin" >> ~/.bashrc
source ~/.bashrc

五、启动服务器

java_dev_appserver.sh --port=8888 --address=0.0.0.0 appengine/build/war/
cd appinventor/buildserver && ant RunLocalBuildServer

六、测试访问

http://IP:8888