react-native-auth0: Gradle build failed at task ":react-native-auth0:androidJavadoc"
Describe the problem
Android build via ./gradlew build fails at task “:react-native-auth0:androidJavadoc”
What was the expected behavior?
Builds successfully
Reproduction
- Step 1 Create empty react-native project with react-native-cli “npx react-native init AwesomeProject”
- Step 2 add react-native-auth0 via “yarn add react-native-auth0”
- Step 3 configure auth0 domain and scheme in build.gradle in “android/app” directory
manifestPlaceholders = [auth0Domain: "<...>.eu.auth0.com", auth0Scheme: "${applicationId}"]
- open terminal in project directory
cd android
./gradlew build
This generates provided error
Environment
- Version of this library used: 2.16.0
- Which framework are you using, if applicable:
- Other modules/plugins/libraries that might be involved: No other plugins/modules are required
- Any other relevant information you think would be useful:
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (6 by maintainers)
@poovamraj the usecase is perfectly valid: passing a --deviceId to target a physical device, or when we need to run Android over WSL and have a adb bridge in place, we must have pass “–deviceId”. honestly a widely used library like this breaking the development flow should be more carefully taken care of.
Hey all 👋 you should be running it with the particular module to avoid this error i.e the command should be
Any solution for this ? I have the same problem.
@Nikhil-Anand-DSG @lucasff Even I am facing this issue. Does anyone know how to solve this issue? I am using version 2.17 of the
react-native-auth0
and RN0.70.0
. Its frustrating as its not clear what the issue is.I am running into this issue as well