查看: 5477|回复: 0

[原创] App Inventor离线安装

[复制链接]
  • TA的每日心情
    开心
    2020-2-14 12:16
  • 签到天数: 827 天

    连续签到: 1 天

    [LV.10]以坛为家III

    发表于 2017-6-15 23:54:26 | 显示全部楼层 |阅读模式
    分享到:
    也试一下MIT开发的这个玩意,这不官方下载离线安装包后,运行WinStartAIServer.cmd文件,在此之前安装JDK,dos输出如下
    1. ************************
    2. *** Starting App Inventor Offline...
    3. *** Please check http://AppyBuilder.com
    4. *** Please support and like us on http://Facebook.com/AppyBuilder
    5. ************************
    6. 六月 15, 2017 11:59:11 下午 com.google.apphosting.utils.config.AppEngineWebXmlRe
    7. ader readAppEngineWebXml
    8. 信息: Successfully processed C:\Users\Administrator\Desktop\AppInventorOfflineJu
    9. ne222016\AppInventorOfflineJune222016\AIServer\WEB-INF/appengine-web.xml
    10. Executing [C:\Program Files\Java\jdk1.7.0_45\jre\bin\java, -javaagent:C:\Users\A
    11. dministrator\Desktop\AppInventorOfflineJune222016\AppInventorOfflineJune222016\A
    12. ppEngine\lib\agent\appengine-agent.jar, -Xbootclasspath/p:C:\Users\Administrator
    13. \Desktop\AppInventorOfflineJune222016\AppInventorOfflineJune222016\AppEngine\lib
    14. \override\appengine-dev-jdk-overrides.jar, -classpath, C:\Users\Administrator\De
    15. sktop\AppInventorOfflineJune222016\AppInventorOfflineJune222016\AppEngine\lib\ap
    16. pengine-tools-api.jar, com.google.appengine.tools.development.DevAppServerMain,
    17. --property=kickstart.user.dir=C:\Users\Administrator\Desktop\AppInventorOfflineJ
    18. une222016\AppInventorOfflineJune222016, --port=8888, --address=0.0.0.0, C:\Users
    19. \Administrator\Desktop\AppInventorOfflineJune222016\AppInventorOfflineJune222016
    20. \AIServer]
    21. 六月 15, 2017 11:59:39 下午 com.google.appengine.tools.info.RemoteVersionFactory
    22. getVersion
    23. 信息: Unable to access https://appengine.google.com/api/updatecheck?runtime=java
    24. &release=1.9.17×tamp=1416027930&api_versions=['1.0']
    25. java.net.ConnectException: Connection timed out: connect
    26.         at java.net.DualStackPlainSocketImpl.connect0(Native Method)
    27.         at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketI
    28. mpl.java:79)
    29.         at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.ja
    30. va:339)
    31.         at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocket
    32. Impl.java:200)
    33.         at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java
    34. :182)
    35.         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    36.         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    37.         at java.net.Socket.connect(Socket.java:579)
    38.         at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
    39.         at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:160
    40. )
    41.         at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    42.         at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    43.         at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    44.         at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275)
    45.         at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371)
    46.         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewH
    47. ttpClient(AbstractDelegateHttpsURLConnection.java:191)
    48.         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
    49. ction.java:932)
    50.         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
    51. (AbstractDelegateHttpsURLConnection.java:177)
    52.         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
    53. nection.java:1300)
    54.         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Http
    55. sURLConnectionImpl.java:254)
    56.         at java.net.URL.openStream(URL.java:1037)
    57.         at com.google.appengine.tools.info.RemoteVersionFactory.getVersion(Remot
    58. eVersionFactory.java:76)
    59.         at com.google.appengine.tools.info.UpdateCheck.getApplicationVersionInfo
    60. (UpdateCheck.java:153)
    61.         at com.google.appengine.tools.info.UpdateCheck.maybePrintNagScreen(Updat
    62. eCheck.java:361)
    63.         at com.google.appengine.tools.development.DevAppServerMain$StartAction.a
    64. pply(DevAppServerMain.java:261)
    65.         at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.j
    66. ava:48)
    67.         at com.google.appengine.tools.development.DevAppServerMain.run(DevAppSer
    68. verMain.java:219)
    69.         at com.google.appengine.tools.development.DevAppServerMain.main(DevAppSe
    70. rverMain.java:210)

    71. 六月 15, 2017 11:59:40 下午 com.google.apphosting.utils.config.AppEngineWebXmlRe
    72. ader readAppEngineWebXml
    73. 信息: Successfully processed C:\Users\Administrator\Desktop\AppInventorOfflineJu
    74. ne222016\AppInventorOfflineJune222016\AIServer\WEB-INF/appengine-web.xml
    75. 六月 15, 2017 11:59:40 下午 com.google.apphosting.utils.config.AbstractConfigXml
    76. Reader readConfigXml
    77. 信息: Successfully processed C:\Users\Administrator\Desktop\AppInventorOfflineJu
    78. ne222016\AppInventorOfflineJune222016\AIServer\WEB-INF/web.xml
    79. 六月 15, 2017 11:59:40 下午 com.google.appengine.tools.development.SystemPropert
    80. iesManager setSystemProperties
    81. 信息: Overwriting system property key 'java.util.logging.config.file', value 'C:
    82. \Users\Administrator\Desktop\AppInventorOfflineJune222016\AppInventorOfflineJune
    83. 222016\AppEngine\config\sdk\logging.properties' with value 'WEB-INF/logging.prop
    84. erties' from 'C:\Users\Administrator\Desktop\AppInventorOfflineJune222016\AppInv
    85. entorOfflineJune222016\AIServer\WEB-INF\appengine-web.xml'
    86. 六月 15, 2017 11:59:41 下午 com.google.apphosting.utils.jetty.JettyLogger info
    87. 信息: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLo
    88. gger
    89. 六月 15, 2017 11:59:46 下午 com.google.apphosting.utils.jetty.JettyLogger info
    90. 信息: jetty-6.1.x
    91. 六月 15, 2017 11:59:51 下午 com.google.appinventor.server.storage.ObjectifyStora
    92. geIo <clinit>
    93. 信息: Default GCS Bucket Configured from App Identity: app_default_bucket
    94. 六月 15, 2017 11:59:51 下午 com.google.appinventor.server.storage.ObjectifyStora
    95. geIo <init>
    96. 信息: RetryParams: getInitialRetryDelayMillis() = 100
    97. 六月 15, 2017 11:59:51 下午 com.google.appinventor.server.storage.ObjectifyStora
    98. geIo <init>
    99. 信息: RetryParams: getRequestTimeoutMillis() = 30000
    100. 六月 15, 2017 11:59:51 下午 com.google.appinventor.server.storage.ObjectifyStora
    101. geIo <init>
    102. 信息: RetryParams: getRetryDelayBackoffFactor() = 2.0
    103. 六月 15, 2017 11:59:51 下午 com.google.appinventor.server.storage.ObjectifyStora
    104. geIo <init>
    105. 信息: RetryParams: getRetryMaxAttempts() = 10
    106. 六月 15, 2017 11:59:51 下午 com.google.appinventor.server.storage.ObjectifyStora
    107. geIo <init>
    108. 信息: RetryParams: getRetryMinAttempts() = 3
    109. 六月 15, 2017 11:59:51 下午 com.google.appinventor.server.storage.ObjectifyStora
    110. geIo <init>
    111. 信息: RetryParams: getTotalRetryPeriodMillis() = 10000
    112. 六月 15, 2017 11:59:51 下午 com.google.appengine.api.datastore.dev.LocalDatastor
    113. eService init
    114. 信息: Local Datastore initialized:
    115.         Type: High Replication
    116.         Storage: C:\Users\Administrator\Desktop\AppInventorOfflineJune222016\App
    117. InventorOfflineJune222016\AIServer\WEB-INF\appengine-generated\local_db.bin
    118. 六月 15, 2017 11:59:51 下午 com.google.appengine.api.datastore.dev.LocalDatastor
    119. eService load
    120. 信息: Time to load datastore: 87 ms
    121. 六月 15, 2017 11:59:52 下午 com.google.apphosting.utils.jetty.JettyLogger info
    122. 信息: Started SelectChannelConnector@0.0.0.0:8888
    123. 六月 15, 2017 11:59:52 下午 com.google.appengine.tools.development.AbstractModul
    124. e startup
    125. 信息: Module instance default is running at http://localhost:8888/
    126. 六月 15, 2017 11:59:52 下午 com.google.appengine.tools.development.AbstractModul
    127. e startup
    128. 信息: The admin console is running at http://localhost:8888/_ah/admin
    129. 六月 15, 2017 11:59:52 下午 com.google.appengine.tools.development.DevAppServerI
    130. mpl doStart
    131. 信息: Dev App Server is now running
    132. 六月 16, 2017 12:01:47 上午 com.google.appengine.tools.appstats.AppstatsFilter d
    133. oFilter
    134. 信息: Appstats available: /appstats/details?time=1497542506482
    135. 六月 16, 2017 12:01:48 上午 com.google.appengine.tools.appstats.AppstatsFilter d
    136. oFilter
    137. 信息: Appstats available: /appstats/details?time=1497542508212
    138. 六月 16, 2017 12:01:48 上午 com.google.appengine.tools.appstats.AppstatsFilter d
    139. oFilter
    140. 信息: Appstats available: /appstats/details?time=1497542508223
    141. 六月 16, 2017 12:01:48 上午 com.google.appengine.tools.appstats.AppstatsFilter d
    142. oFilter
    143. 信息: Appstats available: /appstats/details?time=1497542508498
    144. 六月 16, 2017 12:01:50 上午 com.google.appinventor.server.OdeAuthFilter doFilter

    145. 信息: isReadOnly = false
    146. 六月 16, 2017 12:01:50 上午 com.google.appinventor.server.OdeAuthFilter doFilter

    147. 信息: userid is null on login.
    148. 六月 16, 2017 12:01:50 上午 com.google.appengine.tools.appstats.AppstatsFilter d
    149. oFilter
    150. 信息: Appstats available: /appstats/details?time=1497542510248
    151. 六月 16, 2017 12:01:52 上午 com.google.appinventor.server.LoginServlet doGet
    152. 信息: requestURI = /login/
    153. 六月 16, 2017 12:01:52 上午 com.google.appinventor.server.LoginServlet doGet
    154. 信息: locale = en bundle: en
    155. 六月 16, 2017 12:01:52 上午 com.google.appengine.tools.appstats.AppstatsFilter d
    156. oFilter
    157. 信息: Appstats available: /appstats/details?time=1497542512091
    158. 六月 16, 2017 12:01:53 上午 com.google.apphosting.utils.jetty.AppEngineAuthentic
    159. ation$AppEngineAuthenticator authenticate
    160. 信息: Got /login/google but no one was logged in, redirecting.
    161. 六月 16, 2017 12:01:53 上午 com.google.appengine.tools.appstats.AppstatsFilter d
    162. oFilter
    163. 信息: Appstats available: /appstats/details?time=1497542513659
    164. 六月 16, 2017 12:02:48 上午 com.google.appengine.tools.appstats.AppstatsFilter d
    165. oFilter
    166. 信息: Appstats available: /appstats/details?time=1497542568063
    167. 六月 16, 2017 12:02:48 上午 com.google.appinventor.server.LoginServlet doGet
    168. 信息: requestURI = /login/google
    169. 六月 16, 2017 12:02:48 上午 com.google.appinventor.server.LoginServlet doGet
    170. 信息: locale = en bundle: en
    171. 六月 16, 2017 12:02:48 上午 com.google.appinventor.server.storage.ObjectifyStora
    172. geIo$1 run
    173. 信息: Did not find userId 18580476422013912411
    174. 六月 16, 2017 12:02:49 上午 com.google.appinventor.server.storage.ObjectifyStora
    175. geIo$1 run
    176. 信息: Found based on email, userData.id = 185804764220139124118
    177. 六月 16, 2017 12:02:49 上午 com.google.appinventor.server.storage.ObjectifyStora
    178. geIo$1 run
    179. 信息: Set user.setUserId
    180. 六月 16, 2017 12:02:49 上午 com.google.appengine.tools.appstats.AppstatsFilter d
    181. oFilter
    182. 信息: Appstats available: /appstats/details?time=1497542568105
    183. 六月 16, 2017 12:02:50 上午 com.google.appinventor.server.OdeAuthFilter doFilter

    184. 信息: isReadOnly = false
    185. 六月 16, 2017 12:02:50 上午 com.google.appengine.tools.appstats.AppstatsFilter d
    186. oFilter
    187. 信息: Appstats available: /appstats/details?time=1497542570032
    188. 六月 16, 2017 12:02:50 上午 com.google.appinventor.server.OdeAuthFilter doFilter

    189. 信息: isReadOnly = false
    190. 六月 16, 2017 12:02:50 上午 com.google.appinventor.server.OdeAuthFilter doFilter

    191. 信息: isReadOnly = false
    192. 六月 16, 2017 12:02:50 上午 com.google.appengine.tools.appstats.AppstatsFilter d
    193. oFilter
    194. 信息: Appstats available: /appstats/details?time=1497542570830
    195. 六月 16, 2017 12:02:50 上午 com.google.appinventor.server.OdeAuthFilter doFilter

    196. 信息: isReadOnly = false
    197. 六月 16, 2017 12:02:50 上午 com.google.appengine.tools.appstats.AppstatsFilter d
    198. oFilter
    199. 信息: Appstats available: /appstats/details?time=1497542570861
    200. 六月 16, 2017 12:02:51 上午 com.google.appinventor.server.OdeAuthFilter doFilter

    201. 信息: isReadOnly = false
    202. 六月 16, 2017 12:02:51 上午 com.google.appengine.tools.appstats.AppstatsFilter d
    203. oFilter
    204. 信息: Appstats available: /appstats/details?time=1497542571084
    205. 六月 16, 2017 12:02:51 上午 com.google.appengine.tools.appstats.AppstatsFilter d
    206. oFilter
    207. 信息: Appstats available: /appstats/details?time=1497542571093
    208. 六月 16, 2017 12:02:51 上午 com.google.appengine.tools.appstats.AppstatsFilter d
    209. oFilter
    210. 信息: Appstats available: /appstats/details?time=1497542571128
    211. 六月 16, 2017 12:02:51 上午 com.google.appengine.tools.appstats.AppstatsFilter d
    212. oFilter
    213. 信息: Appstats available: /appstats/details?time=1497542571071
    214. 六月 16, 2017 12:02:51 上午 com.google.appengine.tools.appstats.AppstatsFilter d
    215. oFilter
    216. 信息: Appstats available: /appstats/details?time=1497542570668
    217. 六月 16, 2017 12:02:51 上午 com.google.appengine.tools.appstats.AppstatsFilter d
    218. oFilter
    219. 信息: Appstats available: /appstats/details?time=1497542570683
    220. 六月 16, 2017 12:02:51 上午 com.google.appinventor.server.OdeAuthFilter doFilter

    221. 信息: isReadOnly = false
    222. 六月 16, 2017 12:02:51 上午 com.google.appengine.tools.appstats.AppstatsFilter d
    223. oFilter
    224. 信息: Appstats available: /appstats/details?time=1497542571274
    225. 六月 16, 2017 12:02:51 上午 com.google.appinventor.server.OdeAuthFilter doFilter

    226. 信息: isReadOnly = false
    227. 六月 16, 2017 12:02:51 上午 com.google.appengine.tools.appstats.AppstatsFilter d
    228. oFilter
    229. 信息: Appstats available: /appstats/details?time=1497542571312
    230. 六月 16, 2017 12:02:51 上午 com.google.appinventor.server.OdeAuthFilter doFilter

    231. 信息: isReadOnly = false
    232. 六月 16, 2017 12:02:51 上午 com.google.appengine.tools.appstats.AppstatsFilter d
    233. oFilter
    234. 信息: Appstats available: /appstats/details?time=1497542571346
    235. 六月 16, 2017 12:02:51 上午 com.google.appengine.api.datastore.dev.LocalDatastor
    236. eService$PersistDatastore persist
    237. 信息: Time to persist datastore: 21 ms
    复制代码
    中间输出信息: Dev App Server is now running,显示已运行,然后运行WinStartBuildServer.cmd,输出如下
    1. ************************
    2. *** "Starting App Inventor Offline BuildServer..."
    3. *** Please check http://AppyBuilder.com
    4. *** Please support and like us on http://Facebook.com/AppyBuilder
    5. ************************
    6. 鍏湀 16, 2017 12:00:10 涓婂崍 com.sun.jersey.api.core.ClasspathResourceConfig
    7. init
    8. 淇℃伅: Scanning for root resource and provider classes in the paths:
    9.   BuildServer.jar
    10.   CommonUtils.jar
    11.   CommonVersion.jar
    12.   FastInfoset-1.2.2.jar
    13.   activation-1.1.jar
    14.   args4j-2.0.18.jar
    15.   asm-3.1.jar
    16.   commons-io-2.0.1.jar
    17.   grizzly-servlet-webserver-1.9.18-i.jar
    18.   guava-14.0.1.jar
    19.   http-20070405.jar
    20.   jackson-core-asl-1.9.4.jar
    21.   jaxb-api-2.1.jar
    22.   jaxb-impl-2.1.10.jar
    23.   jaxb-xjc.jar
    24.   jdom-1.0.jar
    25.   jersey-bundle-1.3.jar
    26.   jersey-multipart-1.3.jar
    27.   jettison-1.1.jar
    28.   json.jar
    29.   jsr311-api-1.1.1.jar
    30.   localizer.jar
    31.   mail-1.4.jar
    32.   rome-0.9.jar
    33.   sdklib.jar
    34.   stax-api-1.0-2.jar
    35.   wadl-cmdline.jar
    36.   wadl-core.jar
    37.   wadl2java.jar
    38. 鍏湀 16, 2017 12:00:13 涓婂崍 com.sun.jersey.api.core.ScanningResourceConfig l
    39. ogClasses
    40. 淇℃伅: Root resource classes found:
    41.   class com.google.appinventor.buildserver.BuildServer
    42. 鍏湀 16, 2017 12:00:13 涓婂崍 com.sun.jersey.api.core.ScanningResourceConfig i
    43. nit
    44. 淇℃伅: No provider classes found.
    45. 鍏湀 16, 2017 12:00:13 涓婂崍 com.sun.jersey.server.impl.application.WebApplic
    46. ationImpl _initiate
    47. 淇℃伅: Initiating Jersey application, version 'Jersey: 1.3 06/17/2010 05:04 PM'

    48. 鍏湀 16, 2017 12:00:16 涓婂崍 com.sun.grizzly.Controller logVersion
    49. 淇℃伅: Starting Grizzly Framework 1.9.18-i - Fri Jun 16 00:00:16 CST 2017
    50. 鍏湀 16, 2017 12:00:16 涓婂崍 com.google.appinventor.buildserver.BuildServer m
    51. ain
    52. 淇℃伅: App Inventor Build Server - Version: nls-933-g7b73d55-dirty
    53. 鍏湀 16, 2017 12:00:16 涓婂崍 com.google.appinventor.buildserver.BuildServer m
    54. ain
    55. 淇℃伅: App Inventor Build Server - Git Fingerprint: 7b73d5536a79441c9b6070cd088
    56. 6fde60bdc1650
    57. 鍏湀 16, 2017 12:00:16 涓婂崍 com.google.appinventor.buildserver.BuildServer m
    58. ain
    59. 淇℃伅: Running at: http://169.254.193.195:9990/buildserver
    60. 鍏湀 16, 2017 12:00:16 涓婂崍 com.google.appinventor.buildserver.BuildServer m
    61. ain
    62. 淇℃伅: Maximum simultanous builds = unlimited!
    63. 鍏湀 16, 2017 12:00:16 涓婂崍 com.google.appinventor.buildserver.BuildServer m
    64. ain
    65. 淇℃伅: Visit: http://169.254.193.195:9990/buildserver/health for server health
    66. 鍏湀 16, 2017 12:00:16 涓婂崍 com.google.appinventor.buildserver.BuildServer m
    67. ain
    68. 淇℃伅: Visit: http://169.254.193.195:9990/buildserver/vars for server values
    69. 鍏湀 16, 2017 12:00:16 涓婂崍 com.google.appinventor.buildserver.BuildServer m
    70. ain
    71. 淇℃伅: Server running
    复制代码
    最后显示已运行,可正常使用
    然后进入http://localhost:8888,
    31.JPG
    竟然有中文版
    33.JPG
    可以开始了,小伙伴
    回复

    使用道具 举报

    您需要登录后才可以回帖 注册/登录

    本版积分规则

    关闭

    站长推荐上一条 /4 下一条



    手机版|小黑屋|与非网

    GMT+8, 2024-11-19 06:13 , Processed in 0.116819 second(s), 18 queries , MemCache On.

    ICP经营许可证 苏B2-20140176  苏ICP备14012660号-2   苏州灵动帧格网络科技有限公司 版权所有.

    苏公网安备 32059002001037号

    Powered by Discuz! X3.4

    Copyright © 2001-2024, Tencent Cloud.