[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
플러그인 설정 도중에 오류가 생겼습니다. 시도 목록 android api 재설치 No sdk -> android api 34 설정 강의 영상 보고 재설정 pub.dev 보고 재설정 프로젝트 재생성 추가적으로 Properties가 인식이 안되는 상황이 발생합니다. (def properties = new Properties() <- Cannot resolve symbol 'Properties') 아래는 제 설정 파일과 오류문입니다. //build.gradle minSdk = minSdkVersion 20 targetSdk = flutter.targetSdkVersion versionCode = flutter.versionCode versionName = flutter.versionName //pubspec.yaml cupertino_icons: ^1.0.8 geolocator: ^13.0.2 google_maps_flutter: ^2.10.0 FAILURE: Build failed with an exception. * Where: Build file 'C:\Users\user\StudioProjects\location_exam\android\build.gradle' line: 13 * What went wrong: A problem occurred evaluating root project 'android'. > A problem occurred configuring project ':app'. > Could not create task ':app:compileFlutterBuildDebug'. > Cannot get property 'apiLevel' on null object * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. BUILD FAILED in 2s Error: Gradle task assembleDebug failed with exit code 1 (해결) minSdk = minSdkversion 20에서 minSdkVersion 21로 바꿨습니다.
너무 잦은 질문 죄송합니다. 몇번을 돌려봐도 리턴이 헷갈리네요 재귀함수를 통해 int res = 15 를 구한다음 메인함수에 int sum=nSum(n)에 들어 가는거 같은데 res가 갑자기 nSum에 리턴이 되는걸 어떻게 이해해야 될지 모르겠습니다. 첫번째 호출->자기자신 호출까지는 이해했는데 결과값이 리턴하는 순서? 공식?이 잘 정립이 안되네요 ㅠㅠ
[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
Dio로 inspector을 구현한 이후 토큰 만료 시 refreshToken으로 accessToken을 재발급하는 과정에서 만약 API요청을 하나만이 아니라 동시에 3개가 요청되는 상황일 때 어떻게 되는지 궁금합니다. 시나리오는 게시글의 상세페이지로 이동하였을 때 게시글, 댓글, 사용자 정보 등의 API를 동시에 보내게 된다면 모두 요청 중인 상황이고 그 상황에서 accessToken이 만료된 상황이라면 3 모두 다 refreshToken으로 3번 accessToken을 요청되어 accessToken이 꼬이게 되는 상황이 나올 것 같아 질문 드립니다
토큰을 통해서 제 고유아이디를 알아내야되는데 반환되는것이 하나도 없음 안녕하세요.. 지금 인프런을 통해서 강의를 듣고있는데, 모르는것이 많아서 댓글 질문 남깁니다.. 참고로 저는 Mac, visual code 사용하고있습니다. 현재, 진행되고있는 부분은 텔레그램봇을 통해서 몇개의 채팅 이후 반환값을 받아서 제 고유아이디를 알아내야되는데, 아래와 같이 코딩을 하여서 실행하였으나, 반환되는것이 하나도 없습니다. 문제가 무엇인지 알려주시면 너무 감사드리겠습니다. import telegram import asyncio bot = telegram.Bot (token='제 토큰') async def main(): updates = await bot.getUpdates() for i in updates: print(i) asyncio.run (main())
django-crispy-form에서 {% include 와 with %} 다음과 같이 에러가 나타나고, {% include "_crispy_form.html" %} with 절을 제외하니 정상 동작합니다. 정확한 이유는 모르겠으나, 문법이 그 사이에 바뀐 것일 수도 있고 해서 일단 공유하는 마음으로 질문드립니다. 감사합니다.
현재 choicechips 를 활용하여 app state variable 을 관리하고 있습니다. 이때 choicechips 에서 선택된 app state variable 을 기준으로 게시물을 filtering 해주려고 하는데, listview 에 어떻게 이 정보를 담아서 Filtering 을 할 수 있을까요?? 참고로 Post document 에 group_name 이라는 string 이 있어서, filter 로 Equal to 로 app state variable 을 선택하려고 했는데, app state variable 이 비활성화되어 선택이 불가합니다.
검색 기능을 따라서 구현하고 있는데, listview 에는 dynamic children 탭이 없어서 질문드립니다. 이경우는 backend query 에 Filter 를 textfield 값으로 추가해서 걸면 될까요?? 이렇게 하려고 하면 title 에 relation 을 contains textfield 이렇게 걸어야 할거 같은데 contains 같은 조건이 없네요...;;
안녕하세요 강사님, def input_check(msg, casting=int): 부분에서 msg 파라미터 값은 왜 들어있는건가요? 제가 진행해보았을때는 msg 파라미터값을 없애고 진행해도 게임이 진행됩니다. def input_check(casting=int): while True: try: user_input = casting(input("몇 일까요? > ")) return user_input except: print("숫자만 입력하세요.") continue ... ... while count < chance : count += 1 user_input = input_check() if user_input == number : break elif user_input < number : print("{} 보다 큰 숫자 입니다.".format(user_input)) elif user_input > number : print("{} 보다 작은 숫자 입니다.".format(user_input)) 감사합니다.
강의에서는 fastapi 앱 서버, dash 앱서버 각각 실행을 한 상태에서 dash에서 request를 수행하셨는데 dataframe을 사용하지 않고 fastai 결과 dictionary 를 받아서 dashboard를 그리는데 유리한 부분이 있을까요? (속도 측면?) fastapi와 dash를 같이 사용할 때 일반적인 방법이나 추천하는 방법이 따로 있을까요?
[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
final routerProvider = Provider<GoRouter>((ref) { final provider = ref.watch(authProvider); return GoRouter( initialLocation: '/splash', routes: provider.routes, redirect: provider.redirectLogic, ); }); flutter refreshListenable 은 v7에서 없던 내용 같은데 어떻게 처리하면 될까요? 그리고 redirect:provider.redirectLogic 에서 에러가 납니다. redirect: (context, state){ return provider.redirectLogic(state); }, 이렇게 수정해주면 될까요? 두번째 아이템은 count만 가져오고 나머지 데이터는 가져오질 못하네요. 코드팩토리 디스코드에 질문하면 더욱 빠르게 질문을 받아 볼 수 있습니다! [코드팩토리 디스코드] https://bit.ly/3HzRzUM - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
IOS는 빌드가 정상적으로 실행되는데, 안드로이드는 아래와 같은 메시지와 함께 실행이 안됩니다. 어떤 문제인지 감을 잡기가 어렵습니다 Mac을 사용중입니다 어떻게 고쳐야 할지 답변 부탁드립니다 You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply Could not find a command named "bin/build_tool_runner.dill". Usage: dart <command|dart-file> [arguments] Global options: -v, --verbose Show additional command output. --version Print the Dart SDK version. --enable-analytics Enable analytics. --disable-analytics Disable analytics. --suppress-analytics Disallow analytics for this dart * run without changing the analytics configuration. -h, --help Print this usage information. Available commands: analyze Analyze Dart code in a directory. compile Compile Dart to various formats. create Create a new Dart project. devtools Open DevTools (optionally connecting to an existing application). doc Generate API documentation for Dart projects. fix Apply automated fixes to Dart source code. format Idiomatically format Dart source code. info Show diagnostic information about the installed tooling. pub Work with packages. run Run a Dart program. test Run tests for a project. Run "dart help <command>" for more information about a command. See https://dart.dev/tools/dart-tool for detailed documentation. FAILURE: Build failed with an exception. * Where: Script '/Users/jjh/.pub-cache/hosted/pub.dev/irondash_engine_context-0.5.4/cargokit/gradle/plugin.gradle' line: 65 * What went wrong: Execution failed for task ':irondash_engine_context:cargokitCargoBuildIrondash_engine_context_nativeDebug'. > Process 'command '/Users/jjh/.pub-cache/hosted/pub.dev/irondash_engine_context-0.5.4/cargokit/gradle/../run_build_tool.sh'' finished with non-zero exit value 64 * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 6s Error: Gradle task assembleDebug failed with exit code 1
[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
final routerProvider = Provider<GoRouter>((ref) { final provider = ref.watch(authProvider); return GoRouter( initialLocation: '/splash', routes: provider.routes, redirect: provider.redirectLogic, ); }); flutter refreshListenable 은 v7에서 없던 내용 같은데 어떻게 처리하면 될까요? 그리고 redirect:provider.redirectLogic 에서 에러가 납니다. redirect: (context, state){ return provider.redirectLogic(state); }, 이렇게 수정해주면 될까요? 코드팩토리 디스코드에 질문하면 더욱 빠르게 질문을 받아 볼 수 있습니다! [코드팩토리 디스코드] https://bit.ly/3HzRzUM - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.