목록Android/Framework, 이슈, 환경셋팅 (12)
App노자
1. 개요 ERROR:/Users/choijoonho/Android_Java_Calculator/app/src/main/res/values/styles.xml:4:5-9:13: AAPT: error: style attribute 'attr/colorPrimary (aka com.example.Choi.calculator:attr/colorPrimary)' not found. 2. 해결방법
Manifest merger failed : android:exported needs to be explicitly specified for element . 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.
1. 개요 apply plugin: 'com.android.application' android { compileSdkVersion 33 defaultConfig { applicationId 'com.example.Choi.calculator' minSdkVersion 20 targetSdkVersion 33 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-..
1. 개요 /Users/name/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-jvm/1.6.0/a7257339a052df0f91433cf9651231bbb802b502/annotation-jvm-1.6.0.jar!/META-INF/annotation.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. Jetpack Compose를 기존 프로젝트에 추가하거나 신규 프로젝트를 만들 때 위와 같은 에러가 발생하는 경우가 있다 호환..

1. 개요 xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun MacOS의 주요 업데이트 이후 Terminal에서 git을 사용할 때 가끔 위에 같은 error현상이 발생하면서 Terminal을 사용할 수 없는 현상이 발생한다 xcrun은 명령줄에서 개발자 도구를 찾거나 실행할 수 있는 방법을 제공하는 명령이며 현재 활성화된 개발자 도구의 경로가 유효하지 않다는 오류를 출력하고 있다 2. 해결 방법 xcode-select --install 워의 명령어를 실행시켜 주면 간단하게 해결된다 xc..
1. Dependency 'androidx.appcompat:appcompat-resources:1.6.0' requires libraries and applications that depend on it to compile against version 33 or later of the Android APIs. :app is currently compiled against android-32. Recommended action: Update this project to use a newer compileSdkVersion of at least 33, for example 33. Note that updating a library or application's compileSdkVersion (which ..