Google Map V2 android地图引用

Google Map V2 android地图引用,第1张

概述我正在尝试为Android设置GoogleMap.我看到两个缩放按钮,但没有显示地图.最近6-7个小时,我一直在努力奋斗.之前它显示错误(未打开)&现在它没有显示地图.<?xmlversion="1.0"encoding="utf-8"?><manifestxmlns:android="http://schemas.android.com/apkes/android"package="

我正在尝试为Android设置Google Map.我看到两个缩放按钮,但没有显示地图.最近6-7个小时,我一直在努力奋斗.之前它显示错误(未打开)&现在它没有显示地图.

<?xml version="1.0" enCoding="utf-8"?><manifest xmlns:androID="http://schemas.androID.com/apk/res/androID"package="com.counz.app"androID:versionCode="1"androID:versionname="1.0" ><uses-sdk    androID:minSdkVersion="8"    androID:targetSdkVersion="16" /><permission    androID:name="com.example.mapdemo.permission.MAPS_RECEIVE"    androID:protectionLevel="signature" /><uses-feature    androID:glEsversion="0x00020000"    androID:required="true" /><uses-permission androID:name="com.example.mapdemo.permission.MAPS_RECEIVE" /><uses-permission androID:name="androID.permission.INTERNET" /><uses-permission androID:name="androID.permission.WRITE_EXTERNAL_STORAGE" /><uses-permission androID:name="com.Google.androID.provIDers.gsf.permission.READ_GSERVICES" /><uses-permission androID:name="androID.permission.ACCESS_COARSE_LOCATION" /><uses-permission androID:name="androID.permission.ACCESS_FINE_LOCATION" /><application    androID:allowBackup="true"    androID:icon="@drawable/ic_launcher"    androID:label="@string/app_name"    androID:theme="@style/Apptheme" >    <activity        androID:name="com.counz.app.MainActivity"        androID:label="@string/app_name" >        <intent-filter>            <action androID:name="androID.intent.action.MAIN" />            <category androID:name="androID.intent.category.LAUNCHER" />        </intent-filter>    </activity>    <Meta-data        androID:name="com.Google.androID.maps.v2.API_KEY"        androID:value="(mykey)" /></application>

编辑:这是LogCat错误

  03-09 23:15:47.210: W/KeyCharacterMap(14440): Using default keymap: /system/usr/keychars/qwerty.kcm.bin03-09 23:16:24.740: W/dalvikvm(14545): VFY: unable to resolve instance fIEld 2303-09 23:16:25.540: W/dalvikvm(14545): Unable to resolve superclass of Lmaps/p/s; (427)03-09 23:16:25.540: W/dalvikvm(14545): link of class 'Lmaps/p/s;' Failed03-09 23:16:25.540: W/dalvikvm(14545): Unable to resolve superclass of Lmaps/y/bo; (3820)03-09 23:16:25.540: W/dalvikvm(14545): link of class 'Lmaps/y/bo;' Failed03-09 23:16:25.540: W/dalvikvm(14545): Unable to resolve superclass of Lmaps/i/k; (4208)03-09 23:16:25.540: W/dalvikvm(14545): link of class 'Lmaps/i/k;' Failed03-09 23:16:25.540: E/dalvikvm(14545): Could not find class 'maps.i.k', referenced from method maps.z.ag.a03-09 23:16:25.540: W/dalvikvm(14545): VFY: unable to resolve new-instance 3540 (Lmaps/i/k;) in Lmaps/z/ag;03-09 23:16:29.020: I/ActivityThread(14545): queueIDle03-09 23:16:29.060: V/ActivityThread(14545): Reporting IDle of ActivityRecord{4a4a9288 token=androID.os.BinderProxy@4a4a8df8 {com.counz.app/com.counz.app.MainActivity}} finished=false03-09 23:16:29.060: W/ActivityNative(14545): send ACTIVITY_IDLE_TRANSACTION03-09 23:16:29.750: E/Google Maps AndroID API(14545): Authorization failure.03-09 23:16:58.600: I/ActivityThread(14545): queueIDle03-09 23:16:58.600: V/ActivityThread(14545): Reporting IDle of ActivityRecord{4a4a9288 token=androID.os.BinderProxy@4a4a8df8 {com.counz.app/com.counz.app.MainActivity}} finished=false03-09 23:16:58.600: W/ActivityNative(14545): send ACTIVITY_IDLE_TRANSACTION

谢谢. 总结

以上是内存溢出为你收集整理的Google Map V2 android地图引用全部内容,希望文章能够帮你解决Google Map V2 android地图引用所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1093229.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-28
下一篇 2022-05-28

发表评论

登录后才能评论

评论列表(0条)

保存