2
我試圖在我的應用程序中實現開發人員谷歌的示例代碼。無法解析符號ReceiveUpdatesIntentService
https://developer.android.com/training/location/receive-location-updates.html
我使用所有的文件,但在AndroidManifest我有最高審計機關我有錯誤,不能解析符號ReceiveUpdatesIntentService。代碼與谷歌的zip相同。唯一的變化就是下一個。
谷歌的清單:
<service
android:name="com.example.android.location.ReceiveUpdatesIntentService"
android:label="@string/app_name"
android:exported="false"></service>
我的清單:
<service
android:name="com.nikolay.app.ReceiveUpdatesIntentService"
android:label="@string/app_name"
android:exported="false"></service>
我只更改包。什麼是錯誤?
謝謝各位朋友。