2014-08-29 72 views
0

我有一個ionic項目,其中一個頁面使用angular google maps指令。在瀏覽器中一切正常,因爲它應該,但是當我在模擬的Android我得到ADB目錄下面的錯誤項目:無法在離子型cordova內部運行angular-google-maps到android

Error: [$injector:nomod] Module 'google-maps' is not availabl e! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument. I/chromium(1678): http://errors.angularjs.org/1.2.17/ $injector/nomod?p0=google- maps

我如何糾正呢?

回答

0

你有沒有嘗試看看在錯誤中給出的鏈接,我想這會導致你一個很好的解釋文檔:https://docs.angularjs.org/error/ $噴油器/ NOMOD P0 = google-%20maps

希望有所幫助。

+0

嗨感謝您的幫助,我看到了這個鏈接,但我知道它的配置不好或拼寫不好,因爲我能夠在瀏覽器中運行應用程序。這隻會發生在模擬的android/ios中運行 – naoru 2014-08-31 02:34:38

相關問題