분류 전체보기
-
Flutter 예제 english_words: ^3.1.0카테고리 없음 2021. 11. 4. 14:47
Error: english_words: ^3.1.0because the following dependencies don't support null safety: - package:english_words For solutions, see https://dart.dev/go/unsound-null-safety Unsound null safety Mixing language versions lets you migrate to null safety at your own pace, with some of the benefits of null safety. dart.dev 해결법 english_words: ^3.1.0 을 english_words: ^4.0.0 으로 수정 끝.
-
이 App Bundle 아티팩트 유형은 난독화될 수 있는 자바/Kotlin 코드를 포함합니다. 비정상 종료 및 ANR을 더 쉽게 분석하고 디버그할 수 있도록 가독화 파일을 업로드하는 것이 좋습니다.카테고리 없음 2021. 5. 6. 17:03
경고 메시지 이 App Bundle 아티팩트 유형은 난독화될 수 있는 자바/Kotlin 코드를 포함합니다. 비정상 종료 및 ANR을 더 쉽게 분석하고 디버그할 수 있도록 가독화 파일을 업로드하는 것이 좋습니다. 즉 : 난독화 될 수 있는 코드가 포함되어 있으니 난독화를 해! 라는 것. 해결법 buildTypes { release { debuggable false minifyEnabled true
-
java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.카테고리 없음 2021. 4. 27. 14:50
import android.support.v7.app.AlertDialog된 상황에서는 아래가 맞지만 AlertDialog.Builder alertDialog = new AlertDialog.Builder(getApplicationContext()); alertDialog.setTitle("내용이 삭제되었습니다"); alertDialog.setPositiveButton("확인", (dialogInterface, i) -> finish()); alertDialog.show(); import androidx.appcompat.app.AlertDialog; 가 들어가 있는 경우에는 위 에러가 발생. AlertDialog.Builder alertDialog = new AlertDialog.Builder(getA..
-
안드로이드 스튜디오 디버그카테고리 없음 2021. 4. 8. 17:53
java.lang.RuntimeException 아래와 같은게 안드로이드 플러그인 stack trace to UML을 사용한 결과 2021-04-08 15:51:14.575 9766-9766/net.가림막 E/AndroidRuntime: FATAL EXCEPTION: main Process: net.가림막, PID: 9766 java.lang.RuntimeException: Unable to instantiate application net.가림막.PRApplication: java.lang.ClassNotFoundException: Didn't find class "net.peopleroad.PRApplication" on path: DexPathList[[zip file "/data/app/net.p..
-
안드로이드 파일 자동으로 가져오기(realm DB파일)카테고리 없음 2020. 2. 18. 11:55
안드로이드 개발 중 realm(DB), SQLite 파일을 가져와서 DB속 내용확인 필요 매번 파일을 android studio device file exploer로 복사, 확인하기 번거로움 한번에 파일을 내컴퓨터로 가져올 방법을 찾음 방법 db파일을 접근가능한 안드로이드 속 파일폴더로 복사 (복사하지 않으면 기존에 db파일 있는 곳 접근권한이 없고, 권한 얻기가 까다롭다) 파일을 복사해오는 명령어를 만든다. 명령어를 실행가능한 파일로 만든다. 1. DB파일을 접근 가능한 안드로이드 파일 폴더로 복사한다 //class HomeFragment : Fragment() override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstan..
-
Android SharedPreferences 사용법카테고리 없음 2019. 12. 26. 10:58
왜 쓰는건데? 예를 들어 앱에 자신의 이름으로 무언가를 저장을 했다. "저장"이란 다시 앱을 끄고 켰을 시에도 내 이름이 보관되어 있다는 것이다. 사라지지 않고 "저장"하는 간단한 곳이 필요한데 그게 SharedPreferences 보통 옵션이나 세팅이 컴퓨터 용어로 preference라고도 사용된다. 그래서 세팅이나 옵션 저장용으로 저런 이름이 탄생하지 않았을까? 컴퓨터 용어 사전 확인 간단한 사용법 저장은 ["KEY" : "VALUE"] 형식이다 ["Name":"BlueOrangMan"], ["COLOR":"BLUE"] SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); 넣기 SharedPreferences.Ed..