Muthu Kumar

Muthu Kumar

  • NA
  • 3k
  • 273.7k

Warning Android API level 28 with ionic-v3

Aug 15 2019 9:49 AM

Hi Friends,

I have facing error while deploying ionic 3 app to play store.

(From August 1 onwards all android app must target api level 28)

Warning Android API level 28 must be target

I understand whats the problem. I need to update my ionic 3 project to target api level to 28.
But i don’t know how to do this without affect any error to projects.

Please guide me friends how to do this.

I have spend past few days to solve this issue.

I believe all ionic developer will face this issue already or soon. So it will helps to other also. Please give me some idea to solve this issue.

My Ionic info

Ionic:

Ionic CLI : 5.2.3 (C:\Users\Admin\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.11

Cordova:

Cordova CLI : not installed
Cordova Platforms : android 7.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.0.5, cordova-plugin-ionic-webview 1.1.1, (and 14 other plugins)

Utility:

cordova-res : not installed
native-run : 0.2.7 (update available: 0.2.8)

System:

Android SDK Tools : 26.1.1 (C:\Users\Admin\AppData\Local\Android\Sdk)
NodeJS : v10.16.1 (C:\Program Files\nodejs\node.exe)
npm : 6.9.0
OS : Windows 10

I have an ionic v4 project also same issue occurred ionic v4 project.

Ionic 4 project ionic info is here.

Ionic:

Ionic CLI : 5.2.3 (C:\Users\Admin\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.7.1
@angular-devkit/build-angular : 0.802.0
@angular-devkit/schematics : 7.2.4
@angular/cli : 8.2.0
@ionic/angular-toolkit : 2.0.0

Cordova:

Cordova CLI : 9.0.0 ([email protected])
Cordova Platforms : android 7.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.1.2, (and 14 other plugins)

Utility:

cordova-res : not installed
native-run : 0.2.7 (update available: 0.2.8)

System:

Android SDK Tools : 26.1.1 (C:\Users\Admin\AppData\Local\Android\Sdk)
NodeJS : v10.16.1 (C:\Program Files\nodejs\node.exe)
npm : 6.9.0
OS : Windows 10

Thanks,

Muthukumar


Answers (2)