Sencha Touch使用所有类构建应用程序

时间:2014-11-19 01:59:34

标签: javascript android extjs sencha-touch sencha-cmd

我尝试使用here所述的所有类方法来加速我的应用程序。

我使用以下代码更新了我的index.html:

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Twitter</title>

    <link rel="stylesheet" href="resources/css/application.css" type="text/css">

    <script type="text/javascript" src="touch/sencha-touch-debug.js"></script>
    <script type="text/javascript" src="app.js"></script>
</head>
<body></body>
</html>

建立那个有效的工作。错误是:

  
    

[INF]将内容写入C:\ Spree Github Repository \ Phone \ Sencha Touch \ testapp / c ordova / www / index.html [ERR] [ERR] BUILD FAILED [ERR]     java.lang.NullPointerException [ERR] at     sun.reflect.DelegatingMethodAccesso [ERR]     rImpl.invoke(DelegatingMethodAccessorImpl.java:43)[ERR] [ERR]总计     时间:7秒[错误]执行时发生以下错误     这一行:C:\ Spree Github Repository \ Phone \ Sencha     Touch \ testapp.sencha \ app \ build-impl.xml:396:以下错误     执行此行时发生:C:\ Spree Github     Repository \ Phone \ Sencha Touch \ testapp.sencha \ app \ page-impl.xml:235:     执行此行时发生以下错误:C:\ Spree     Github Repository \ Phone \ Sencha     Touch \ testapp.sencha \ app \ page-impl.xml:154:以下错误     执行此行时发生:C:\ Spree Github     Repository \ Phone \ Sencha Touch \ testapp.sencha \ app \ page-impl.xml:17:     执行此行时发生以下错误:C:\ Spree     Github Repository \ Phone \ Sencha     Touch \ testapp.sencha \ app \ page-impl.xml:18:     显示java.lang.NullPointerException

  

正在运行的index.html如下所示:

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>TestApp</title>

    <!-- The line below must be kept intact for Sencha Command to build your application -->
    <script id="microloader" type="text/javascript" src=".sencha/app/microloader/development.js">       </script>

</head>
<body></body>
</html>

问题是:为什么我的项目无法构建?我正在执行tutorial中提供的所有步骤,但它无法正常工作。

提前致谢!

0 个答案:

没有答案