Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run Android app with package #35

Open
gdknab opened this issue Nov 9, 2022 · 4 comments
Open

Unable to run Android app with package #35

gdknab opened this issue Nov 9, 2022 · 4 comments

Comments

@gdknab
Copy link

gdknab commented Nov 9, 2022

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.
@yernandus
Copy link

add this to your android/build.gradle file at the bottom
allprojects { repositories { jcenter() } }

@yernandus
Copy link

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.

#35 (comment)

@jackkrone
Copy link

add this to your android/build.gradle file at the bottom allprojects { repositories { jcenter() } }

Didn't have any luck with this

@karell
Copy link

karell commented Aug 29, 2024

I have locally changed this line to implementation 'com.surveymonkey:surveymonkey-android-sdk:3.0.5' and it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants