Ionic 2 app takes 20-25 seconds in smartphone to load app

i updated SDK now but still getting same error

Hi, @cooldp007

Download Below sdk tool and merge in your sdk folder

https://dl.google.com/android/repository/sdk-tools-windows-3859397.zip

thanks,

Hi, @addwebsolution

No result

ANDROID_HOME=D:\Android\sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_131
Error: Could not find an installed version of Gradle either in Android
Studio,
or on your system to install the gradle wrapper. Please include gradle
in your path, or install Android Studio

Could u add your ionic info here

1 Like

cli packages: (D:\kdIonic\ejohri\node_modules)

@ionic/cli-utils  : 1.10.2
ionic (Ionic CLI) : 3.10.3

global packages:

Cordova CLI : 7.0.1

local packages:

@ionic/app-scripts : 1.3.7
Cordova Platforms  : android 6.2.3
Ionic Framework    : ionic-angular 3.4.2

System:

Android SDK Tools : 26.1.1
Node              : v6.10.3
npm               : 3.10.10
OS                : Windows 7

Hi, @addwebsolution

Please help me to resolve my issue

Hello guys,

I installed gradle in windows and set path variable

now it’s work fine

ionic cordova build android --prod

and app takes 5 sec to load

Thanks to all for supporting me