摘要:转自http://stackoverflow.com/questions/19843784/google-play-services-library-update-and-missing-symbol-integer-google-play-servacceptedPlease note that this fix may only apply to IntelliJ users!! (More information at the bottom of this post that should apply to everyone.)Fixed this problem! I useIntel
阅读全文
摘要:1. 在AndroidManifest.xml的application节点中,添加Google play service的版本号:2. 申请API Key,添加到AndroidManifest.xml的application节点中:3. 添加所需的uses-permission:4. 添加OpenGL ES2的申明:5. 现在可以在代码中添加地图了,如MapFragment,一般是定义在布局文件,包含在Activity中:
阅读全文
摘要:E/AndroidRuntime(19480): java.lang.IllegalArgumentException: The key must be an application-specific resource id.E/AndroidRuntime(19480): at android.view.View.setTag(View.java:15615)http://stackoverflow.com/questions/2859574/the-key-must-be-an-application-specific-resource-id
阅读全文
摘要:现今存在的开源协议很多,而经过Open Source Initiative组织通过批准的开源协议目前有58种(http://www.opensource.org/licenses /alphabetical)。我们在常见的开源协议如BSD, GPL, LGPL,MIT等都是OSI批准的协议。如果要开源自己的代码,最好也是选择这些被批准的开源协议。这里我们来看四种最常用的开源协议及它们的适用范围,供那些准备开源或者使用开源产品的开发人员/厂家参考。BSD开源协议(original BSD license、FreeBSD license、Original BSD license)BSD开源协议是一
阅读全文