S-ResearchStack / app-sdk

Apache License 2.0
27 stars 20 forks source link

[SAMPLE FAILED] How we can build mobile app sample 'starter-app' ? #10

Closed GabrielCin closed 2 months ago

GabrielCin commented 8 months ago

Hello, everything is fine?

could anyone help us with a doubt/problem?

We cloned the mobile environment "app-sdk" through github "https://github.com/S-HealthStack/app-sdk.git" and noticed that the directory of the sample had changed and was now empty. Accessing the github repository and looking at the commits we noticed that the project structure underwent some changes and the sample became a sub-module. Knowing this, we still couldn't execute the sample automatically, we had to clone it manually and include it in the path "\app-sdk\samples\starter-app". After that, when we tried to build the project and generate the apk, we came across the error: "Task :starter-app:processDebugGoogleServices FAILED"

*Note: We generated the file "google-services.json" pointing to the applicationId: "healthstack.sample" but this did not correct the problem.

-Below is the log for analysis: log-stacktrace.txt

google-services file

hi-hj commented 2 months ago

We upgraded version to 2.0. You can use starter-app without making error now :)