Your app currently targets API level 26 and must target at least API level 28 to ensure it is built on the latest APIs optimized for security and performance in ionic

How to upgrade android sdk target to android-28 in ionic - (play store).


Let's Follow me instructions

We need to run the following command given below.
  • ionic cordova platform rm android 
  • ionic cordova platform add android@latest
  • ionic cordova build android --aot  --prod 
  • ionic cordova build  android --prod  --release
 API level 26 and must target at least API level 28 to ensure it is built on the latest APIs optimized for security and performance in ionic



Note , In case ,  you will catch error like "ENOENT: no such file or directory, open ‘platforms/android/AndroidManifest.xml’",   So go to project directory in "config.xml" paste given below code 
Now you can run last two command 
  • ionic cordova build android --aot  --prod 
  • ionic cordova build  android --prod  --release

Comments

Popular posts from this blog

Which type of feed is useful for feedburner either rss or atom

How to use set interval in Typescript

nvm command is not recognized in ubuntu