반응형
반응형
반응형

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

반응형
반응형

이번 포스팅은 파일 생성 시 발생한 오류에 대하여 알아보도록 하겠습니다.



<Error>



  Invalid file name: must contain only [a-z0-9_.] 오류

 



<Solution>



  파일명 영어소문자 나 0~9까지의 숫자만 허용하는데 그 이외의 문자가 들어간 경우이므로 허용하는 문자를 제외하고 파일명을 수정



반응형
반응형

이번 포스팅은 ORACLE DB에서 Lock이 걸렸을 경우 해결방법에 대하여 알아보도록 하겠습니다.




SQL*Plus: Release 11.2.0.1.0 Production on 일 1월 19 13:15:55 2014


Copyright (c) 1982, 2010, Oracle.  All rights reserved.


사용자명 입력: eun

비밀번호 입력:

ERROR:

ORA-28000: the account is locked



사용자명 입력: sys

비밀번호 입력:


다음에 접속됨:

Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options


SQL> --  SYS 로 접속해서 eun 의 계정 상태를 확인하니 잠겨있다.


 


  1  SELECT USERNAME, ACCOUNT_STATUS


  2        , TO_CHAR(LOCK_DATE, 'YYYMMDDHH24MI') LOCK_DATE

  3 FROM DBA_USERS WHERE USERNAME='AROINTECH';

 


USERNAME                       ACCOUNT_STATUS                   LOCK_DATE

------------------------------ -------------------------------- ------------

EUN                                EXPIRED & LOCKED                 201401191310



SQL> ALTER USER eun ACCOUNT UNLOCK;


사용자가 변경되었습니다. 



반응형

+ Recent posts