Hey all,
I’m currently programming an app with Ionic V1, but I have some issues when I test it on different devices.
It work perfectly on Android 5.1, but when I test it on Android 6.2.3 or 7+, it just infinite load.
I’ve put these lines in my config.xml:
<preference name="android-minSdkVersion" value="16" />
<engine name="android" spec="~6.2.3" />
I think it comes from here, but I have no idea what to do with it, any help would be great.
Feel free to ask for any précisions,
Thanks all
Did you updated your android sdk? Is it having Android 7 tools and platfrom tools please verify and let us know exact error in console.
myOffCourse:
it just infinite load.
What does that mean exactly? What happens?
Run cordova requirements
please and post the output.
Also post your ionic info
output please.
When I run cordova requirements:
$ cordova requirements
You have been opted out of telemetry. To change this, run: cordova telemetry on.
Requirements check results for android:
Java JDK: installed 1.8.0
Android SDK: installed true
Android target: not installed
Please install Android target / API level: “android-25”.
Hint: Open the SDK manager by running: “C:\Users\Thomas\AppData\Local\Android\sdk\tools\android.bat”
You will require:
“SDK Platform” for API level android-25
"Android SDK Platform-tools (latest)
“Android SDK Build-tools” (latest)
Gradle: installed C:\Program Files\Android\Android Studio\gradle\gradle-3.2\bin\gradle
Requirements check results for ios:
Apple OS X: not installed
Cordova tooling for iOS requires Apple OS X
Error: Some of requirements check failed
And for ionic info:
$ ionic info
cli packages: (C:\Users\Thomas\Desktop\Git\app\node_modules)
@ionic/cli-utils : 1.7.0
ionic (Ionic CLI) : 3.7.0
global packages:
Cordova CLI : 7.0.1
Gulp CLI : not installed globally
local packages:
@ionic/cli-plugin-cordova : 1.4.0
@ionic/cli-plugin-gulp : 1.0.1
@ionic/cli-plugin-ionic1 : 2.0.0
Cordova Platforms : android 6.2.3 ios 4.4.0
Ionic Framework : ionic1 1.3.2
System:
Node : v6.11.0
OS : Windows 10
npm : 3.10.10
myOffCourse:
Android target: not installed
Please install Android target / API level: “android-25”.
Hint: Open the SDK manager by running: “C:\Users\Thomas\AppData\Local\Android\sdk\tools\android.bat”
You will require:
“SDK Platform” for API level android-25
"Android SDK Platform-tools (latest)
“Android SDK Build-tools” (latest)
Gradle: installed C:\Program Files\Android\Android Studio\gradle\gradle-3.2\bin\gradle
You should fix that until cordova requirements
is happy.
That’s what I told you in my replay. To update android SDK as
Did you updated your android sdk? Is it having Android 7 tools and platfrom tools please verify and let us know exact error in console.