我一直在努力让这个例子从下面运行:
https://developers.google.com/eclipse/docs/getting_started
我遇到的第一个问题是没有在Android SDK中安装"Google Cloud Messaging for Android Library"(显然我知道).
但是现在我在Android项目的两个文件中遇到了自动生成代码的问题:GCMIntentService.java和RegisterActivity.java
错误是:
我在Ubuntu上使用Java SDK v1.7.0_15,但我也尝试使用Java SDK v1.6的Windows 7并且遇到了同样的问题.最新的Android平台4.2.2和Google App Engine 1.7.7.Eclipse是Juno Service Release 2.
问题看起来他们正在做一些错误,因为在Deviceinfoendpoint内部有一个方法getDeviceInfo用于内部类DeviceInfoEndpoint(不同的capatilisations).
我可以尝试修复它,但只是想知道我的设置是否有问题要发生这种情况?
任何帮助,将不胜感激.
刚刚开始使用Meteor,所以我可能会遗漏一些基本的东西.在Meteor 1.2中,他们有{{@index}}
指令.
在模板中,如果我有:
...
{{#each items}}
{{@index}}
{{> childTemplate}}
{{/each}}
...
<template name="childTemplate">
{{@index}}
</template>
Run Code Online (Sandbox Code Playgroud)
该@index
主模板将工作,但一个在childTemplate不会.我使用它的工作是调用childTemplate传入@index
:
{{> childTemplate @index=@index}}
Run Code Online (Sandbox Code Playgroud)
这是正确的方法吗?还是有更多的东西?
我在尝试向Mean.js添加模块(angular-google-maps)时遇到问题
我跑了:
bower install angular-google-maps --save
Run Code Online (Sandbox Code Playgroud)
然后在applicationModuleVendorDependencies数组中将'google-maps'添加到public/config.js:
var applicationModuleVendorDependencies = ['ngResource', 'ngAnimate', 'ui.router', 'ui.bootstrap', 'ui.utils', 'google-maps'];
Run Code Online (Sandbox Code Playgroud)
但是当我尝试运行(使用grunt)时,我收到一个错误:
Error: [$injector:nomod] Module 'google-maps' is not available! 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.
Run Code Online (Sandbox Code Playgroud)
我还需要采取其他措施吗?在https://angular-ui.github.io/angular-google-maps/#!/use它说angular-google-maps依赖于Lodash,我是否还要在模块供应商依赖项中添加它?
android ×1
angularjs ×1
java ×1
javascript ×1
mean-stack ×1
meteor ×1
meteor-blaze ×1
spacebars ×1