Open gdknab opened 2 years ago
add this to your android/build.gradle file at the bottom
allprojects { repositories { jcenter() } }
We're having trouble running the package on Android on React Native version 0.66.4. It works well however on iOS.
Any suggestions would be greatly appreciated.
Thank you for your development efforts and in advance for your help.
* What went wrong: Execution failed for task ':app:mergeDevDebugAssets'. > Could not resolve all files for configuration ':app:devDebugRuntimeClasspath'. > Could not find com.surveymonkey:surveymonkey-android-sdk:2.0.0. Searched in the following locations: - https://repo.maven.apache.org/maven2/com/surveymonkey/surveymonkey-android-sdk/2.0.0/surveymonkey-android-sdk-2.0.0.pom - file:/Users/anilghodake/.m2/repository/com/surveymonkey/surveymonkey-android-sdk/2.0.0/surveymonkey-android-sdk-2.0.0.pom - file:/Users/anilghodake/Documents/pangea-health-app/node_modules/react-native/android/com/surveymonkey/surveymonkey-android-sdk/2.0.0/surveymonkey-android-sdk-2.0.0.pom - file:/Users/anilghodake/Documents/pangea-health-app/node_modules/jsc-android/dist/com/surveymonkey/surveymonkey-android-sdk/2.0.0/surveymonkey-android-sdk-2.0.0.pom - https://dl.google.com/dl/android/maven2/com/surveymonkey/surveymonkey-android-sdk/2.0.0/surveymonkey-android-sdk-2.0.0.pom - https://www.jitpack.io/com/surveymonkey/surveymonkey-android-sdk/2.0.0/surveymonkey-android-sdk-2.0.0.pom Required by: project :app > project :react-native-survey-monkey * Try: Run with --info or --debug option to get more log output. Run with --scan to get full insights.
https://github.com/yarikpwnzer/react-native-survey-monkey/issues/35#issuecomment-1408363982
add this to your android/build.gradle file at the bottom
allprojects { repositories { jcenter() } }
Didn't have any luck with this
I have locally changed this line to implementation 'com.surveymonkey:surveymonkey-android-sdk:3.0.5' and it works
We're having trouble running the package on Android on React Native version 0.66.4. It works well however on iOS.
Any suggestions would be greatly appreciated.
Thank you for your development efforts and in advance for your help.