본문 바로가기
반응형

Development/Error22

[Error] entries cannot be protected with passwords 이번 포스팅은 Android Build 오류에 대하여 알아보도록 하겠습니다. java.security.KeyStoreException: entries cannot be protected with passwords at android.security.keystore.AndroidKeyStoreSpi.engineSetKeyEntry(AndroidKeyStoreSpi.java:308) at java.security.KeyStore.setKeyEntry(KeyStore.java:1179) setKeyEntry method가 분명히 존재하고 passwords 매개 변수를 사용한다는 사실에도 불구하고 AndroidKeystore 구현은 이를 지원하지 않습니다.어떤 경우든 장.. 2019. 8. 27.
[Error] Unable to add window -- token null is not valid; is your activity running? 이번 포스팅은 Android Build 오류에 대하여 알아보도록 하겠습니다. Unable to add window -- token null is not valid; is your activity running? 1. Dialog 생성 시 applicationContext를 사용하여 발생하는 오류로 특정 Activity 의 Context를 호출하여 build 하시면 됩니다. (Before)val builder = AlertDialog.Builder(ContextThemeWrapper(applicationContext , R.style.AppTheme)) (After)val builder = AlertDialog.Builder(ContextThemeWrapper(Ma.. 2019. 8. 26.
[Error] You need to use a Theme.AppCompat theme (or descendant) with this activity. 이번 포스팅은 Android Build 오류에 대하여 알아보도록 하겠습니다. java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. 1. AppCompat 테마를 사용해야 합니다.2. AlertDialog. Builder로 Instance를 생성 시 AppCompat Library가 적용된 테마를 호출하여 build를 합니다. (declaration)val builder = AlertDialog.Builder(ContextThemeWrapper(MainActivity@this , R.style.AppTheme)) (style... 2019. 8. 26.
[Error] Execution failed for task ':app:transformClassesWithInstantRunForDebug'. 이번 포스팅은 Android build 오류 해결 방법에 대하여 알아 보겠습니다. FAILURE: Build failed with an exception. * What went wrong:Execution failed for task ':app:transformClassesWithInstantRunForDebug'.> com.android.build.api.transform.TransformException: java.lang.IllegalStateException: java.lang.IllegalStateException: Unexpected constructor structure. 1. [Preferences] 로 이동2. [Instants Run]로 이동 후 아.. 2019. 8. 26.
반응형