After JDK is upgraded, SdkManager cannot be started.
Today, we will migrate an old project from Eclipse to AndroidStudio. So we started to build the compilation environment.
First, an error message is displayed when AndroidStudio is started:
Prime size must be multiple of 64, what between 512-1024
After a while, it is a bug in java1.7 and has been fixed in the new version. So I downloaded java8 and installed it. Then sdkManager cannot be started.
As there is no problem with the previous startup, it can be determined that it is caused by JDK installation,
1. I first thought of the JAVA environment variable configuration and tried it again. 2. Go to the SDK folder and find the find_java.bat File In sdk/tools/lib. This file is used to search for the JAVA environment variables in the system. If you open the file, you can check that the system is 32-bit and 64-bit, some people mentioned earlier that an error may occur during this judgment, resulting in a failure to search. So the problem is here. Solution see here, [beta available] (http://my.oschina.net/baishi/blog/143196)
After sdkManager can be started, it just takes a step ~
Later, I encountered the JAVA (TM) Platform SE binary stop working problem which has not been solved yet ~