Error: "the Following Classes Could Not Be Found: - Android.support.v7.widget.gridlayout" After Upgrading Android Sdk Tools
Solution 1:
Apparently, you do not have the Android library project containing GridLayout
referenced from your project, perhaps because the old reference is now broken.
Solution 2:
Edit you project's (and library project's too) .classpath file like this:
<?xml version="1.0" encoding="UTF-8"?><classpath><classpathentryexported="true"kind="con"path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/><classpathentryexported="true"kind="con"path="com.android.ide.eclipse.adt.DEPENDENCIES"/><classpathentryexported="true"kind="con"path="com.android.ide.eclipse.adt.LIBRARIES"/><classpathentrykind="src"path="src"/><classpathentrykind="src"path="gen"/><classpathentrykind="output"path="bin/classes"/></classpath>
Solution 3:
It probably updated your default support v4 lib and now the on in your projetc/lib folder is probably a different version from the one inside v7.
Delete the support v4 jar file in your project/lib folder.
You can have it there and work with the support v7 lib, but v7 already has a v4 lib and they must have the same version to work.
Remove the v4 jar file in your lib folder, then add the v7.
Solution 4:
Important Change
It has been removed as of API 25.0.0:
You should replace android.support.v7.widget.Space
with android.support.v4.widget.Space
See here
android.support.v7.widget.Space has been removed. Usages should be replaced with android.support.v4.widget.Space.
Post a Comment for "Error: "the Following Classes Could Not Be Found: - Android.support.v7.widget.gridlayout" After Upgrading Android Sdk Tools"