Topic: Set-up Angular mobile for Windows

ARcode pro asked 5 years ago


Hello

I'm having problems installing the Android environment for Angular Mobile 8.0.0. Basically I have problems on steps 4 and 5 from the quick installation guide. Probably it is really easy but I'm no expert and I don't know the exact commands to install all the needed dependencies.

I would be thankful if you could give me some advice.

Thank you


ARcode pro answered 5 years ago


I reinstalled everything from step 1. When running the script from step 4 I got the following message:

Warning: File C:\Users\User\.android\.android\repositories.cfg could not be loaded.

From this point on, all commands show the same warning message, followed by:

[=======================================] 100% Computing updates...

After that, the tns doctor shows no errors, but when i execute npm install from the app terminal I get a bunch of no such file or directory, open 'C:\Users\...\mdb-angular-mobile-free-8.0.0\node_modules\.staging\...

I would say all these errors come from the repositories.cfg error.


Arkadiusz Idzikowski staff commented 5 years ago

Please try to create empty repositories.cfg file manually.


Arkadiusz Idzikowski staff answered 5 years ago


In Step 4 you need to copy the command from our guide to the command prompt and press enter to install the dependencies. The %ANDROID_HOME% variable points to the android folder on your machine. If your ANDROID_HOME variable is not set you can replace it with the path to the android-sdk, which should look like this: C:\Android\android-sdk.

Then this command "%ANDROID_HOME%\tools\bin\sdkmanager" will be the same as "C:\Android\android-sdk\tools\bin\sdkmanager"

The same rule applies to the step 5. Open your terminal and go to C:\Android\android-sdk\tools\bin, then use command for sdkmanager and avdmanager as explained in the guide.

Please let us know if you encounter any further problems with the installation.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 8.0.0
  • Device: Computer
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes