android build error fixed ( RN 0.69 )

This commit is contained in:
DenSakh 2022-08-03 20:03:44 +03:00
parent 5d0e0e50d6
commit 8d27ee2398

View File

@ -125,7 +125,8 @@ afterEvaluate { project ->
source = android.sourceSets.main.java.srcDirs source = android.sourceSets.main.java.srcDirs
classpath += files(android.bootClasspath) classpath += files(android.bootClasspath)
project.getConfigurations().getByName('implementation').setCanBeResolved(true) project.getConfigurations().getByName('implementation').setCanBeResolved(true)
classpath += files(project.getConfigurations().getByName('implementation').asList()) // To do понять почему не компилит с этой сторокой и нужна ли она вообще.
// classpath += files(project.getConfigurations().getByName('implementation').asList())
include '**/*.java' include '**/*.java'
} }