2014-11-06 10 views
0

Я отформатировал свой ноутбук и снова установил Eclipse. Теперь, когда я импортирую свои проекты, у меня много ошибок, но когда я создаю новый проект, он работает хорошо, ... Я потратил недельный поиск в Google и попытка, но ничего .. Поэтому я думал, что это лучшее место, и здесь много умных людей, которые могут мне помочь, поэтому я решил спросить вас ... Как я могу решить эту ошибку?Ошибка импорта проекта Eclipse

Вот ссылка на vdieo: Click Here to watch video on YouTube

[2014-11-06 22:11:51 - Matematika] Found 2 versions of android-support-v4.jar in the dependency list, 
[2014-11-06 22:11:51 - Matematika] but not all the versions are identical (check is based on SHA-1 only at this time). 
[2014-11-06 22:11:51 - Matematika] All versions of the libraries must be the same at this time. 
[2014-11-06 22:11:51 - Matematika] Versions found are: 
[2014-11-06 22:11:51 - Matematika] Path: D:\tst\appcompat_v7\libs\android-support-v4.jar 
[2014-11-06 22:11:51 - Matematika] Length: 987314 
[2014-11-06 22:11:51 - Matematika] SHA-1: 9b6a9a9078af571732159b904ad423b03b7cc786 
[2014-11-06 22:11:51 - Matematika] Path: D:\tst\Matematika\libs\android-support-v4.jar 
[2014-11-06 22:11:51 - Matematika] Length: 758727 
[2014-11-06 22:11:51 - Matematika] SHA-1: efec67655f6db90757faa37201efcee2a9ec3507 
[2014-11-06 22:11:51 - Matematika] Jar mismatch! Fix your dependencies 
[2014-11-06 22:11:52 - Matematika] Found 2 versions of android-support-v4.jar in the dependency list, 
[2014-11-06 22:11:52 - Matematika] but not all the versions are identical (check is based on SHA-1 only at this time). 
[2014-11-06 22:11:52 - Matematika] All versions of the libraries must be the same at this time. 
[2014-11-06 22:11:52 - Matematika] Versions found are: 
[2014-11-06 22:11:52 - Matematika] Path: D:\tst\appcompat_v7\libs\android-support-v4.jar 
[2014-11-06 22:11:52 - Matematika] Length: 987314 
[2014-11-06 22:11:52 - Matematika] SHA-1: 9b6a9a9078af571732159b904ad423b03b7cc786 
[2014-11-06 22:11:52 - Matematika] Path: D:\tst\Matematika\libs\android-support-v4.jar 
[2014-11-06 22:11:52 - Matematika] Length: 758727 
[2014-11-06 22:11:52 - Matematika] SHA-1: efec67655f6db90757faa37201efcee2a9ec3507 
[2014-11-06 22:11:52 - Matematika] Jar mismatch! Fix your dependencies 
[2014-11-06 22:11:56 - Matematika] D:\tst\appcompat_v7\res\values-v21\styles_base.xml:75: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'. 
[2014-11-06 22:11:56 - Matematika] 
[2014-11-06 22:11:56 - Matematika] D:\tst\appcompat_v7\res\values-v21\styles_base.xml:79: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.CloseMode'. 
[2014-11-06 22:11:56 - Matematika] 
[2014-11-06 22:11:56 - Matematika] D:\tst\appcompat_v7\res\values-v21\styles_base.xml:83: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.Overflow'. 
[2014-11-06 22:11:56 - Matematika] 
Continues still ...... 

One Другое Procject эта ошибка:

