Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230971

Getting android:exported error even if it exists in AndroidManifest.xml

$
0
0

Currenty if you set minsdk version and get Android Error: Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined then I have sollution of that…

  1. Open platforms/android/android.json

  2. Put this line in all plugin you used. android:exported="true" or android:exported="false" (Based on your requirement)

  3. After open platforms\android\app\src\main/AndroidManifest.xml file and delete all the activity,meta-data,service,provider…all the things under <application …>
    —delete these all data—
    </application?

Because we changed android.json line. So when we build again than It will auto generate with android:exported…

I spend my whole day in this error. But now I am happy because I got Sollution.


Viewing all articles
Browse latest Browse all 230971

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>