2014-08-29 49 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

相关问题