Windows Defender 방화벽 실행 -> 화면 좌측 Windows Defender 방화벽을 통해 앱 또는 기능 허용 -> 화면 우측 상단 설정 변경 -> 체크 풀려있는 CocosCreator에 체크 

 

Posted by 룰루릴리
,

엔진 및 라이브러리 내에서 에러가 뜨는 경우가 있는데

실행은 되지만 현재 프로젝트의 에러와 구분하기 힘든 경우가 있다

이때 해당 폴더의 에러를 표시하지 않게 해준다

(!!문제를 해결 하는건 아님)

 

 

 

!*/assets/Scripts/Lib,!**/**/Engine

Posted by 룰루릴리
,

기존 버전

유니티 2020.3.22f1

iap 4.10.0

 

업데이트 버전

유니티 2020.3.48f1

iap 4.12.2

 

1. iap 4.12.2로 업데이트

- gradle 관련 에러가 많이 남

 

2. 에러 - 유니티 2020.3.48f1으로 업데이트 

Library\PackageCache\com.unity.services.core@1.12.5\Editor\Core\Environments\UI\EnvironmentSelector.cs(132,35): error CS0122: 'BasePopupField<string, string>.choices' is inaccessible due to its protection level

 

3. 빌드 설정

4. Plugins/Adroid/launcherTemplate.gradle에 android{} 안에

 packagingOptions
{
      exclude("META-INF/kotlinx_coroutines_core.version")
}

추가

    buildTypes {
        debug {
            minifyEnabled **MINIFY_DEBUG**
            proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG**
            jniDebuggable true
        }
        release {
            minifyEnabled **MINIFY_RELEASE**
            proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG**
        }
    }**PACKAGING_OPTIONS****PLAY_ASSET_PACKS****SPLITS**
 
    packagingOptions
    {
      exclude("META-INF/kotlinx_coroutines_core.version")
    }

추가 위치

 

5. 에러 - Plugins/Android/mainTemplate.gradle에 

Configuration 'aarArtifacts' was resolved during configuration time.

gradle.projectsEvaluated {
    apply from: 'GoogleMobileAdsPlugin.androidlib/validate_dependencies.gradle'
}

추가 

android {
  packagingOptions {
      exclude ('/lib/armeabi/*' + '*')
      exclude ('/lib/mips/*' + '*')
      exclude ('/lib/mips64/*' + '*')
      exclude ('/lib/x86/*' + '*')
      exclude ('/lib/x86_64/*' + '*')
  }
}

gradle.projectsEvaluated {
    apply from: 'GoogleMobileAdsPlugin.androidlib/validate_dependencies.gradle'
}

추가 위치

 

7. 에러 java.lang.UnsupportedOperationException: This feature requires ASM7

PlayerSetting - Other Setting의 Minimum API Level Android 7.0(24) 로 변경

 

8 .R8 관련 Plugins/Android/gradleTemplete.properties

android.enableR8=false

 

 

9. 광고 실행 후 혹은 비활성 후 앱이 멈추는 경우 스크린 활성화 처리

https://rul1ruliri.tistory.com/entry/%EC%9C%A0%EB%8B%88%ED%8B%B0-%EC%95%B1-%ED%8F%AC%EC%BB%A4%EC%8A%A4-%EB%8F%8C%EC%95%84%EC%98%A4%EC%A7%80-%EC%95%8A%EB%8A%94-%ED%98%84%EC%83%81

'유니티' 카테고리의 다른 글

Resources.Load 사용 및 주의점  (0) 2015.12.23
폴더위치  (0) 2014.06.20
트윈 예제  (0) 2014.06.02
유니티 단축키  (0) 2014.04.10
Posted by 룰루릴리
,