I’m trying to install Google Play Services security provider but I can’t make it work.
It compiles fine but I get
java.lang.IllegalStateException: Unable to get current module APK info in ModuleManager created with non-module Context when I run the app. I don’t have a clue as to why this happens, I reference
com.google.android.gms:play-services-basement that contains the ProviderInstaller class and put
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> in the manifest. I couldn’t find any explanation for this anywhere, maybe I’m missing some other references?
Using Fire .2351.
Test project attached.
com.android.providertest.zip (235.5 KB)