November 12, 2022, 3:18pm
Hello, I am getting issues when i try to use the production mode (APK) of my first expo app.
The development environment works nice with
Emulator+Expo Go (Never got error logs from console)
The production build works nicely on my android emulator.
But the production build does not works on my physical device (Android 7.1.1)
Expo Go App is crashing on my
physical device (Android 7.1.1)
All builds went successfully with
Expo: SDK 47 (~47.0.3)
Physical Device: Samsung Galaxy Note 8 (Android 7.1.1)
What you have tried so far:
npx expo start --no-dev --minify expo go, works nicely on the emulator
Tried to use expo go from my physical device, but it is crashing
November 16, 2022, 2:26am
Issued is fixed, after updating Expo to version
same with me. how can ı upgrage expo to 47.0.5. ı already try expo upgrade but it waitin only integer value.
November 16, 2022, 5:47am
open your package.json, change the version for the expo package to ~47.0.5, then run
npm install or
I did that yes. but I still had a problem getting the apk at the build stage
Cannot invoke method getAbsolutePath() on null object
com.android.builder.errors.EvalIssueException: compileSdkVersion is not specified. Please add it to build.gradle
November 17, 2022, 8:07pm
share a link to your build page? it seems like maybe you have some library that isn’t configured properly
November 19, 2022, 2:33am
check out the expo doctor step and also, if you don’t intend for this to be a bare project, take note of the prebuild phase being skipped
I tried many things but it gives errors that I don’t understand. as you said i deleted android folder and prebuild worked. I also removed the packages found in the expo doctor (I still don’t understand why they don’t work here while they work in 44). I am still getting the same error. Why am I stuck with expo modules during the build phase?
here is my build page
November 25, 2022, 10:59pm
December 15, 2022, 10:59pm
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.