Demo apk : https://github.com/blackipie/web2apk/raw/main/app/release/app-release.apk
Convert Your Website to Apk using Android Studio
A. Create and open a folder and then open it with terminal.
B. Write this command and hit enter :
git clone https://github.com/blackipie/web2apk.git
C. Open your Android Studio and Click "Open an Existing Project"
D. Select the folder you opened with terminal.
A. Goto " app > java > com.app.apk > MainActivity "
B. Find the line "mywebView.loadUrl("https://google.com");"
C. Replace both the "https://google.com" with your website url.
A. Goto " app > res > values > strings.xml "
B. Change "Apk" to your App name
A. Goto " app > res > drawable "
B. Right click on "drawable" > new > Image Asset
C. Click on "Image Asset"
D. Now You can change your app logo's foreground and background layer
E. After that click on Next and Finish it.
NOW RUN IT
A. Do the same as shown in image below and Click on "Generate signed bundle/Apk.."
B. Select "Apk" and Click Next
C. Click Create New
D. Now Key Store Path: (the path where you cloned website_to_Apk )
E. Select "website_to_Apk" and Write Filename as "Apk" and then click "OK"
D. Enter your own password and fill in the blanks and then Click "OK"
E. Click Next
F. Select "release" , Check both the signature versions and then click "Finish"
G. Click on "locate" as shown in the image
H. Open "release folder"
I. There is an Apk file named "app_release"
-
You have successfully generated Apk.
-
Send the Apk file named "app_release" to your device and install it.