2014-11-06 22:11:57 - MyActivity] D:\tst\appcompat_v7\res\values-v21\styles_base.xml:75: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'. 
[2014-11-06 22:11:57 - MyActivity] 
[2014-11-06 22:11:57 - MyActivity] D:\tst\appcompat_v7\res\values-v21\styles_base.xml:79: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.CloseMode'. 
[2014-11-06 22:11:57 - MyActivity] 
[2014-11-06 22:11:57 - MyActivity] D:\tst\appcompat_v7\res\values-v21\styles_base.xml:83: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.Overflow'. 
[2014-11-06 22:11:57 - MyActivity] 
[2014-11-06 22:11:57 - MyActivity] D:\tst\appcompat_v7\res\values-v21\styles_base.xml:25: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabView'. 
[2014-11-06 22:11:57 - MyActivity] 
[2014-11-06 22:11:57 - MyActivity] D:\tst\appcompat_v7\res\values-v21\styles_base.xml:29: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabView'. 
[2014-11-06 22:11:57 - MyActivity] 
[2014-11-06 22:11:57 - MyActivity] D:\tst\appcompat_v7\res\values-v21\styles_base.xml:33: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabText'. 
[2014-11-06 22:11:57 - MyActivity] 
[2014-11-06 22:11:57 - MyActivity] D:\tst\appcompat_v7\res\values-v21\styles_base.xml:37: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'. 
[2014-11-06 22:11:57 - MyActivity] 
[2014-11-06 22:11:57 - MyActivity] D:\tst\appcompat_v7\res\values-v21\styles_base.xml:41: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'. 
[2014-11-06 22:11:57 - MyActivity] 
[2014-11-06 22:11:57 - MyActivity] D:\tst\appcompat_v7\res\values-v21\styles_base.xml:65: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Title'. 
[2014-11-06 22:11:57 - MyActivity] 
[2014-11-06 22:11:57 - MyActivity] D:\tst\appcompat_v7\res\values-v21\styles_base.xml:69: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Subtitle'. 
[2014-11-06 22:11:57 - MyActivity] 
[2014-11-06 22:11:57 - MyActivity] D:\tst\appcompat_v7\res\values-v21\styles_base.xml:45: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Menu'. 
[2014-11-06 22:11:57 - MyActivity] 
[2014-11-06 22:11:57 - MyActivity] D:\tst\appcompat_v7\res\values-v21\styles_base.xml:49: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title'. 
[2014-11-06 22:11:57 - MyActivity] 
[2014-11-06 22:11:57 - MyActivity] D:\tst\appcompat_v7\res\values-v21\styles_base.xml:53: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle'. 
[2014-11-06 22:11:57 - MyActivity] 
[2014-11-06 22:11:57 - MyActivity] D:\tst\appcompat_v7\res\values-v21\styles_base.xml:57: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title.Inverse'. 
[2014-11-06 22:11:57 - MyActivity] 
[2014-11-06 22:11:57 - MyActivity] D:\tst\appcompat_v7\res\values-v21\styles_base.xml:61: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle.Inverse'. 
[2014-11-06 22:11:57 - MyActivity] 
[2014-11-06 22:11:57 - MyActivity] D:\tst\appcompat_v7\res\values-v11\styles_base.xml:32: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ProgressBar.Horizontal'. 
[2014-11-06 22:11:57 - MyActivity] 

And imported Appcompat

ИДК, я так запутался .. Я не могу найти ответ ... Когда я закрываю и снова открываю Eclipse, я получил это:

enter image description here

Errors occurred during the build. 
Error instantiating builder 'com.android.ide.eclipse.adt.PreCompilerBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Error instantiating builder 'com.android.ide.eclipse.adt.ApkBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Error instantiating builder 'com.android.ide.eclipse.adt.ResourceManagerBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Error instantiating builder 'com.android.ide.eclipse.adt.PreCompilerBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Error instantiating builder 'com.android.ide.eclipse.adt.ApkBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Error instantiating builder 'com.android.ide.eclipse.adt.ResourceManagerBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Error instantiating builder 'com.android.ide.eclipse.adt.PreCompilerBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Error instantiating builder 'com.android.ide.eclipse.adt.ApkBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Error instantiating builder 'com.android.ide.eclipse.adt.ResourceManagerBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Error instantiating builder 'com.android.ide.eclipse.adt.PreCompilerBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Error instantiating builder 'com.android.ide.eclipse.adt.ApkBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Error instantiating builder 'com.android.ide.eclipse.adt.ResourceManagerBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Error instantiating builder 'com.android.ide.eclipse.adt.PreCompilerBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Error instantiating builder 'com.android.ide.eclipse.adt.ApkBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Error instantiating builder 'com.android.ide.eclipse.adt.ResourceManagerBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Error instantiating builder 'com.android.ide.eclipse.adt.PreCompilerBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Error instantiating builder 'com.android.ide.eclipse.adt.ApkBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Error instantiating builder 'com.android.ide.eclipse.adt.ResourceManagerBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Error instantiating builder 'com.android.ide.eclipse.adt.PreCompilerBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Error instantiating builder 'com.android.ide.eclipse.adt.ApkBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Error instantiating builder 'com.android.ide.eclipse.adt.ResourceManagerBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Error instantiating builder 'com.android.ide.eclipse.adt.PreCompilerBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Error instantiating builder 'com.android.ide.eclipse.adt.ApkBuilder'. 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder. 
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (429). 

ответ

0

Похоже, вам не хватает библиотек ... попробуйте следующее:

1.check .classpath файл в папке проекта. У вас может быть ссылка. ИЛИ 2. Закройте и заново запустите проект без закрытия затмения, это может привести к восстановлению кеша ресурсов Eclipse. ИЛИ 3.Re-импортируйте свой проект в чистую рабочую область.

+0

1. Где это и как? Я новичок ... :(Я студент, и я пытаюсь учиться ... 2. Я закрыл и снова просмотрел, но есть много ошибок ... 3. Я импортировал свои проекты в alot из wokrspaces, но всегда то же самое, ошибки ... Я скачал образец проекта из Google, есть ошибки, пытался мои проекты, которые работали до форматирования, есть ошибки, но я создал новый проект, который отлично работает ... –

+0

партнер, который является частью учебного процесса.Я предлагаю не искать прямых ответов, но для указателей и объяснений процессов вы узнаете больше об этом. Я сделал свою диссертацию в eclipse (приложение для Android), и это была суета. прокомментировал, что нашел в своих заметках. –

+0

Мы не узнаем, что в школе ... Я сам тренируюсь ... В школе мы учимся C# ... Но я люблю программировать на Android. –

Смежные вопросы