Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29627

Expected URL scheme 'http' or 'https' but no colon was found

$
0
0

I developed an application that through some requests by AXIOS to certain apis it presents data, the app is very simple, I have checked all links and they all start with HTTP or HTTPS .. The application works perfectly if I generate the apk in DEBUG mode , but if I create an apk release the error comes ...

it is worth mentioning that this is a project ejected from the expo

this is the logcat log when i open the app release:

04-20 23:11:18.022 10873 10896 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #204-20 23:11:18.022 10873 10896 E AndroidRuntime: Process: com.radarcorona, PID: 1087304-20 23:11:18.022 10873 10896 E AndroidRuntime: java.lang.IllegalArgumentException: Expected URL scheme 'http' or 'https' but no colon was found04-20 23:11:18.022 10873 10896 E AndroidRuntime:        at okhttp3.HttpUrl$Builder.parse(HttpUrl.java:1333)04-20 23:11:18.022 10873 10896 E AndroidRuntime:        at okhttp3.HttpUrl.get(HttpUrl.java:916)04-20 23:11:18.022 10873 10896 E AndroidRuntime:        at okhttp3.Request$Builder.url(Request.java:165)04-20 23:11:18.022 10873 10896 E AndroidRuntime:        at expo.modules.updates.loader.FileDownloader.addHeadersToManifestUrl(FileDownloader.java:190)04-20 23:11:18.022 10873 10896 E AndroidRuntime:        at expo.modules.updates.loader.FileDownloader.downloadManifest(FileDownloader.java:79)04-20 23:11:18.022 10873 10896 E AndroidRuntime:        at expo.modules.updates.loader.RemoteLoader.start(RemoteLoader.java:56)04-20 23:11:18.022 10873 10896 E AndroidRuntime:        at expo.modules.updates.UpdatesController.lambda$start$0$UpdatesController(UpdatesController.java:307)04-20 23:11:18.022 10873 10896 E AndroidRuntime:        at expo.modules.updates.-$$Lambda$UpdatesController$cVwvsx9XXcX6YuWbf7IvrVkJAiA.run(Unknown Source:6)04-20 23:11:18.022 10873 10896 E AndroidRuntime:        at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)04-20 23:11:18.022 10873 10896 E AndroidRuntime:        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)04-20 23:11:18.022 10873 10896 E AndroidRuntime:        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)04-20 23:11:18.022 10873 10896 E AndroidRuntime:        at java.lang.Thread.run(Thread.java:919)04-20 23:11:18.024 10873 10894 W OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...04-20 23:11:18.036  2039  2882 W ActivityTaskManager:   Force finishing activity com.radarcorona/.MainActivity

react-native: 0.61.5


Viewing all articles
Browse latest Browse all 29627

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>