1000sj
SJ CODE
1000sj
전체 방문자
오늘
어제
  • 분류 전체보기
    • 알고리즘
    • 네트워크 보안
      • 네트워크
      • 보안
      • CTF
      • Exploit
    • System Programming
      • Operating System
      • Compiler
      • Device Driver
      • Emulator
    • Application Programming
      • Script
      • Android
    • 클라우드 컴퓨팅
      • Cloud Native
      • Public Cloud
      • Infrastructure
      • Database
      • DevOps
    • 트러블슈팅
    • ETC
      • 문화 생활
      • 커뮤니티

인기 글

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
1000sj

SJ CODE

트러블슈팅

[안드로이드스튜디오]Manifest merge failed

2021. 6. 19. 12:33
> Task :app:processDebugMainManifest FAILED
[com.android.support:animated-vector-drawable:28.0.0] C:\Users\csjty\.gradle\caches\transforms-2\files-2.1\2ea246c20a91481cc0f9ad545d596a80\animated-vector-drawable-28.0.0\AndroidManifest.xml Warning:
	Package name 'android.support.graphics.drawable' used in: com.android.support:animated-vector-drawable:28.0.0, com.android.support:support-vector-drawable:28.0.0.
[androidx.versionedparcelable:versionedparcelable:1.1.1] C:\Users\csjty\.gradle\caches\transforms-2\files-2.1\835e00338284d4507478e57f331e684a\versionedparcelable-1.1.1\AndroidManifest.xml Warning:
	Package name 'androidx.versionedparcelable' used in: androidx.versionedparcelable:versionedparcelable:1.1.1, com.android.support:versionedparcelable:28.0.0.
E:\workspace\android-studio\project\FamousRestaurant\app\src\main\AndroidManifest.xml:24:18-86 Error:
	Attribute application@appComponentFactory value=(androidx.core.app.CoreComponentFactory) from [androidx.core:core:1.5.0] AndroidManifest.xml:24:18-86
	is also present at [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91 value=(android.support.v4.app.CoreComponentFactory).
	Suggestion: add 'tools:replace="android:appComponentFactory"' to <application> element at AndroidManifest.xml:5:5-23:19 to override.

See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.


Execution failed for task ':app:processDebugMainManifest'.
> Manifest merger failed with multiple errors, see logs

* 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.

gradle.properties에 아래 두줄 추가

android.useAndroidX=true
android.enableJetifier=true

'트러블슈팅' 카테고리의 다른 글

Upgrade Gradle wrapper to 4.8.1 version and re-import the project  (0) 2021.07.13
org.jetbrains.annotations.NotNull >> javax.annotation.Nonnull  (0) 2021.07.02
[안드로이드스튜디오]URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)  (0) 2021.06.19
[안드로이드스튜디오]ERR_CLEARTEXT_NOT_PERMITTED  (0) 2021.06.12
[안드로이드스튜디오]have you declared this activity in your AndroidManifest.xml?  (0) 2021.06.12
    '트러블슈팅' 카테고리의 다른 글
    • Upgrade Gradle wrapper to 4.8.1 version and re-import the project
    • org.jetbrains.annotations.NotNull >> javax.annotation.Nonnull
    • [안드로이드스튜디오]URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)
    • [안드로이드스튜디오]ERR_CLEARTEXT_NOT_PERMITTED
    1000sj
    1000sj

    티스토리툴바