Please provide the following:
- SDK Version: 47
- Platforms(Android/iOS/web/all): Android
So I had an app that running perfectly in SDK 40, Then I got a notice from Google that they are changing the policy and it requires me to change some packages in my app, so I upgraded the SDK from 40 to 47, but now whenever I try to run the code after installing all the required packages I am getting the error:
“Could not get BatchedBridge, make sure your bundle is packaged correctly”
I tried to see some other from the app but I couldn’t get any other logs,
When I am trying to run expo run:android I get the following error:
`Script ‘…\node_modules\expo-modules-autolinking\scripts\android\autolinking_implementation.gradle’ line: 272
- What went wrong:
A problem occurred evaluating project ‘:expo’.
A problem occurred configuring project ‘:expo-modules-core’.
Failed to notify project evaluation listener.
SDK location not found. Define a valid SDK location with an ANDROID_HOME environment variable or by setting the sdk.dir path in your project’s local properties file at
…\android\local.properties’.
Could not get unknown property ‘release’ for SoftwareComponentInternal set of type org.gradle.api.internal.component.DefaultSoftwareComponentContainer.`
I runned expo doctor --fix-dependencies and it find no problems/
I runned expo update and it did update some expo packages.
I tried to run it also in Iphone and I still get the same error “Could not…”
I think there is an other issue with the packages but I the error is hidden behind the “Could not…”
I am clueless, If you have anything I can do in order to fix it?
Thanks in advance
Current node version: 16.16
Tried version: 16.13/17/18