커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
2주차 과제 중 오류 : Dart.pad 작동하지만, CodeVS 오류
앱개발 종합반 - 플러터 v0
2주차
북마크
최*근
댓글
5
추천
0
조회수
12
조회수
12
답변 완료

* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.


2주차 과제 작동 시 Dart.pad에서는 코드 구현이 되고 있지만,

https://dartpad.dev/?id=813982b83e0f311c398657eee5f3a472


VSCode에서는 오류가 발생합니다.


1.

The property 'index' can't be unconditionally accessed because the receiver can be 'null'.

Try making the access conditional (using '?.') or adding a null check to the target ('!').


2.

The method 'animateTo' can't be unconditionally invoked because the receiver can be 'null'.

Try making the call conditional (using '?.') or adding a null check to the target ('!').


위 경우 Quick Fix를 통해서 각각 대치를 해보았으나 이후 디버깅 실행을 했을 시


3.

zipro W 05-18 13:07:43 76252 5311597] Error opening archive /Users/genesisblock/Desktop/flutter_projects/shezem/build/app/outputs/flutter-apk/app.apk: Invalid file

ERROR: dump failed because resource AndroidManifest.xml not found

Failed to extract manifest from APK: ProcessException: The command failed

Command: /Users/genesisblock/Library/Android/sdk/build-tools/33.0.3/aapt dump xmltree /Users/genesisblock/Desktop/flutter_projects/shezem/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml.

No application found for TargetPlatform.android_arm64.

Is your project missing an android/app/src/main/AndroidManifest.xml?

Consider running "flutter create ." to create one.


오류 메세지를 볼 수 있었습니다.

안드로이드 APK 설치와 관련된 부분의 오류인 것 같은데, 이 부분은 시스템 환경 설정 부분의 문제로 특정 설치 없이는 Dart.pad 에서만 구현이 가능한것인가요?



스파르타 즉문즉답





스파르타 즉문즉답


취소
 공유
취소
댓글 0
댓글 알림
나의얼굴