bonjour bonjour,
voila mon souci :
j'utilise basiquement le champ carte :
j ai généré ma clef google correctement.Code:
1
2
3
4 MaPosition est une géoPosition MaPosition.Latitude = -4.8077784 MaPosition.Longitude = 11.864609 CarteAffichePosition(CARTE_Position, MaPosition)
je suis en API 28
La compilation se passe bien.
mais au lancement :
mes google play services sont installés. et au niveau du manifest android j'ai rajouté (apres des recherches sur le message d'erreur) dans la section <application> :Citation:
===== Erreur =====
Date et heure=29/07/2020 09:52:50
Message=Didn't find class "org.apache.http.ProtocolVersion" on path: DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/0000016e/MapsDynamite.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/0000016e/MapsDynamite.apk!/lib/armeabi-v7a, /data/user_de/0/com.google.android.gms/app_chimera/m/0000016e/MapsDynamite.apk!/lib/armeabi, /system/lib, /system/vendor/lib]]
Pile Java=dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
java.lang.ClassLoader.loadClass(ClassLoader.java:379)
ay.loadClass(:com.google.android.gms.dynamite_dynamiteloader@202614067@20.26.14 (100408-0):3)
java.lang.ClassLoader.loadClass(ClassLoader.java:312)
cj.b(:com.google.android.gms.dynamite_mapsdynamite@202614067@20.26.14 (100408-0):2)
ci.a(:com.google.android.gms.dynamite_mapsdynamite@202614067@20.26.14 (100408-0):1)
ck.a(:com.google.android.gms.dynamite_mapsdynamite@202614067@20.26.14 (100408-0):15)
com.google.maps.api.android.lib6.drd.aj.a(:com.google.android.gms.dynamite_mapsdynamite@202614067@20.26.14 (100408-0):4)
bq.a(:com.google.android.gms.dynamite_mapsdynamite@202614067@20.26.14 (100408-0):7)
bq.run(:com.google.android.gms.dynamite_mapsdynamite@202614067@20.26.14 (100408-0):2)
Thread=id=3316
name=Thread-4
priority=5
groupName=main
===== Copie d'écran =====
Chemin=file:///storage/emulated/0/Android/data/com.proteck.inter_proteck/cache/err1596012770232.png
===== Application =====
Nom de l'application=Inter PROTECK
Version de l'application=0.0.72.0
Nom du package=com.proteck.inter_proteck
Date et heure de lancement=29/07/2020 09:52:45
Version du framework Android=22.0.279.0 (fr)
===== Appareil =====
Modèle=SM-G950F
Constructeur=samsung
Marque=samsung
===== Système =====
Numéro de version d'Android=9 (unknown)
Api Level Android=28
Mémoire de stockage interne totale=53,98 Go
Mémoire de stockage interne disponible=5,88 Go
Densité de l'écran=480
Résolution de l'écran=1080x2220
<uses-library
android:name="org.apache.http.legacy"
android:required="false" />
du coup voici mon manifest :
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130 <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.proteck.inter_proteck" android:installLocation="auto" android:versionCode="76" android:versionName="0.0.76.0" > <uses-sdk android:minSdkVersion="28" android:targetSdkVersion="28" /> <supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:xlargeScreens="true" /> <permission android:name="com.proteck.inter_proteck.permission.MAPS_RECEIVE" android:protectionLevel="signature" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="com.proteck.inter_proteck.permission.MAPS_RECEIVE" /> <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" /> <uses-feature android:name="android.hardware.location.network" android:required="true" /> <uses-feature android:name="android.hardware.touchscreen" android:required="true" /> <uses-feature android:name="android.hardware.location.gps" android:required="true" /> <uses-feature android:name="android.hardware.location" android:required="true" /> <uses-feature android:glEsVersion="0x00020000" android:required="true" /> <application android:name="fr.pcsoft.wdjava.core.application.WDAppManager" android:icon="@drawable/i_c_o_n_e________2" android:label="@string/app_name" android:largeHeap="true" android:resizeableActivity="true" > <meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" /> <activity android:name="com.proteck.inter_proteck.wdgen.GWDPInter_PROTECK$WDLanceur" android:configChanges="keyboardHidden|orientation|screenSize|keyboard|smallestScreenSize|screenLayout" android:label="@string/app_name" android:screenOrientation="sensor" android:theme="@style/Theme.AppCompat.Light.NoActionBar.Translucent" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name="com.proteck.inter_proteck.wdgen.GWDFFEN_SansNom1$WDActiviteFenetre" android:configChanges="keyboardHidden|orientation|screenSize|keyboard|smallestScreenSize|screenLayout" android:hardwareAccelerated="false" android:theme="@android:style/Theme" /> <activity android:name="com.proteck.inter_proteck.wdgen.GWDFFEN_suivi$WDActiviteFenetre" android:configChanges="keyboardHidden|orientation|screenSize|keyboard|smallestScreenSize|screenLayout" android:hardwareAccelerated="false" android:theme="@android:style/Theme" /> <activity android:name="com.proteck.inter_proteck.wdgen.GWDFFEN_bienvenue$WDActiviteFenetre" android:configChanges="keyboardHidden|orientation|screenSize|keyboard|smallestScreenSize|screenLayout" android:hardwareAccelerated="false" android:theme="@android:style/Theme" /> <activity xmlns:android="http://schemas.android.com/apk/res/android" android:name="fr.pcsoft.wdjava.core.erreur.report.WDErrorReportActivity" android:theme="@android:style/Theme.DeviceDefault.Light" /> <activity xmlns:android="http://schemas.android.com/apk/res/android" android:name="fr.pcsoft.wdjava.ui.activite.WDActivite$BlankActivity" android:theme="@android:style/Theme.Translucent" /> <activity xmlns:android="http://schemas.android.com/apk/res/android" android:name="fr.pcsoft.wdjava.ui.searchbar.WDSearchActivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.SEARCH" /> </intent-filter> <meta-data android:name="android.app.searchable" android:resource="@xml/searchable" /> </activity> <provider xmlns:android="http://schemas.android.com/apk/res/android" android:name="fr.pcsoft.wdjava.ui.searchbar.WDSearchHistory" android:authorities="com.proteck.inter_proteck" /> <service android:name="fr.pcsoft.wdjava.core.service.WDServiceLocal" /> <meta-data android:name="fr.pcsoft.first_window_name" android:value="FEN_suivi" /> <meta-data android:name="fr.pcsoft.multidex" android:value="false" /> <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> <uses-library android:name="android:name="org.apache.http.legacy" android:required="false"" /> <activity android:name="com.google.android.gms.common.api.GoogleApiActivity" android:exported="false" android:theme="@android:style/Theme.Translucent.NoTitleBar" /> </application> </manifest>
mais ça ne fonctionne toujours pas j'ai toujours le même message d'erreur
Merci d'avance pour votre aide :-)