Creating Android Studio 3.5 first pit project encountered

table of Contents

1. Eject "Unable to access Android SDK add-on list" prompt

2. Create a project first

3.Could not download junit.jar

4.Your anti-virus program might be impacting….

5. How to modify the default configuration

6. If you need to debug the CMD


In this record during the installation process Android Studio 3.5 of pit encountered, I feel AndroidStudio more difficult to use than the eclipse, if you feel the same?

1. Eject " Unable to Access the Add-ON Android SDK List " prompt

Some Internet users say skip this step by modifying the configuration file, but no Android SDK on my computer, skip this step is to display a temporary escape.

I'm in C: \ Windows \ System32 \ drivers \ etc \ hosts, were as follows on OK.

Then reboot again Android Studio, you can normally download, see download is not very happy?

 

2. Create a project first

Click on "Start a new Android Studio project".

Enter a project name, select Language to java.

Click Finish to the next page. We see the first page of the new features of version 3.5 are introduced.

Click File-> Sync Project with gradle files, resulting in a "unable to find valid certification path to requested target" of the error. This error can toss me is not light, try a variety of methods did not take effect.

Since there are many ways online, so the reason we encounter is different. I am here to talk about my solution used for reference purposes only.

My problem is that the Internet does not download grale cause, I myself https://services.gradle.org/distributions/ own download a bit.

The zip the bag on the C: \ Users \ atlas \ directory under .gradle, remember not to decompress.

Then configure the project gradle \ wrapper \ gradle-wrapper.properties file, as follows:

Then click Sync Project with gradle files again, there appears the following error:

3.Could not download junit.jar

Modify the way of the reference solution Baidu experience in:

https://jingyan.baidu.com/article/00a07f381572e482d028dcee.html

4.Your anti-virus program might be impacting….

The solution is added to the path will be prompted to antivirus software whitelist. My anti-virus software is Win10 comes with Windows Defender, to solve the following ways:

After a series of agonizing above, finally lovely HELLO WORLD finally presented itself:

 

5. How to modify the default configuration

We develop or write your own dmeo process, may use fixed test machine or simulator, so we'd better make some defaults, such as the SDK device, it will save a little time.

The current file is closed, and then click Configure.

 

6. If you need to debug the CMD

If you want to adb debugging command line, then the installation path adb.exe needs to be added to the environment variable, and then not report the following error (adb is not an internal or external command, operable program or batch file) .

Thank you finish reading this article, if useful for you, please help point a praise.

Welcome scan code concerns personal micro-channel public number, or search: all things Internet technology

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Published 29 original articles · won praise 13 · views 10000 +

Guess you like

Origin blog.csdn.net/Atlas12345/article/details/104713356