Bonjour,
Delphi 11.3 community W10 FMX
Suite à une autre discussion je veux compiler et installer l'exemple CameraComponent.
Sous windows pas de problème la compilation se passe bien l'appli fonctionne même si je n'ai pas accès aux réglages de la webcam.
Pour voir si j'y ai accès sous Android j'essaie de compiler et d'installer l'appli sur mon smartphone.
J'ai ces erreurs :
J'ai supprimé le fichier manifeste mais à chaque fois cela remonte pareil et effectivement dans le manifeste ces sections sont vides :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 [PAClient Erreur] Erreur : E2312 D:\Develop RX11.3 Alexandrie\FMX-CameraComponent\CameraComponent\AndroidManifest.xml:15: error: Error: String types not allowed (at 'persistent' with value ''). [PAClient Erreur] Erreur : E2312 D:\Develop RX11.3 Alexandrie\FMX-CameraComponent\CameraComponent\AndroidManifest.xml:15: error: Error: String types not allowed (at 'restoreAnyVersion' with value ''). [PAClient Erreur] Erreur : E2312 D:\Develop RX11.3 Alexandrie\FMX-CameraComponent\CameraComponent\AndroidManifest.xml:15: error: Error: String types not allowed (at 'largeHeap' with value ''). [PAClient Erreur] Erreur : E2312 D:\Develop RX11.3 Alexandrie\FMX-CameraComponent\CameraComponent\AndroidManifest.xml:15: error: Error: Resource package cannot be an empty string (at 'icon' with value '@drawable/ic_launcher'). [PAClient Erreur] Erreur : E2312 D:\Develop RX11.3 Alexandrie\FMX-CameraComponent\CameraComponent\AndroidManifest.xml:15: error: Error: String types not allowed (at 'hardwareAccelerated' with value ''). Echec Temps écoulé : 00:00:01.6
Quoi faire ? Où est le soucis ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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 <?xml version="1.0" encoding="utf-8"?> <!-- BEGIN_INCLUDE(manifest) --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="" android:versionCode="1" android:versionName="" android:installLocation="preferExternal"> <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="32" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-feature android:glEsVersion="0x00020000" android:required="true"/> <queries> </queries> <application android:persistent="" android:restoreAnyVersion="" android:label="" android:debuggable="true" android:largeHeap="" android:icon="@drawable/ic_launcher" android:theme="@android:style/Theme.NoTitleBar" android:hardwareAccelerated="" android:resizeableActivity="false" android:requestLegacyExternalStorage="true"> <!-- Our activity is a subclass of the built-in NativeActivity framework class. This will take care of integrating with our NDK code. --> <activity android:name="com.embarcadero.firemonkey.FMXNativeActivity" android:exported="true" android:label="" android:configChanges="orientation|keyboard|keyboardHidden|screenSize" android:launchMode="singleTask"> <!-- Tell NativeActivity the name of our .so --> <meta-data android:name="android.app.lib_name" android:value="CameraComponent" /> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <receiver android:name="com.embarcadero.rtl.notifications.NotificationAlarm" /> </application> </manifest> <!-- END_INCLUDE(manifest) -->
Merci
Partager