我有一个Ionic应用程序,失败与以下错误。知道如何解决或提示如何调试吗?(Cordova 5.1.1 + Ionic 1.4.3)
I/chromium(13497): [INFO:CONSOLE(20434)] "Error: "options" must be an object!
I/chromium(13497): at Object.N._ (file:///android_asset/www/lib/js-data.min.js:11:26882)
I/chromium(13497): at file:///android_asset/www/lib/js
在运行Android4.2.2的SM-G386F设备上使用cordova插件相机版本1.2.0插件拍照后,我犯了以下错误。
我的离子版本是1.1.0
TypeError: Cannot read property 'add' of undefined
at Object.jqLite.addClass (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:46098:56)
at Object.beforeStart (file:///android_asset/www/lib/ionic/js/ioni
每当我更改视图时,我的离子型应用程序就会抛出以下错误,而我找不到原因,有人知道我做错了什么?
TypeError: Cannot read property 'expire' of null
at file:///android_asset/www/lib/ionic/js/ionic.bundle.js:43339:37
at Scope.$broadcast (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:23547:28)
at $state.transition.resolved.t
堆栈跟踪:
Error: $apply already in progress
at Error (<anonymous>)
at beginPhase (file:///android_asset/www/built.min.js:7:22740)
at Object.Scope.$apply (file:///android_asset/www/built.min.js:7:25967)
at navigator.geolocation.getCurrentPosition.that (file:///android_asset/www/built.min.js:13:8670
我正在科多瓦公司开发Android应用程序。
我已经成功地将插件添加到项目中:
cordova plugin add uk.co.workingedge.phonegap.plugin.launchnavigator
注意:插件launchnavigator在/plugins下面。
然后根据本教程:
我尝试了一个简单的导航到英国的伦敦,就像这样:
launchnavigator.navigate("London, UK");
但我得到了以下错误:
"ReferenceError: launchnavigator is not defined
at file:///and
我的ionic2应用程序面临一个问题。情况是,当应用程序回到后台时,我将最后一个状态保存在本地存储中,当应用程序恢复时,它将检查本地存储中lastState的值。如果它有一个值,那么这个状态就会被推送。我所犯的错误是
ERROR Error: Uncaught (in promise): invalid link: <StateName>
at c (file:///android_asset/www/build/polyfills.js:3:13190)
at Object.reject (file:///android_asset/www/build/polyfills.js:
我有一个Cordova应用程序,它使用MobileFirst平台版本8、Ionic版本1.3.1和AngularJS版本1.5.3。当我运行它并引导角形JS,以便应用程序首先连接到MobileFirst平台时,我得到以下错误:
Error in Success callbackId: WLAuthorizationManagerPlugin561212842 : Error: [$injector:modulerr] Failed to instantiate module ng due to:
TypeError: Cannot set property 'aHrefSanitiza
我正在使用Moments,但会收到折旧警告。有人能告诉我的代码是在哪里造成的吗,以及它应该更改成什么呢?
Deprecation warning: moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: [object Object]
Error
我已经创建了一个空白ionic项目,并在Eclipse上的Worklight studio中创建了一个Mobile First Hybrid应用程序。我已经对进行了必要的更改。
当我构建我的项目并在我的android手机上启动它时,我得到一个错误:
ionic.bundle.js:13440 Uncaught Error: [$injector:modulerr] Failed to instantiate module ng due to:
TypeError: Cannot set property 'aHrefSanitizationWhitelist' of null
我已经成功地在android应用上集成了phonegap +子浏览器。现在我想将twitter分享集成到我的应用程序中。我按照教程以正确的方式完成了所有步骤,但是我无法成功地执行它。这是我在logcat中的错误日志:
09-09 17:59:30.810: DEBUG/ChildBrowser(602): Hey I got a page started for url = http://compucloud.in/?oauth_token=MY_OAUTH_TOKEN&oauth_verifier=MY_OAUTH_VERIFIER
09-09 17:59:30.921: DEBU
我有一个用Cordova/Ionic做的申请。我正在使用AngularJS。我有以下问题。
TypeError: Cannot assign to read only property 'done' of #<Object>
at fn.assign (eval at <anonymous> (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:1:0), <anonymous>:4:390)
at $$writeModelToScope (file:///android_asset/