Hi there, I’ve been trying to use Android Studio to get the sample code working (at this moment I am trying step diary) but there seems to be some trouble importing the classes from the .aar library, as in this block of code:
import com.samsung.android.sdk.healthdata.HealthConstants.StepCount
import com.samsung.android.sdk.healthdata.HealthConstants.StepDailyTrend
import com.samsung.android.sdk.healthdata.HealthDataResolver
import com.samsung.android.sdk.healthdata.HealthDataResolver.AggregateRequest
import com.samsung.android.sdk.healthdata.HealthDataResolver.AggregateRequest.AggregateFunction
import com.samsung.android.sdk.healthdata.HealthDataResolver.AggregateRequest.TimeGroupUnit
import com.samsung.android.sdk.healthdata.HealthDataResolver.Filter
import com.samsung.android.sdk.healthdata.HealthDataResolver.ReadRequest
import com.samsung.android.sdk.healthdata.HealthDataResolver.SortOrder
import com.samsung.android.sdk.healthdata.HealthDataStore
import com.samsung.android.sdk.healthdata.HealthDataUtil
sdk is highlighted red, and building returns the following error message: Kotlin: Unresolved reference: sdk
Any idea as how to fix this?
Edit: changing in Project Structure the resource folder for src.main/res leads to a new error message Module ‘samsung-health-android-sdk-sample-stepdiary-20201103’ production: java.lang.NoClassDefFoundError: com/android/resources/ResourceFolderType
Please help