我正在使用代理服务器连接到互联网。我的模拟器的浏览器正在连接到互联网,但地图应用程序没有连接,我编写的谷歌地图应用程序只显示网格。我主要使用了谷歌 api 密钥。 xml 并在 manifest.xml 中添加了 INTERNET.PERMISSION。当我在谷歌搜索这个问题时,我发现如果我们使用代理服务器,谷歌地图应用程序将无法工作。
这是真的吗?..有什么解决办法吗?请帮我...
清单.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.googlemap"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="10" />
<uses-permission android:name="android.permission.INTERNET" />
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".GoogleMapActivity" android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<uses-library android:name="com.google.android.maps" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
</application>
</manifest>