developer.android.com ์๋๋ก์ด๋ ๊ณต์ ๋ ํผ๋ฐ์ค์ ์ํ๋ฉด ๋ค์๊ณผ ๊ฐ์ด ์ค๋ช ๋์ด ์์ต๋๋ค. ProGuard๋ฑ ์์ค์ฝ๋ ์ต์ ํ ์งํ์์ Reflection์ผ๋ก ์ ๊ทผํด์ผ ํ๋ ์์ ํน์ ์ต์ ํ๊ฐ ์งํ๋์ด๋ ์ ์ง๋์ด์ผํ๋ ๊ฐ์ ๊ฒฝ์ฐ ์ถ๊ฐํ์ฌ ์ฌ์ฉํฉ๋๋ค.
Key Hash ์์ฑํ๊ธฐ #1>JDK ์ค์น ๊ฒฝ๋ก๋ก ์ด๋ jdk/bin ํด๋์๋ keytool.exe ์คํํ์ผ์ด ์์นํด ์๋ค. #2>CMD ์คํ "cd {ํด๋๋ช }" ๋ช ๋ น์ด๋ฅผ ์ฌ์ฉํด keytool ํ์ผ์ด ์์นํ ํด๋๋ก ์ด๋ํ๋ค cd / cd {jdk/bin/๊ฒฝ๋ก} #3>keytool ๋ช ๋ น์ด ์คํํด๋ณด๊ธฐ "keytool"์ ๋ ฅ ํ ์ํฐ keytool -exportcert -alias androiddebugkey -keystore C:\Users\{์ ์ ์ด๋ฆ}\.android\debug.keystore -storepass android -keypass android | openssl sha1 -binary | openssl base64 openssl : 'openssl' ์ฉ์ด๊ฐ cmdlet, ํจ์, ์คํฌ๋ฆฝํธ ํ์ผ ๋..
์๋๋ก์ด๋ ๋ฐ์ดํฐ ๋ฐ์ธ๋ฉ์์ onclick event๋ฅผ ์ค์ ํ๋ ๋ฐฉ๋ฒ์ค 2๊ฐ์ง๋ฅผ ์๊ฐํ๋ค. How to make onClick event in Android databinding Call function Set declared onClickListener Call function android:onClick="@{()->viewModel.doSomething()}" 1 2 3 4 Set OnclickListener android:onClick="@{viewModel.onClickToastListener}" 1 val onClickToastListener = View.OnClickListener { showToast() } 1 2 3 4
android:launchMode [AndroidManifest.xml] Activity ์์๊ณผ ๊ด๋ จํ ์์ฑ call to its onNewIntent() : always make [new Intent] routes the intent : not make new Intent [just routing] - Multiple Instances standard : multiple activities can be started. very first activity state is shown singleTop : multiple activities can be started. latest activity state is shown - Single Instances (not recommended for general..
AAR : Android Archive libs ํด๋ ์์ฑ [app - libs] libs ํด๋์ .aar ํ์ผ ์ถ๊ฐ build.gradle์ ์๋ ์ถ๊ฐ repositories { flatDir{ dirs 'libs' } } implementation name: 'aar_sample', ext: 'aar' make 'libs' folder [app - ilbs] put .aar file into libs folder (picture1) add lines in [app - build.gradle] (picture2)
- Total
- Today
- Yesterday
- Cannot create an instance
- Make onClick event in Android databinding
- aar import
- module-info is missing a super type
- AndroidManifest
- databinding onClick
- launchemode
- Effective Kotlin
- GitHub
- android launch mode in manifest
- Support for password authentication was removed on August 13
- AAR
- decomplie
- Hilt
- import aar
- custom getter
- android databinding
- custom setter
- The requested URL returned error
- android aar library
- android
- Please use a personal access token instead
- annotaion
- How to import android AAR file
- viewmodel
- DexArchiveBuilderException
- com.android.build.api.transform.TransformException
- android aar
- Kotlin
- databinding onclick not working
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 | 31 |