Closed SMKH-PRO closed 5 years ago
@SMKH-PRO Hi, have you tried to add next lines to your android/build.gradle
file?
subprojects {
afterEvaluate {project ->
if (project.hasProperty("android")) {
android {
compileSdkVersion 26
buildToolsVersion '26.0.2'
}
}
}
}
TRIED, Same error stil presist
@SMKH-PRO Could you install this library directly from github and try to build your project again?
I've changed build.gradle
file and pushed these changes to master
branch recently. I think it will help you.
@SMKH-PRO I updated npm-repo (new version is 0.6.6). Now you can intall from there. Also I update repo with examples - you can check it out (https://github.com/kirillzyusko/react-native-wifi-p2p-example). It might be helpful, if you have any questions (now there is also sdk 28
).
@SMKH-PRO Have you resolved your issue? Can I close this topic?
Getting this error:- I rechecked linking everything is same as defined in documentation.
Note:- I have changed the library's gradle version to 3.3.1. and sdks to 28
i tried adding
android.enableSeparateAnnotationProcessing=true
but it generates another errorReact-Native Versions: