fix android sdk 34 崩溃 java.lang.SecurityException: ... One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified 是因为您的应用目标 SDK 为 Android 14 (API 34)。
Solve the problem that the build is interrupted when the local development directory is not a git repository, and other reasons cause the environment exception and cannot obtain git related information.
Duplicate entry for alias 'androidx.appcompat': dependency {group='androidx.appcompat', name='appcompat', version='1.6.1'} is replaced with dependency {group='androidx.appcompat', name='appcompat-resources', version='1.6.1'}
Then commented this line.
design: 'annotationProcessor' dependencies won't be recognized as kapt annotation processors. Changed the configuration name to 'kapt' for these artifacts: 'com.github.bumptech.glide:compiler:4.15.1'.