Android release apk is giving Webpage not available
See original GitHub issueDebug apk works good on my device but on doing a release by using Android Studio to Generate Signed Apk. On running signed apk I am getting this screen. I found that below permission should be on top of manifest file under root tag but moving it to top also not helps.
<uses-permission android:name="android.permission.INTERNET" />
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="***************">
<uses-permission android:name="android.permission.INTERNET" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale"
android:name="**********.MainActivity"
android:label="@string/title_activity_main"
android:theme="@style/AppTheme.NoActionBarLaunch">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="@string/custom_url_scheme" />
</intent-filter>
</activity>
<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths"></meta-data>
</provider>
</application>
<!-- Permissions -->
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<!-- Geolocation API -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-feature android:name="android.hardware.location.gps" />
<!-- Network API -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</manifest>
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:9 (2 by maintainers)
Top Results From Across the Web
web view not loading page after exporting to signed APK
I then export a signed APK. Copy the APK to my device. Install it. Run it. No map. Just a blank white web...
Read more >Known issues with Android Studio and Android Gradle Plugin
To work around this issue, do the following: Open the Settings window by clicking File > Settings.
Read more >Manage private Android apps in Google Play
Make internal work apps available to usersSupported editions for this feature: Frontline; Business Starter, Business Standard and Business Plus; Enterprise; ...
Read more >Google Chrome: Fast & Secure - Apps on Google Play
Google Chrome is a fast, easy to use, and secure web browser. Designed for Android, Chrome brings you personalized news articles, quick links...
Read more >How To Fix Web page not available Error in Android Mobile ...
Hello Everyone Today We Are Going To Talk About How To Fix Web Page Not Available Error On Android.On your Device, Click and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
there was a fix submitted, but it’s not linked here becase this issue and #1214 are duplicates and the fix (https://github.com/ionic-team/capacitor/pull/1256) was linked to that other issue.
On debugging it shows:
Looks like there is some conflict in Cordova and capacitor. Maybe cordova app is running some background service what fails with capacitor.