After install Android Studio,
1) Make sure your website server is https with ssl.
2) Make sure your phone and laptop has strong and stable wireless, otherwise will fail to run project.
3) If fail, then may try go to Build > Clean Project. Then run again.

Problem : error : Gradle sync fail : Javalang ....

Solution :
1) File > Close Project

2) Welcome Screen there click Configuration > Appearance & Behaviour > Android SDK

3) SDK Tools > Tick "NDK (Side by side)" and Tick "CMake".

4) Apply > Ok > Accept > Next.
More info at https://developer.android.com/studio/projects/install-ndk

-----------------------------

Problem : Emulator loading very slow.
Problem : Error : The ADB binary found at is obsolete and has seriousperformance problems with the Android Emulator.

Solution :
Just opened "Android SDK Manager" Then it showed 4 Updates Available. So I just Updated it.



Then click Help > Check for Updates

-------------------------------
If emulator on Android Studio is too slow. Then dont run project on Emulator, u may run project on your real phone. Steps :
1) Connect android phone with cable to laptop.

2) On Android phone go to Settings > About Phone > Tab "Build number" for 7 times to open Developer tool.

3) Go back to Settings page > Tick USB debugging.

4) Go to Android Market download App Vysor / AirDroid / Scrcpy / Samsung Flow / KDE Connect

5) On Laptop go download Vysor

6) Try connect them. If cannot then repeat Step 3 above.

7) Now you will see your real phone device appear Android Studio as screenshot below :

8) Go to Build > Signed Bundle Apk. Then Android Studio will install the apk into your real phone.

-----------

Change package name 3 steps :
1) app > src > main > java > webviewgold > gold > webview > onlineappcreator > com > (right click then select "Refactor" then select "Rename".

2) app > src > main > res > AndroidManifest.xml (double click to edit the coding):
android:label="Econnez"

3) app > src > main > res > build.gradle (double click to edit the coding) :
applicationId "webviewgold.gold.webview.onlineappcreator.com.econnez"


-------
add oneSignal id at :
app > src > main > res > build.gradle (double click to edit the coding)


Posted by Zac1987 on 19 December, 2019
| | edit post
Share On Facebook ! Share On Google Buzz ! Add To Del.icio.us ! Share On Digg ! Share On Reddit ! Share On LinkedIn ! Post To Blogger ! Share On StumbleUpon !
Share On Friend Feed ! Share On MySpace ! Share On Yahoo Buzz ! Share On Google Reader ! Google Bookmark ! Send An Email ! Blog Feed !

0 comments






Enter your email address:

Subscribe in a reader

Follow zac1987 on Twitter

Donation

If you feel my website is informative and it is useful for you, please donate some money to support me or buy me a drink. I will continues this good works. Thank you.