이걸 왜 못찾고 있었는지 모르겠다.

챗GPT한테 물어보니까 아무리 봐도 답이 안나와서 이거저거 만져보다 알았다.

여기서 버전 수정을 클릭한다.

 

여기서 임시 출시 삭제를 클릭한다.

기존에 자꾸 버전이 꼬여서 뭐가 안되나 했었는데 이걸로 해결이 됐다. 에휴..

'' 카테고리의 다른 글

ios 앱 http 허용 방법  (0) 2024.12.25

9: only buildscript {}, pluginManagement {} and other plugins {} script blocks are allowed before plugins {} blocks, no other statements are allowed

처음에 flutter 프로젝트를 생성하면 plugin이 {}에 묶여있다.

 

plugins {
    id "com.android.application"
    id "kotlin-android"
    // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
    id "dev.flutter.flutter-gradle-plugin"
}

 

def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
    keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}

근데 요렇게 하고 key.properties를 가져오는 코드를 넣고 build appbundle을 하면 오류가 발생한다.

해결법은 plugins {} 안의 내용물을 다 바깥으로 뺀 후에 최상단에 놓으면 된다는거다.

apply plugin: "com.android.application"
apply plugin: "kotlin-android"
apply plugin: "dev.flutter.flutter-gradle-plugin"

왜인지 누가 좀 알려줘,,,,

String? name;

factory

현재 이해 안가는 두가지.

글 간격이 왜이렇게 넓은지 한 번 확인해봐야겠다.

+ Recent posts