I am getting this error with my React Native application.
Some dependencies are incompatible with the installed expo package version:
expo | - react-native - expected version: 0.68.2 - actual version installed: 0.64.3
Also this one:
Warning: Invalid version react-native#0.64.3 for expo sdkVersion 45.0.0. Use react-native#0.68.2
Anyone knows how to solve this problem? Thanks in advance.
Related
I installed the latest version of react-native elements npm install #rneui/themed #rneui/base which is not compatible with the latest react-native-safe-area-context so I installed react-native-safe-area-context#3.4.1 So now the expo gives me following warning
Some dependencies are incompatible with the installed expo package version:
- #react-native-picker/picker - expected version: 2.4.0 - actual version installed: 2.4.2
- react-native-safe-area-context - expected version: 4.2.4 - actual version installed: 3.4.1
Your project may not work correctly until you install the correct versions of the packages.
To install the correct versions of these packages, please run: expo doctor --fix-dependencies,
or install individual packages by running expo install [package-name ...]
When installing Cordova I get the following error anyone know of an easy fix to this? npm version 5.6, cordova version 8
Requirements check results for android:
Java JDK: installed 1.8.0
Android SDK: installed true
Android target: not installed
No android targets (SDKs) installed!
Gradle: not installed
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
I have exception in cordova
whenever i do build debug or release to generate apk
Its running on my browser and phone gap application from phone gap getting started
I tried lot of downgrading and upgrading for cordova
Plus
I tried lot of SDKs and build tools versions.
plus
I tried install un install different versions of cordova and npm
I got many different errors when i try thing for example
Error 1
Error 2
My project is kinda old its created 4 years ago . but the last time i created
apk was months ago, i know the problem is because i clicked update in intellij for android repository but cant remember what it was then
Here is the Exception , i dont have the full stack because i already
solved it and posting answer here. (i dont want to break things again)
When i run this
cordova build android --debug
I get cannot find symbol at the .plugin the letter p
new CordovaResourceApi(webView.getContext(), webView.pluginManager)
Am posting the answer here , because i solved this twice , and yet i spent
two days debugging ! again to solve again.
P.S
Here is reference for what i tried on stackoverflow as well, from
what i get in the output console
Trust me this will save you lot of googling.
Achilles 4.2.0 compilation error - cannot find symbol symbol: class Table location: package info.archinnov.achilles.annotations
How do I set up IntelliJ IDEA for Android applications?
Phonegap / Cordova - Build Apk
Error cannot find symbol org.apache.cordova.CordovaHttpAuthHandler using InAppBrowser Cordova 5.3.3
Clear cache in Cordova app
Cordova Web view cache clear in android
How to force refresh the cached source files upon Ionic build/run?
Clear PhoneGap Cache
Apache Cordova - uninstall globally
Update cordova plugins in one command
How can I delete all unversioned/ignored files/folders in my working copy?
Cordova Error: Your ios platform does not have Api.js
Cordova Unable to load platformapi
cordova phonegap - How to use android API level 21
Cordova build for android level api 20
Error:(18, 56) error: cannot find symbol variable webView
Error cannot find symbol org.apache.cordova.CordovaHttpAuthHandler using InAppBrowser Cordova 5.3.3
Cordova Android project doesn't compile
Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable
How to check the Android developer tools version from the command line?
How to downgrade my SDK Version?
Cordova App - build tool error - Gradle
How to install Android SDK Build Tools on the command line?
Plugin doesn't support this project's cordova-android version. cordova-android: 4.1.1, failed version requirement: >=5.0.0-dev
Can't add crosswalk with ionic cli 1.3.2
In My case i had the following: and i have below what my android manager looked like ( FYI i had to down grade to adapt legacy phone gap that was created long ago !)
C:\work\sajilni_mobile\android>cordova --version
4.0.0
C:\work\sajilni_mobile\android>npm --version
3.10.10
C:\work\sajilni_mobile\android>cordova platform list
Installed platforms: android 3.6.4, browser 4.1.0
Available platforms: amazon-fireos, blackberry10, firefoxos, windows, windows8, wp8.
===>>> And here is my plugins that is working with that.
cordova plugin ls
com.phonegap.plugins.barcodescanner 2.0.1 "BarcodeScanner"
cordova-plugin-media 2.4.0 "Media"
org.apache.cordova.battery-status 0.2.12 "Battery"
org.apache.cordova.camera 0.3.5 "Camera"
org.apache.cordova.console 0.2.13 "Console"
org.apache.cordova.device 0.3.0 "Device"
org.apache.cordova.device-motion 0.2.11 "Device Motion"
org.apache.cordova.device-orientation 0.3.11 "Device Orientation"
org.apache.cordova.dialogs 0.3.0 "Notification"
org.apache.cordova.file 1.1.0 "File"
org.apache.cordova.geolocation 0.3.12 "Geolocation"
org.apache.cordova.media 0.2.16 "Media"
org.apache.cordova.media-capture 0.3.6 "Capture"
org.apache.cordova.network-information 0.2.15 "Network Information"
org.apache.cordova.splashscreen 1.0.0 "Splashscreen"
org.apache.cordova.vibration 0.3.13 "Vibration"
FYI cordova build android --debug
works but --release do not work
In my case i mean )).
I got this error when i run ionic run android in my ionic 3 app console.
I saw many posts of it in stack over flow but nothing solve my issue.
ANDROID_HOME=C:\Users\XXXX\AppData\Local\Android\sdk
JAVA_HOME=C:\Program Files\java\jdk1.8.0_101
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
I had same issue with cordova app (not ionic 3). I uninstalled sdk android and I installed Android Studio and now it works.
When i run my meteor project, i have this Warning:
WARNING: Attempting to install plugin cordova-plugin-device#0.3.0, but
it should have a minimum version of 1.1.1 to ensure compatibility with
the current platform versions. Installing the minimum
version for convenience, but you should adjust your dependencies.
And then, I have this error:
I20160401-19:50:43.017(2)? E/MeteorWebApp(19633):
com.meteor.webapp.WebAppException: Skipping downloading new version
because the Cordova platform version or plugin versions have changed
and are potentially incompatible
How to update cordova-plugin-device plugin ?
In Meteor project folder .meteor
create a file cordova-plugins and insert the line cordova-plugin-device#1.1.1...
meteor will rebuild with that version
I removed and re-added the Android, in my case, mobile platform:
meteor remove-platform android
meteor add-platform android
That fixed the error for me.