我目前正致力于在Titanium SDK 3.1.2上获取现代时代的旧Titanium SDK 1.x应用程序。 一个我已经成功地发现自己被困在一个挑战是来自谷歌Android地图API V1升级后到V2我一直收到此错误:Titanium SDK:未找到Google Play服务资源
The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
我已经安装在ADK的18.0.1构建工具以及所需的Google Play服务额外套件。卸载/重新安装没有任何用处,并且据我所知,无法在Titanium中手动添加Play商店服务库。
仅供参考,我遵循instructions here在应用程序中设置Maps API v2。下面是什么,是我的tiapp.xml文件(我更换了实际的包名):
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
<uses-feature android:glEsVersion="0x00020000" android:required="true"/>
<uses-permission android:name="com.example.permission.MAPS_RECEIVE"/>
<permission android:name="com.example.permission.MAPS_RECEIVE" android:protectionLevel="signature"/>
<application>
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="###"/>
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="10"/>
</application>
注意,正确的证书和正确的API已经在谷歌API控制台内使用。
有谁知道为什么我可能无法在我的Titanium应用中加载Google Play服务?
在此先感谢!
不,在设备上运行。银河S3仅供参考,所有的位置服务都启用。 –
添加了我的工作tiapp.xml到响应 –
我有完全相同的问题。双重检查了包裹,钥匙等没有运气。 – demogar