Notice
Recent Posts
Recent Comments
Link
250x250
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- 업무자동화
- 사무자동화
- Google API
- YOLOv7
- objectdetection
- google cloud
- pyautogui
- pdf merge
- DeepLearning
- 파이썬 #업무자동화 #python
- Text-to-Speech
- 사무자동화 #Selenium
- pythonnet
- ironpython
- processstart
- Text To Speech
- YOLOv5
- pypdf2
- yolo
- computervision
Archives
- Today
- Total
Doarchive
[Flutter] Error Build failed due to use of deprecated Android v1 embedding.Exited (1) / AndroidManifest.xml Error: android:exported needs to be explicitly specified for element 본문
Mobile
[Flutter] Error Build failed due to use of deprecated Android v1 embedding.Exited (1) / AndroidManifest.xml Error: android:exported needs to be explicitly specified for element
오순발닦개 2023. 7. 12. 17:21728x90

Build failed due to use of deprecated Android v1 embedding.
Exited (1)
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.
Android v1 embedding 이 이상 권장되지 않는 기능으로 , 최신 버전의 Android 플랫폼에서는 지원되지 않아 발생 하는 에러임
에러 해결 방법
1. Flutter Project 의 AndroidManifest.xml

android:name="io.flutter.app.MyAppName------" 을 아래와 같이 변경해준다
android:name="${applicationName}"
아래 코드를 추가 해준다
Android 12 이상에서는 AndroidManifest.xml 파일에 명시적으로 android:exported 값을 지정해야 한다
android:exported="true"
<meta-data
android:name="flutterEmbedding"
android:value="2" />
변경전

변경후

728x90
'Mobile' 카테고리의 다른 글
| Install Flutter on Mac (brew) (0) | 2023.07.03 |
|---|