using Android Studio also has nearly half a year time, the period several times want to abandon, really have its door and not enter! Fortunately, the use is still smooth, the basic problem can be solved. Here are some of the puzzles I have encountered in my learning process. The beta version also works! Some students may find that Android Studio is still a beta version, has not released the official version, the bug may be more, the information can be found on the internet is not so much, do not want to switch, wait for the official version and then use, not the first person to eat crabs. We can rest assured that the use of Google in 2004 to release the Gmail version of Beta1.0, until 2009 to release the official version, a full five years of time! So~bug not so much as imagined! Foreigners have long been using Android studio for a wide range of uses, in our use of the process encountered problems, StackOverflow can help you solve. You can confidently switch to the Android Studio IDE
smooth network, smooth access to the Internet network, it is best to buy a VPN (you know) when you first filled up with joy. When you open the installed Android studio, the crash happens immediately. Download really long, in fact, this step is to download the installation of Gradle plug-ins, there are a lot of plug-ins to download the installation! This may be a bit different from when you use Eclipse. If you do not have a smooth network of access to the outside network, this process is enough for you to drink a pot of! It is possible that the download will not be completed one day.
always use only the latest version of Gradle a brief introduction to the Gradle,gradle is a maven-like build-and-pack tool that is said to be more powerful than maven. Android Studio integrates seamlessly with Gradle without our own configuration. Since Gradle is independent of Android studio and does not upgrade with the release of Android Studio, we can specify different versions by ourselves, which can be configured in our Catalog Gradle folder. For example, if our project is Test-specific directory for "\test\gradle\wrapper\gradle-wrapper.properties", modify the Distributionurl value, such as can change the version number to 1.11
What will the Gradle cause us to do? In the process of our development of the project will inevitably not import third-party class library (in the form of Source project Lib), if the third-party class library uses Gradle version of the same as we do not, then the entire LIB module will use our local already downloaded Gradle version? According to the experience I use, the answer is no! Will re-download a different version of gradle! , think of the download speed, slow a lump, seriously affect the mood, which has the use of eclipse so cool. Perhaps this step allows you to cut back to eclipse in silence.
What is the way to solve the problem? Or in the way described above to modify the Distributionurl to import class library for our local effort to download the latest version of Gradle, so we do not have to download a version of the Gradle, save time and effort!
These are some of the puzzles that have arisen when using Android Studio. Everyone has any good experience or have any confusion can reply to discuss, study together!
There are a few puzzles you might have when using Android Studio