λ³Έλ¬Έ λ°”λ‘œκ°€κΈ°

πŸ’š 개발/μ•ˆλ“œλ‘œμ΄λ“œ58

[μ•ˆλ“œλ‘œμ΄λ“œ] 였λ₯˜ ν•΄κ²° The minCompileSdk (31) specified in adependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties) 그리고 메타데이터 μ‹€μŠ΅ 였λ₯˜ λ‚΄μš© : One or more issues found when checking AAR metadata values: The minCompileSdk (31) specified in a dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties) is greater than this module's compileSdkVersion (android-27). Dependency: androidx.appcompat:appcompat:1.4.0. AAR metadata file: C:\Users\shin\.gradle\caches\transforms-3\뭔가에 λŒ€ν•œ ν•΄μ‹œκ°’ κ°™μŒ... μ•± 아이디에 λŒ€ν•œ ν•΄μ‹œκ°’μΈκ°€?\t.. 2021. 11. 29.
[μ•ˆλ“œλ‘œμ΄λ“œ] κΈ€μž 색 λ°”κΎΈκΈ° - SpannableString, SpannableStringBuilder build.gradle (:app) plugins { id 'com.android.application' } android { compileSdk 30 defaultConfig { applicationId "com.devshin93.spannabletest" minSdk 25 targetSdk 30 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rule.. 2021. 11. 26.
[μ•ˆλ“œλ‘œμ΄λ“œμŠ€νŠœλ””μ˜€/μΈν…”λ¦¬μ œμ΄] μ½”λ“œ μžλ™ μ •λ ¬, μ‚¬μš©ν•˜μ§€ μ•ŠλŠ” import 제거 단좕킀 μ½”λ“œ μžλ™ μ •λ ¬ 단좕킀: Ctrl + Alt + L μ‚¬μš©ν•˜μ§€ μ•ŠλŠ” import 제거 단좕킀: Ctrl + Alt + o λ¬Όλ‘  λ‹¨μΆ•ν‚€λŠ” μ‚¬μš©μž 섀정에 μ˜ν•΄ λ°”λ€” 수 μžˆλ‹€. μΆ”κ°€. λ²— 필독) File > Settings > Editor > Code Style > Hard wrap at 기본이 80으둜 λ˜μ–΄ μžˆμ„ 것 같은데.. 보톡 160 으둜 두고 μ‚¬μš©ν•œλ‹€κ³  ν•œλ‹€. νŒ€ λ‚΄ 개발 ν™˜κ²½μ— λ§žμΆ”μ–΄ νŒ€μ›λ“€κ³Ό μƒμ˜ ν›„ μ…‹νŒ…ν•œλ‹€.. μ–˜κΈ°κ°€ 이뀄지지 μ•Šμ•˜λ‹€λ©΄ ν•¨λΆ€λ‘œ ctrl+l 을 μ‚¬μš©ν•˜μ§€ 말자...^^ μ½”λ“œ μ •λ¦¬ν•œλ‹€κ³  μžλ™μ •λ ¬ μ‚¬μš©ν–ˆλŠ”λ° ν˜Όλ‚¬λ‹€ γ…‹ SVN에 μžˆλŠ” μ—΄μ΄λž‘ λ§žμ§€ μ•Šμ•„ μ˜λ„μΉ˜ μ•Šκ²Œ λˆ„κ΅°κ°€λ₯Ό ν™”λ‚˜κ²Œ λ§Œλ“€ 수 μžˆλ‹€... ^^; 2021. 11. 24.
[ μ•ˆλ“œλ‘œμ΄λ“œ] λ²„νŠΌ λˆŒλ €μ„ λ•Œ λ²„νŠΌ 색깔과 ν…μŠ€νŠΈ 색깔이 λ°”λ€Œκ²Œ ν•˜κΈ°. λ²„νŠΌ μ»€μŠ€ν…€! - selector, ripple μ΄λ ‡κ²Œ λ˜λŠ” 것을 λ§Œλ“€ 것이닀. 쑰금 λ³΅μž‘ν•΄ 보일 수 μžˆλŠ”λ°... γ…Ž 천천히 따라 였면 쉽닀. λ³΅μž‘ν•˜κ³  λͺ¨λ₯΄κ² μœΌλ©΄ 일단 λ³΅λΆ™ν•΄μ„œ λ„£κ³  값을 λ°”κΏ” κ°€λ©΄μ„œ 확인해 λ³΄μ‹œκΈΈ.. 0. MainActivity.java (νŒ¨ν‚€μ§€λͺ…κΉŒμ§€ λ”°λΌν•˜μ§€λŠ” 말 것... κ°„ν˜Ή 그런 μ‚¬λžŒλ“€λ„ μžˆλŠ” 것 κ°™μ•„μ„œ.. ν˜Ήμ‹œλ‚˜) 앱이 μ‹€ν–‰λ˜κ³  2.5 초 뒀에 λ²„νŠΌμ΄ ν™œμ„±ν™”λ˜λŠ” μ•‘μ…˜μ„ λ§Œλ“€μ–΄ 보자. package com.devshin93.drawabletest; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.widget.Button; public class MainActivity extends AppCompatActivity { .. 2021. 11. 10.