목록[Flutter Error] (13)
민프
onPressed: () async { // async 키워드 추가 bool isFirstGuide = await _getIsFirstGuide(); // await 키워드로 비동기 값을 기다림 if (isFirstGuide) { Navigator.pushReplacement( context, MaterialPageRoute( builder: (context) => PoseDetectorPage( exerciseData: widget.exerciseData, detailData: widget.detailData, ), ), ); } . . . Don't use 'BuildContext's across async gaps.Try rewriting the code to not reference the 'Bu..
결론적으로 아래 라이브러리를 dependencies에 넣어줌으로써 해결하였습니다. dependencies { implementation "androidx.lifecycle:lifecycle-extensions:2.2.0" } 본론으로 들어가보면 E/AndroidRuntime( 7998): java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/lifecycle/ProcessLifecycleOwner; E/AndroidRuntime( 7998): at com.google.mlkit.acceleration.internal.zzi.run(com.google.mlkit:acceleration@@16.0.0-beta1:1) E/AndroidRuntime(..
https://console.firebase.google.com/ 로그인 - Google 계정 이메일 또는 휴대전화 accounts.google.com 언제? 로그인 기능이 기존에는 본인의 Firebase Console에 SHA-1 를 등록하여서 기능을 구현하였습니다. 근데 다른 개발자의 모바일, 컴퓨터에서는 자꾸 아래 에러가 나와서 찾아보니 앱 KEYSTORE에 등록 된 SHA-1키를 등록해야하는데 개인의 SHA-1 키를 등록하니 안됐던 것이었네요. com.google.android.gms.common.api.ApiException: 10 해결? android Studio -> 터미널 -> ./gradlew signingReport을 입력하게 되면 현재 KEYSTORE에 등록 된 SHA-1 키가 등록되..
https://devtalk.kakao.com/t/flutter-misconfigured-error-description-invalid-android-key-hash-or-ios-bundle-id-or-web-site-url/129394 Flutter 카카오 로그인 misconfigured, error_description: invalid android_key_hash or ios_bundle_id or web_site_url 에러 kakao_flutter_sdk: ^1.4.2 kakao_flutter_sdk_user: ^1.4.1 사용중입니다. 디버그 모드로 카카오 로그인 기능을 구현해보고자 하는데, 계속 misconfigured, error_description: invalid android_key_..
W/om.example.aiex(23676): Throwing OutOfMemoryError "Failed to allocate a 115405 byte allocation with 166144 free bytes and 162KB until OOM, target footprint 268435456, growth limit 268435456" (VmSize 13972636 kB) E/LoadTask(23676): OutOfMemory error loading stream E/LoadTask(23676): java.lang.OutOfMemoryError: Failed to allocate a 24 byte allocation with 424472 free bytes and 414KB until OOM, t..
https://developer.apple.com/forums/thread/732335 TTS problem iOS 17 beta | Apple Developer Forums @apanda not really, unfortunately... didn't crash anymore while in foreground, but with app going in background (changing the AVAudioSession as inactive) when back in foreground (reactivating the AVAudioSession and speaking) the app crashes "more often". T developer.apple.com
개발을 하다가 Don't use 'BuildContext's across async gaps. Try rewriting the code to not reference the 'BuildContext' 라는 오류 경고를 보았습니다. 코드는 아래와 같습니다. Future success(BuildContext context) async { . . . // API 호출 수행 try { await postQuestionnaire(jsonStr); Navigator.pop(context); // 로딩 다이얼로그 닫기 Navigator.pushReplacement( context, MaterialPageRoute(builder: (context) => const RehabilitationExercisePage()),..
E/flutter (12286): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Binding has not yet been initialized. E/flutter (12286): The "instance" getter on the ServicesBinding binding mixin is only available once that binding has been initialized. 이 오류는 Flutter 앱이 완전히 초기화되기 전에 서비스 바인딩을 사용하려고 할 때 발생합니다. 이 문제를 해결하려면 WidgetsFlutterBinding.ensureInitialized()를 호출하여 Flutter 엔진이 완전히 초..
위 에러는 해당 라이브러리를 사용하려면 Android SDK를 최소 21이상은 되어야한다는 말 입니다. 해결방법으로는 아래 코드처럼 /android/app/build.gradle에서 적절한 minSdkVersion을 설정해줍니다. defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.example.movenet" // You can update the following values to match your application needs. // For more information, see: h..
* What went wrong: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. The following dependencies do not satisfy the required version: project ':tflite_flutter_helper' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50 tflite_flutter_helper 패키지의 Kotlin Gradle plugin 버전이 너무 낮아서 발생하는 문제입니다. 패키지 소스 코드를 수정하지 않는 한, 프로젝트 설정을 변경하여 이 문제를 해결할 수 있습니다. 해결 방법으로는 아래 사진과 같..