The XDK export looks for the version of the SDK to be exposed in the app.json file. So your app.json should look something like this:
{ "name": "MyAPP", "displayName": "MyAPP", "expo": { "sdkVersion": "18.0.0" } }
Replace "18.0.0" with the SDK version. This error occurs when creating an application using
react-native init
instead
create-react-native-app
I take this as one of the reasons. In such cases, there may be more such explanations. Excellent coding!
source share