question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

App does not start when release signed apk in detach project

See original GitHub issue

I create a signed apk via Android Studio to distribute on google play (apple store works fine) .

I got this stacktrace

java.lang.RuntimeException: 
  at host.exp.exponent.kernel.ExpoViewKernel.handleError (ExpoViewKernel.java:76)
  at host.exp.expoview.ExponentActivity$2.onError (ExponentActivity.java:115)
  at host.exp.exponent.ExponentManifest$3.handleResponse (ExponentManifest.java:242)
  at host.exp.exponent.ExponentManifest$3.onResponse (ExponentManifest.java:263)
  at host.exp.exponent.network.ExponentHttpClient$2$1.onResponse (ExponentHttpClient.java:100)
  at expolib_v1.okhttp3.RealCall$AsyncCall.execute (RealCall.java:135)
  at expolib_v1.okhttp3.internal.NamedRunnable.run (NamedRunnable.java:32)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1133)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)
  at java.lang.Thread.run (Thread.java:762)

Any way to fix it?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
jesserudercommented, Feb 28, 2018

@faustoct so it works when you run it in debug mode? Have you run exp publish recently?

1reaction
jesserudercommented, Feb 28, 2018

@faustoct glad it worked! We cover distributing the app in this doc: https://docs.expo.io/versions/latest/guides/detach.html#6-distribute-your-app. In production we use your published JS bundle, so you should make sure that you’ve run exp publish recently.

Read more comments on GitHub >

github_iconTop Results From Across the Web

My react native project's release signed apk is not opening in ...
I got the solution of this problem: Step 1:- if you are facing the same problem then first create the debug release build...
Read more >
After detached, how to build a release android app · Issue #1152
i have tried a lot, use android studio build -> Generate Signed APK, but i find the app don't contain the real code(during...
Read more >
Sign your app - Android Developers
Learn important concepts related to app signing and security, how to sign your app for release to Google Play using Android Studio, and...
Read more >
Solved: Packaging Error in React-Native Release APK
The error means that there is an issue with the bundling of our JS files. It may so happen that your development/debug apk...
Read more >
Building for Android - Unity - Manual
For example, Google Play requires your application to be an Android App Bundle (AAB) and not an APK. If you are targeting a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found