Fake Live Location DOC
Fake Live Location DOC
1. Getting Started
First you need to download the Android Studio and SDK, click on the green button
to download, it come with Android Studio + SDK.
http://developer.android.com/studio
The installation is simple, but if you are having difficult, please contact us.
Open the SDK on 'SDK Manager' (Android Studio, or Standalone SDK), and
download API 27 or 28 (SDK platform), Google API 28, then Download build tools(latest
version).
- Move the project folder to the “AndroidStudioProject” folder, or one that you want.
- Open Android Studio and click on “Open an existing Android Studio project”:
- Select the project folder (FakeLiveLocation) and click ok
- Now your project are open, wait for the gradle to load, this may take a while.
- When your project are opened and gradle sync completed, then change the package
name, to change refer this: http://stackoverflow.com/a/29092698/3571610
- Open the “res” folder, then click on “values” > “string” and open “string.xml” file (It may
be that the directory structure is different, remember to update your gradle to the last
version)
- On “app_name” column “Default Value” change your new App Name for english.
- Now on the right (Portuguese column) change your App name in portuguese (you can
keep the same as your english app name)
- Now search for “title_activity_main”, this is your main title for App, change both
- Now on “mipmap” folder (from RES folder), right click, new > image asset.
- Choose your new App Icon.
- Change the AppBar color, go to res>values>colors.xml and choose your favorite color
for the bar (colorPrimary) and Status Bar (colorPrimaryDark):
You need to set your Google Maps API on the project, create your project on the
https://console.cloud.google.com/apis/dashboard
This will open your Google Developer console, and then create your key,once you
have your key (it starts with "AIza"), replace the "google_maps_key" string
(google_maps_key.xml and string.xml) by your key.
- Your string.xml are located on folder res > values you can change the string
directly in the xml file or in the “Translation Editor”.
- Your google_maps_key.xml are located on folder res > values
google_maps_key.xml
- When you finish create your admob account, on the admob panel, click on red button
“Monetize new app”.
- If you have already uploaded you app on the play store, then on “Search for your app”
insert your app name and search for him, if you are not upload your app in the play store,
then click on “Add app manualy”, inform your app name, select Android platform and click
on Add app.
- You app has added to your admob account, now click on “Banner” Button to create your
admob banner
- Choose an banner name, and click on save, you can customize your admob banner with
colors, but I recommend to not change it.
- Now copy your ad unit ID, this is your banner ID, you need to put it on the string xml file
from your project!
- Now open your string.xml file (res > string.xml (folder) > string.xml). Put your ad unit ID here:
Finish!!
Remember: DO NOT KEEP THE SAME APP NAME, PACKAGE AND COLORS,
you need to change or Google will reject your APK.