Je reçois l'erreur suivante:java.lang.IllegalArgumentException: contenu URL inconnue: //com.example.kdotz.sunshine.app/location
Caused by: java.lang.IllegalArgumentException: Unknown URL content://com.example.kdotz.sunshine.app/location
Mon URL est correcte dans WeatherContract:
public static final String CONTENT_AUTHORITY = "com.example.kdotz.sunshine.app";
mon fournisseur Manifest est ci-dessous:
< provider
android:authorities="com.example.kdotz.sunshine.app"
android:name=".data.WeatherProvider" ></provider >
y at-il d'autres endroits mon chemin pourrait être hors?
Lien vers mon ContentProvider est ci-dessous: https://github.com/kdotzenrod517/Sunshine/blob/master/app/src/main/java/com/example/kdotz/sunshine/app/data/WeatherProvider.java
Merci, Krista
merci Rishi! –