エラー
React nativeのプロジェクトでGradle/ReactNativeを更新した時にこんなエラーが出たりする.
* What went wrong:
A problem occurred evaluating project ':app'.
> Could not get unknown property 'compile' for configuration container of type org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.
解決
app/build.gradle
task copyDownloadableDepsToLibs(type: Copy) {
from configurations.compile
into 'libs'
}
↓
app/build.gradle
task copyDownloadableDepsToLibs(type: Copy) {
from configurations.implementation
into 'libs'
}