2014-03-05 31 views
0

我在windows 7環境中設置了phonegap,並使用gentmotion來模擬我的虛擬設備。phonegap default helloworld示例

我的問題是:爲什麼我不能在我的應用程序中看到任何更改後編輯默認index.html在www文件夾中。

這是alterd代碼:

<div id="deviceready" class="blink"> 
       <p class="event listening">Connecting to Device</p> 
       <a class="" href="#" onClick="alert('awsome !!!')">Device is Ready</a> 
      </div> 

      <a class="" href="#" onClick="alert('awsome !!!')">Awsome text</a> 

然後我運行應用程序在我的模擬器,我不能看到任何變化

+0

你使用phonegap客戶端? –

回答

2

爲「編譯」在HTML的變化,你必須在運行編譯cmd行一次。 在Android上,在本地編譯的命令是:

phonegap local build android 

的命令需要在項目目錄執行!

相關問題