Dev_wannabe
Lurker
Before I proceed, let me explain that I am recently employed into this new company as a junior IT support. I mainly do hardware with very2 little programming knowledge. Recently my company upgraded to a newer server and we have changed the location of the databases. However our apps are still pointing towards the old server url/location. I have been in contact with the app developers on how to change the configuration of the apk; in which it needs to be decompiled. They are engaged in a big project and was unable to assist me at this moment. Instead, they have given me the whole folder containing all the source code (Shown in the screenshot).
I was asked to:-
My questions / Issues :-
I was asked to:-
- Change the URL setting in on of the config.ts file contained in the res folder - done -
- Recompile everything to APK so that the 'new' apk can be installed on our mobile android devices.
My questions / Issues :-
- I have done the steps required in the README file such as:-
a. Install [node js] (https://nodejs.org/dist/v10.15.1/node-v10.15.1-x64.msi). Make sure to use version > v10 LTS (I am now using ver v12.22.12)
b. Install Nativescript CLI using git bash
npm install -g nativescript
Done
c. Install Java SE Development Kit 8u201 Done
d. Install [Android Studio] (Download Android Studio & App Tools - Android Developers) Done
e. Create android emulator. Done
f. Clone this repository. <---- How is this done correctly? Do I copy the whole project folder and place it under an active working folder to generate the apk app? Please advise - Do I run the .sh script PRIOR to running the related commands in tns such as 'tns android build' / 'tns android debug'?
- I did a tns debug android using command prompt (Admin rights) in the folder path and received :-
- I also did tns doctor just to check my configurations are correct or otherwise:-