I just tried my first app with SDK 248.4 on emulator Station 2018 and DEV kit.
In the build.gradle.
android { compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } compileSdkVersion 29 defaultConfig { applicationId "com.micropayusa.ordergo" minSdkVersion 17 //noinspection ExpiredTargetSdkVersion targetSdkVersion 25 }
In the AndroidManifest.xml.
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
In the MainActivity.java.
account = CloverAccount.getAccount(MainActivity.this);
In the emulator, the account is returned null, but my DEV kit returns the account successfully.
Any ideas to get the account on emulator?
Thank you,