Closed remorr25 closed 2 years ago
@remorr25 Did you figure this out?
@LucasClaude sorry not yet.
I'm stuck on the same issue
Adding the following into android/build.gradle
fixed the issue for me
subprojects {
afterEvaluate { subproject ->
if(subproject['name'] == 'react-native-create-thumbnail'){
def myAttribute = Attribute.of("com.android.build.api.attributes.BuildTypeAttr", String)
dependencies.attributesSchema {
attribute(myAttribute)
}
configurations {
implementation {
attributes {
attribute(myAttribute, "release")
}
}
}
}
}
}
@maugonsal Thanks
not working to me
Unable to compile the project.
Could not resolve all files for configuration ':react-native-create-thumbnail:implementation'.
yes I got exactly same issues, dont know why
Seems Jcenter issue. https://status.gradle.com/ https://github.com/facebook/react-native/issues/35136
remove jcenter() from android/build.gradle
repositories {
...
// jcenter()
}
allprojects {
repositories {
...
// jcenter()
}
}
remove jcenter() from android/build.gradle
repositories { ... // jcenter() } allprojects { repositories { ... // jcenter() } }
Perfectly Fine, Thank You @Veerasathiya 👍
same here non of the above solution worked for me
same issue
@maugonsal This worked for me, thank you. For whom this didn't work him, you should replace first "afterEvaluate", "def myAttribute", "dependencies.attributesSchema" and "configurations" with
subprojects {
afterEvaluate { subproject ->
if(subproject['name'] == 'react-native-create-thumbnail'){
def myAttribute = Attribute.of("com.android.build.api.attributes.BuildTypeAttr", String)
dependencies.attributesSchema {
attribute(myAttribute)
}
configurations {
implementation {
attributes {
attribute(myAttribute, "release")
}
}
}
}
}
}
Describe the bug While compile the app getting error Could not resolve all files for configuration ':react-native-create-thumbnail:implementation'.
To Reproduce Steps to reproduce the behavior:
Version "react": "18.0.0", "react-native": "0.69.1", "react-native-create-thumbnail": ^1.5.1
Expected Results App should be compile and run on device![Screen Shot 2022-07-11 at 12 52 45 PM](https://user-images.githubusercontent.com/6324053/178210207-98de7f05-78e7-439f-bcde-7fd053c1a424.png)