32.0.0 not a valid SDK version - javascript

I am trying to test out an app I'm developing on Node.js and I am utilizing expo to test the app. I've tried to update the versions to see if it will fix anything. When I scan the tunnel QR code from my Ubuntu virtual machine I still get the same errors. Any help or clarifications would be greatly appreciated! I have attached screenshots to show which versions of Node.js and Expo I'm on as well as the error message I'm retrieving.
Node and Expo Versions
Expo Error

You should update Expo to SDK 34 or higher. Because the Expo client doesn't support the version lower SDK 34.

Related

expo publish command is returning 'Request failed with status code 404' error

I am trying to publish my expo app (running expo publish --release-channel test).
I get a 404 response.
I tried downgrading react version from 16.8.6 into 16.8.3 and creating a new expo account but also using the old one that the same command worked before.
expo version: 33.0.0.
expo cli version: 3.4.1.
react version: 16.8.6.
react native version 0.59.8.
Please find the images attached below for more details related to my environment.
Thank you
Error message:
package.json
app.json
you need to update expo-cli - you are using a version that is >2 years old and points to a no longer existing endpoint

Unable to solve Android target error in Meteor add-platform android

I using a Macbook Pro M1 and decided to do start developing mobile app using Meteorjs framework, since I've used the framework for web development. I've followed a tutorial online on how to get that going but currently facing a problem:
Status of the individual requirements:
✓ Java JDK
✓ Android SDK
✗ Android target: Command failed with exit code 1: avdmanager list target
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156)
at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75)
at com.android.sdklib.repository.AndroidSdkHandler.<clinit>(AndroidSdkHandler.java:81)
at com.android.sdklib.tool.AvdManagerCli.run(AvdManagerCli.java:213)
at com.android.sdklib.tool.AvdManagerCli.main(AvdManagerCli.java:200)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
... 5 more
✓ Gradle
It seems that there's only one requirement that failed, and I've searched for the solution but couldn't find anything that resembles a similar problem that I'm facing. Hoping for you to help point me to the right direction.
I have installed the Android Studio, uninstalled and reinstalled the Android SDK Build-Tools 32, Android SDK Command-line Tools, Android SDK Platform-Tools, and Android Emulator.
Currently, my ~/.bashrc file setup is like this:
export ANDROID_HOME=$HOME/Android/Sdk
export ANDROID_SDK_ROOT=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin
...and my ~/.bash_profile:
export JAVA_HOME=$(/usr/libexec/java_home)
export PATH=$JAVA_HOME/bin:$PATH
export CLASS_PATH=$JAVA_HOME/lib
and I've got Gradle working just fine. Tested building a generic Android app using one of the samples in Android Studio. The build was successful.
But I can't get the meteor add-platform android to pass the checks. Anyone?
This problem was solved by installing JDK8.
Source for Macbook Pro M1: https://www.azul.com/downloads/?version=java-8-lts&os=macos&architecture=arm-64-bit&package=jdk

Expo MediaLibrary.getAssetsAsync() crashes the app on android

I'm using expo managed flow to develop my app and I'm trying to use camera roll in order to show some images.
I'm using expo's MediaLibrary and once I grant access to the camera roll via MediaLibrary.getPermissionsAsync() then, I try to call MediaLibrary.getAssetsAsync() but my android crashes. Everything works on IOS.
Note: when I add MediaLibrary.getAssetsAsync({ after: "" }) it does not crash but I've got an error where it says that "after key should be valid ID"...
Anyone knows what's the issue here?
I had the same inssue, I solved by doing this:
=>Run expo upgrade in your project directory (requires the latest version of expo-cli, you can update with npm i -g expo-cli).
They corrected in Expo SDK 39~40, mine was 38

How can I publish to the Apple app store my expo application?

I have finished to write a react-native application written with the help of expo SDK and I want to build my final .apk and .ipa for testing them with real devices.
During the development, I have used one iPhone 6 and one Galaxy S9 real devices using the expo application.
So far, I managed to build from Debian the signed apk but I didn't find a way to get an .ipa from my Debian linux system.
I can't have xcode installed but if needed I can rent a mac online and submit the ipa from there.
I have already followed those guides:
https://docs.expo.io/distribution/building-standalone-apps/
https://docs.expo.io/distribution/app-signing/
https://customersupport.doubledutch.me/hc/en-us/articles/360001189514-iOS-How-to-Create-a-Distribution-Certificate
This guy says:
Is it possible…sure. The only thing a Mac is needed for is XCode for actually uploading your IPA to AppStore. I do not own a MAC personally, so I rent an online one via MacInCloud.
What are the steps to build an .ipa on expo?
This is super simple if you are using the managed workflow (not sure if this is the case?).
expo build:ios
You will then get a link which will allow you to download the .ipa once it has been built on the expo servers.
Open your MacInCloud mac, download the .ipa from the link provided, and then upload it to the AppStore using the Transporter app.

Can't upload React Native app to iTunes Connect with Xcode 7.3

I made an app using React-Native for iOS and I can't publish it to the App Store. When I go to the Xcode Organizer and follow the steps to upload the Archive, it throws the following error when Sending API usage to iTunes Connect.
Yesterday, I tried validating and uploading other apps made with Swift and it worked.
Solution found setting the minimum required version of iOS to 8.1.
It supposed to be a launch-screen-related error.
NOTE: This solution also applies for Xcode 8.

Categories