APK's built from my pc wont work

Hi, trying to build APK file with Windows 10, using react native. File seems to build fine but when trying to launch application after installing it i get this error.


We tried building from mac, linux and other windows and they all get a working apk from same git repository.

Any help will be appreciated.

Hey @weeper,

Are you using the expo-cli or the turtle-cli to build locally?

Cheers,
Adam

Im using expo-cli

Well im using expo-cli and using the expo ba / expo build:android to actually make the apk file

This usually is the result of some config changes for babel. Can you share your babel config? Also, if you run expo start --no-dev --minify you should get the same error.

babel.config.js

module.exports = (api) => {
api.cache(true);
return {
presets: [
[
‘babel-preset-expo’,
],
],

};
};

expo start --no-dev --minify gave no errors and opened the app as usual

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.