# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target.
target=android-25
android.library.reference.1=CordovaLib
cordova.system.library.1=com.android.support:support-v4:24.1.1+
cordova.system.library.2=com.android.support:support-v4:24.1.1+
cordova.system.library.3=com.onesignal:OneSignal:3.6.1
cordova.gradle.include.1=onesignal-cordova-plugin/br-build-extras-onesignal.gradle
cordova.system.library.4=com.google.android.gms:play-services-gcm:+
cordova.system.library.5=com.google.android.gms:play-services-location:+
cordova.system.library.6=com.android.support:support-v4:+
cordova.system.library.7=com.android.support:customtabs:+
> cordova requirements
Requirements check results for android:
Java JDK: installed 1.8.0
Android SDK: installed true
Android target: installed android-26,android-25
Gradle: installed /Applications/Android Studio.app/Contents/gradle/gradle-4.1/bin/gradle
Requirements check results for ios:
Apple macOS: installed darwin
Xcode: installed [object Object]
ios-deploy: not installed
Cordova needs ios-deploy version 1.9.2 or greater, you have version 1.9.0. Please download, build and install version 1.9.2 or greater from https://github.com/phonegap/ios-deploy into your path, or do 'npm install -g ios-deploy'
CocoaPods: installed [object Object]
Error: Some of requirements check failed
Android Studio 3.0
Yes, for a 100 times
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target.
target=android-26
android.library.reference.1=CordovaLib
cordova.system.library.1=com.facebook.android:facebook-android-sdk:4.+
cordova.system.library.2=com.android.support:support-v4:+
cordova.system.library.3=com.onesignal:OneSignal:3.6.1
cordova.gradle.include.1=onesignal-cordova-plugin/tsd2020-build-extras-onesignal.gradle
cordova.system.library.4=com.google.android.gms:play-services-gcm:+
cordova.system.library.5=com.google.android.gms:play-services-location:+
cordova.system.library.6=com.android.support:support-v4:+
cordova.system.library.7=com.android.support:customtabs:+
It was already solved by @yoojene, just need to update sdk to android-26 and then remove any mention to cordova-plugin-compat in plugins/android.json and plugins/fetch.json, by some reason it is not removed by plugin remove command I believe that because geolocation and file plugins require compat plugin, as compat is already included in cordova-android@6.3.0, file and geolocation plugin are not affected.
Hm, that gives me another idea you all can try: npm install cordova-plugin-compat@1.2.0
You all have this plugin.
From the README of the plugin:
This plugin is no longer being worked on as the functionality provided by this plugin is now included in cordova-android 6.3.0. You should upgrade your application to use version 1.2.0 of this plugin. It will detect whether or not the plugin is required based on the version of cordova-android your app uses.
if you face an issue about PermissionHelper, check if cordova-plugin-compat and his mentions in plugins/android.json and plugins/fetch.json are removed and it will solve permission problem.
Thanks to anyone that was involved to find a workaround for that, thanks @Sujan12
This is the problem I mentioned, did you checked plugins/android.json and plugins/fetch.json??? Maybe compat stiil in these files. Please check and then try again.