220v
젝무의 개발새발
220v
전체 방문자
오늘
어제
  • 분류 전체보기 (255)
    • AI (35)
      • ML, DL 학습 (30)
      • 논문 리뷰 (4)
      • 실습 및 프로젝트 (1)
    • Algorithm (145)
      • LeetCode (13)
      • 프로그래머스 (35)
      • 백준 (96)
      • 알고리즘, 문법 정리 (1)
    • Mobile, Application (17)
      • Flutter (10)
      • iOS, MacOS (7)
    • BackEnd (7)
      • Flask (1)
      • Node.js (5)
      • Spring, JSP..etc (1)
    • Web - FrontEnd (18)
      • JavaScript, JQuery, HTML, C.. (12)
      • React (6)
    • DataBase (1)
      • MySQL (1)
      • Firebase Firestore (0)
      • Supabase (0)
    • Git (1)
    • 기타 툴 및 오류 해결 (3)
    • 강의 (5)
      • Database (3)
      • 암호학 (2)
      • 알고리즘 (0)
    • 후기와 회고 (2)
    • 블로그 꾸미기 (1)
    • 일상과 이것저것 (20)
      • 맛집 (12)
      • 세상사는일 (4)
      • 도서리뷰 (1)
      • 이런저런 생각들 (잡글) (3)

블로그 메뉴

  • 홈
  • 태그
  • 방명록

공지사항

인기 글

태그

  • BFS
  • Priority Queue
  • 백준
  • 프로그래머스
  • REACT
  • disjoint set
  • two pointer
  • dfs
  • Prefix Sum
  • dp
  • top-down
  • bitmasking
  • IMPLEMENT
  • Minimum Spanning Tree
  • topological sort
  • Lis
  • 다익스트라
  • brute-Force
  • simulation
  • Mathematics
  • 위상 정렬
  • 구현
  • binary search
  • Dynamic Programming
  • implementation
  • 오블완
  • 티스토리챌린지
  • Greedy
  • Backtracking
  • union-find

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
220v

젝무의 개발새발

Mobile, Application/Flutter

[Flutter] FAILURE: Build failed with an exception. A problem occurred evaluating project ':app'. > path may not be null or empty string. path='null' 오류

2023. 1. 25. 13:00

Environments

  • M1 Mac pro 14
  • VSCode
  • Flutter 3.3.8
  • Galaxy A52 (SM A525F)

 

Error Message

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/jaewonlee/Desktop/milkflutter/android/app/build.gradle' line: 69

* What went wrong:
A problem occurred evaluating project ':app'.
> path may not be null or empty string. path='null'

* 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 570ms
Running Gradle task 'assembleDebug'...                           1,213ms
Exception: Gradle task assembleDebug failed with exit code 1

 

문제 상황

안드로이드 실 기기를 연결하여 flutter run 으로 앱 디버깅을 하려고 했을 때, 빌드가 되지 않는 현상

 

해결

* Where:
Build file '/Users/jaewonlee/Desktop/milkflutter/android/app/build.gradle' line: 69

에서 쓰여 있듯, android > app > build.gradle 파일에서

 

signingConfigs {
  release {
    keyAlias keystoreProperties['keyAlias']
      keyPassword keystoreProperties['keyPassword']
      storeFile file(keystoreProperties['storeFile'])
      storePassword keystoreProperties['storePassword']
  }
}

buildTypes {
  release {
    // TODO: Add your own signing config for the release build.
    // Signing with the debug keys for now, so `flutter run --release` works.
    signingConfig signingConfigs.release
  }
}

이 부분을 comment out (주석처리 or 삭제) 해주면 해결된다.

 

Reference

https://stackoverflow.com/questions/54457245/a-problem-occurred-evaluating-project-app-path-may-not-be-null-or-empty-st

 

    'Mobile, Application/Flutter' 카테고리의 다른 글
    • [Flutter] BottomNavBar Icon에 알림 뱃지(Notification Badge) 달기
    • [Flutter] Warning: CocoaPods not installed. Skipping pod install. 오류
    • [Google Maps API, Flutter] Google Maps(Places) API에서 response 언어 한국어로 설정하기
    • [Flutter] Container 안에서 이미지 사이즈 원하는대로 조정하기
    220v
    220v
    DGU CSE 20 / Apple Developer Academy @ POSTECH 2nd Jr.Learner.

    티스토리툴바