-
Notifications
You must be signed in to change notification settings - Fork 0
/
KnownIssues.txt
29 lines (20 loc) · 2.36 KB
/
KnownIssues.txt
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
[Fixed by r45993]
error ini akan muncul saat Target Android Version diganti ke Android 12.0
dgn syarat didlm project android-nya sdh terinstall 'LocalNotifications'
klo via IDE, error yg ditampilkan cmn kyk gini
'/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(3,3): Error MSB6006: "java" exited with code 1. (MSB6006) (Tekane.Android)'
klo via Console(Log verbosity: Detailed)
'android:exported needs to be explicitly specified for element <service#crc641bad354f4bef34d5.LNFirebaseMessagingService>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
/Users/imac/oweb/Mobile/Xamarin/Tekane/Tekane.Android/obj/Debug/AndroidManifest.xml:53:5-58:16 Error:
android:exported needs to be explicitly specified for element <receiver#crc641bad354f4bef34d5.ScheduledNotificationBootReceiver>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1489,3): error MSB6006: "java" exited with code 1.'
Dokumentasi lengkapnya
https://developer.android.com/about/versions/12/behavior-changes-12#security
Safer component exporting
If your app targets Android 12 or higher and contains activities, services, or broadcast receivers that use intent filters, you must explicitly declare the android:exported attribute for these app components.
Warning: If an activity, service, or broadcast receiver uses intent filters and doesn't have an explicitly-declared value for android:exported, your app can't be installed on a device that runs Android 12 or higher.
If the app component includes the LAUNCHER category, set android:exported to true. In most other cases, set android:exported to false.
The following code snippet shows an example of a service that contains an intent filter whose android:exported attribute is set to false:
Workaround:
* [BroadcastReceiver] --> [BroadcastReceiver(Exported = true)]
* [Service] --> [Service(Exported = true)]