반응형

android:exported

이 요소는 어플리케이션 구성요소요서 다른 앱이 Activity에서 시작할 수 있는지 나타납니다.

- exported="true" 인 경우에는 모든 앱에서 위와 같이 설정된 Activity에 접근할 수 있습니다. 정확한 클래스명만 입력하여 호출하면 해당 Activity를 호출할 수 있습니다. 따라서 해당 설정은 주로 Deep Link를 통해 다른 앱과 연결이 되는 Activity에서 주로 설정을 합니다. Android Build 시 TargetSDK Version을 31로 변경할 경우 해당 설정값은 명시적으로 설정을 해야만 합니다. 이는 변경된 Android 보안 정책이며, 변경하지 않을 경우 아래와 같은 Build Error가 발생합니다.

needs to be explicitly specified for element <activity#.MainActivity>. 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. app main manifest (this file), line 64 

- exproted="false" 의 Activity는 모든 앱에서 호출을 할 수 없으며 같은 어플리케이션의 구성요소나 사용자 ID가 같은 어플리케이션,  권한이 있는 시스템 구성요소 이외에는 호출이 되지 않습니다. 따라서 이는 Intent-Filter가 없는 Activity의 기본 설정 값입니다.

 

반응형
반응형
반응형
반응형
반응형
반응형

> Task :prepareKotlinBuildScriptModel UP-TO-DATE
Warning: This version only understands SDK XML versions up to 2 but an SDK XML file of version 3 was encountered. This can happen if you use versions of Android Studio and the command-line tools that were released at different times.
Warning: ����ġ ���� ���(URI: "", ����: "base-extension")�Դϴ�. �ʿ��� ��Ҵ� <{}codename>,<{}layoutlib>,<{}api-level>�Դϴ�.
Warning: ����ġ ���� ���(URI: "", ����: "base-extension")�Դϴ�. �ʿ��� ��Ҵ� <{}codename>,<{}layoutlib>,<{}api-level>�Դϴ�.

 

https://stackoverflow.com/questions/71131907/how-to-resolve-this-version-only-understands-sdk-xml-versions-up-to-2-but-an-s

반응형
반응형

Download https://services.gradle.org/distributions/gradle-7.5.1-bin.zip finished, took 11 s 356 ms (120.64 MB)
Starting Gradle Daemon...
Gradle Daemon started in 1 s 252 ms
> Task :prepareKotlinBuildScriptModel UP-TO-DATE
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: ����ġ ���� ���(URI: "", ����: "base-extension")�Դϴ�. �ʿ��� ��Ҵ� <{}codename>,<{}layoutlib>,<{}api-level>�Դϴ�.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 2m 57s

 

 

https://velog.io/@oen/Warning-Mapping-new-ns-%EC%97%90

반응형
반응형
반응형

+ Recent posts