Could not find class

后端 未结 4 1624
眼角桃花
眼角桃花 2020-12-11 11:11

My project ran well until I clicked \"Help->Check for updates\" and installed some components in Android SDK Manager.

In general, there is no error

相关标签:
4条回答
  • 2020-12-11 11:23

    I assume your are using ADT? if you are, you can download a .zip with all files in it. From the android developer site

    0 讨论(0)
  • 2020-12-11 11:29

    Thanks @Raghunandan. The solution is right click on project. goto java build path. choose order export tab. make sure android private libraries is check. Clean and build. Also make sure you have android sdk build tools from the sdk manager

    0 讨论(0)
  • 2020-12-11 11:36

    I have had the same issue as you and have fixed it this way.

    Go to Properties > Java Build Path > Order and Export and check the Android Private Libraries box.

    See the screenshot below:

    enter image description here

    0 讨论(0)
  • 2020-12-11 11:41

    It may be one of the following reasons:

    1. Setup problems: adding the jar files manually as well as setting the project type to use Google APIs. This cause problems for some reason.
    2. You are calling activity may be inheriting some class that causes this problem.
    0 讨论(0)
提交回复
热议问题