Reputation: 21
compileSdkVersion 31
defaultConfig {
minSdkVersion 20
targetSdkVersion 31
}
Build or assembly Debug works well.
However, "Problem parsing the package error" occurs when installing APK.
When I looked it up, I saw to add android:exported="true" to activity, is it correct to add it to all activities? Should I add something other than activities?
For example >> provider, receiver, service
Upvotes: 2
Views: 1982
Reputation: 87
The best approach is to use Internal Testing
in the google play developer account, you can add your testers and you can get all benefits of google play features like the direction of deep links
Upvotes: 0
Reputation: 5279
add android:exported="true" on activitys and services in AndroidManifest.xml.
//set exported **true** for all activitys
<activity android:name=".SplashActivity"
android:exported="true" />
<service
android:name=".autofillservice.MyAutofillService"
android:exported="true"
android:permission="android.permission.BIND_AUTOFILL">
Upvotes: 2