After installing the latest version of QT6.8, online, and using it for a few days, I wanted to start writing an Android program, and found that I was still configuring the environment before I could continue, so I started configuring it:.
Menu:Edit -->preferences -->Devices -->Android
[The interface is not fully localized, part of it will be in English, it doesn't matter, just get used to it.]
Because the java development environment has been installed before, the JDK location will be automatically filled with the default system configuration path.
c:\program files\java\jdk-1.8 , at the moment I do not know, I have entered the pit ... ...
Since the jdk location has been found, and shows that this item has been passed, then so do not have to change, directly set the path to the Android SDK, immediately prompted the following:
OK to continue, the following prompt pops up:
That must be OK, need to not know, this is another tip pit [0 Android SDK packages will be updated...]. And the double pop-up before this tip
Seems to be sure it doesn't work, only [cancel], says to install manually
So go online to check the information, only a small number of useful, one of them said that through the Android Studio to install the SDK, just before the installation of Android Studio, as long as the installation of the above tips will not be installed to fill up the completion of the can start:
Operate under Android Studio:
All of the above mentioned are checked and installed one by one:
The pit of not being able to download here has been filled in, so here's a direct way to tell you how:
Modify the contents of the system C:\Windows\System32\drivers\etc\hosts file, and add the following contents to the host file:
#google_android update (if the ip is invalid, you can find the right IP from this website below:
/)
220.181.174.97
220.181.174.97
Once the installation is complete, let's look at the configuration in QT:
I can't believe there's another one, keep looking for information online.
Later, I saw a video on the B site, the video operation is normal, so I started to look for different, re-configure the configuration from zero:
With the video in the jdk is different, re-under the screenshot jdk, click here to download, yesterday opened a number of times the site can not be opened.
(also the cause of the pit again), today opened, so quickly download!
After downloading, unzip it to: D:\ProgramFiles\Qt\jdk-17.0.13+11
The pop-up tips are not the same oh:
Ahh... feel like I'm getting close to jumping out of the pit
Click:Yes, yes, yes, yes ...
Started to download, finished, looks like nothing to download, (before the use of Android studio have been under the completion of the), should only be a small amount of configuration is not completed, finally a sigh of relief.
Android in the project works!
Start Hello World Android!
Follow the public number to see more
Welcome to WeChat SearchIT Software Tribe Follow the public number, you can learn more detailed content
Huaner weibo scan code to followIT Software Tribe Public number, you can learn more detailed content