Error: Could not initialize class com.android.sdklib.repository. AndroidSdkHandler@TOC
After studio installs or upgrades to 4.2 + for the first time, an error is reported in the construction project. The reason is very simple, because the Java path configured for the project is wrong
because the default JDK path of the project will become the JDK path of studio after updating the version. At this time, you need to add your SDK as Java in the “environment variable”_ Home, and then the JDK path of the project must be the same as Java_Home remains the same and error is eliminated
Read More:
- Android solution Java.util.concurrent.ExecutionException: com.Android.ide.common.process.ProcessException: exception
- Android studio compilation failed: java.util.concurrent.ExecutionException: com.android.ide.common.process.Process
- [Solved] Cannot find class: com.mysql.jdbc.Driver
- [Solved] Sprintboot hikari initialize error: ERROR 27468 — [nio-8080-exec-1] com.zaxxer.hikari.pool.HikariPoolHikariPool
- [Solved] AndroidStudio Error: checkDebugAarMetadata & CheckAarMetadataWorkAction
- [Solved] Jenkins Publish to rancher Error: ERROR: Build step failed with exception java.lang.ClassCastException: class com.
- [Solved] AS Error: Error inflating class android.support.v4.view.ViewPager
- [Solved] AndroidStudio libcrypto.a(armcap.o):armcap.c:function OPENSSL_cpuid_setup: error: undefined referen
- Java Running Error: Could not find or load main class
- [Solved] fragment error: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.myapplication/com.example.myapplication.MainActivity}…
- [Solved] Could not find resource COM / atguigu / Dao / studentdao.xm, the mapper file for storing SQL statements could not be found and an error occurred
- [Solved] activiti integrate error: GlobalAuthenticationConfigurerAdapter.class does not exist
- Android Studio Error: Error:moudle not specified [How to Solve]
- [Solved] Subversion reported an error:The repository at ‘‘has uuid
- Springboot mybatis Integrate Error: Invalid bound statement (not found): com…DepartmentMapper.save
- [Solved] Android Could not determine artifacts for XXXX: Skipped due to earlier error
- [Solved] com.alibaba.druid.filter.FilterManager : load filter error, filter not found : sl4j
- [Solved] Failed to load class org.slf4j.impl.StaticLoggerBinder
- The Java class generated by protocol reports an error: cannot access
- [Solved] Initialization of anonymous inner class member variable causes java.lang.stackoverflowerror