>

Fórum

Fórum da RL System, voltado para analistas, programadores etc. Tudo sobre linguagem de programação e desenvolvimento Full Stack: Banco de Dados, Android, C#, Java, .NET, PHP, Node, Javascript, TypeScript, Front, HTML e muito mais.



Eclipse Juno Erro values


Boas. Estou mesmo confuso estou farto de procurar uma resolução na internet e mesmo assim não me safo, passo a explicar.

Utilizo o eclipse juno e quando crio um projecto Android ele me dá erro em vários values. Já vi sugestões na net a dizer +ara mudar o directório da pasta appcompat_v7 e mesmo assim sem resultado...

os erros são estes, e se alguém me poder ajudar agradecia imenso pois gostava muito de começar aulas a serio de Android mas nem do começo passo ...

chamei meu projecto de Bala.

[2014-11-16 22:41:58 - appcompat_v7] WARNING: unable to write jarlist cache file D:\Android\appcompat_v7\bin\jarlist.cache
[2014-11-16 22:41:58 - appcompat_v7] WARNING: unable to write jarlist cache file D:\Android\appcompat_v7\bin\jarlist.cache
[2014-11-16 22:44:09 - Bala] D:\Android\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-16 22:44:09 - Bala] D:\Android\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-16 22:44:09 - Bala] D:\Android\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-16 22:44:09 - Bala] D:\Android\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-16 22:44:09 - Bala] D:\Android\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-16 22:44:09 - Bala] D:\Android\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-16 22:44:09 - Bala] D:\Android\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-16 22:44:09 - Bala] D:\Android\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-16 22:44:09 - Bala] D:\Android\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-16 22:44:09 - Bala] D:\Android\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-16 22:44:09 - Bala] D:\Android\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-16 22:44:09 - Bala] D:\Android\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-16 22:44:09 - Bala] D:\Android\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-16 22:44:09 - Bala] D:\Android\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-16 22:44:09 - Bala] D:\Android\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-16 22:44:09 - Bala] D:\Android\appcompat_v7\res\values-v21\styles_base.xml:178: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar.Horizontal'.
[2014-11-16 22:44:09 - Bala] D:\Android\appcompat_v7\res\values-v21\styles_base.xml:182: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar'.
[2014-11-16 22:44:09 - Bala] D:\Android\appcompat_v7\res\values-v21\styles_base.xml:113: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Spinner'.
[2014-11-16 22:44:09 - Bala] D:\Android\appcompat_v7\res\values-v21\styles_base.xml:115: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Spinner'.
[2014-11-16 22:44:09 - Bala] D:\Android\appcompat_v7\res\values-v21\styles_base.xml:110: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.DropDownItem.Spinner'.
[2014-11-16 22:44:09 - Bala] D:\Android\appcompat_v7\res\values-v21\styles_base.xml:107: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListView.DropDown'.
[2014-11-16 22:44:09 - Bala] D:\Android\appcompat_v7\res\values-v21\styles_base.xml:121: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListView'.
[2014-11-16 22:44:09 - Bala] D:\Android\appcompat_v7\res\values-v21\styles_base.xml:126: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListPopupWindow'.
[2014-11-16 22:44:09 - Bala] D:\Android\appcompat_v7\res\values-v21\styles_base.xml:138: error: Error: No resource found that matches the given name: attr 'android:overlapAnchor'.
[2014-11-16 22:44:09 - Bala] D:\Android\appcompat_v7\res\values-v21\styles_base.xml:143: error: Error: No resource found that matches the given name: attr 'android:overlapAnchor'.
[2014-11-16 22:44:09 - Bala] D:\Android\appcompat_v7\res\values-v21\styles_base.xml:129: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.PopupMenu'.
[2014-11-16 22:44:09 - Bala] D:\Android\appcompat_v7\res\values-v21\styles_base.xml:132: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.PopupMenu'.
[2014-11-16 22:44:09 - Bala] D:\Android\appcompat_v7\res\values-v21\styles_base.xml:146: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Large'.
[2014-11-16 22:44:09 - Bala] D:\Android\appcompat_v7\res\values-v21\styles_base.xml:150: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Small'.
[2014-11-16 22:44:09 - Bala] D:\Android\appcompat_v7\res\values-v21\styles_base.xml:154: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Large'.
[2014-11-16 22:44:09 - Bala] D:\Android\appcompat_v7\res\values-v21\styles_base.xml:158: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Small'.
[2014-11-16 22:44:09 - Bala] D:\Android\appcompat_v7\res\values-v21\styles_base.xml:164: error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Material.SearchResult.Title'.
[2014-11-16 22:44:09 - Bala] D:\Android\appcompat_v7\res\values-v21\styles_base.xml:168: error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Material.SearchResult.Subtitle'.
[2014-11-16 22:44:09 - Bala] D:\Android\appcompat_v7\res\values-v21\styles_base.xml:172: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.AutoCompleteTextView'.
[2014-11-16 22:44:09 - Bala] D:\Android\appcompat_v7\res\values-v21\styles_base.xml:174: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.AutoCompleteTextView'.
[2014-11-16 22:44:09 - Bala] D:\Android\appcompat_v7\res\values-v21\styles_base.xml:93: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Toolbar.Button.Navigation'.



24 Respostas


Ola Pedro

vá na pasta do appcompat_v7/bin

se vc nao ver o jarlist.cache

entao Você precisa atualizar a pasta appcompat_v7, apenas pressione F5 sobre essa pasta.

senao der certo tente instalar de novo o eclipse conforme este site aqui abaixo

http://andreleonis.blogspot.com.br/2014/06/instalacao-do-eclipse-para-android.html




Agradeço imenso e espero qe me continues a ajudar pois ainda não foi desta e dá erro no values e ainda esse do jarlist.cache.. não sei mais que fazer com este programa... gostava muito de avançar mais ...




opa Pedro,

mostre o screen do seu eclipse ...








aqui está as fotos se for preciso mais algumas especifica.

Obrigado, Pedro




Ola Pedro,

faça o seguinte

vai la Project->Clean

escolha clean projects selected below

e escolha appcompat_v7

desmarque a opcao Start a build immediately

e aperte ok

faca isso duas ou tres vezes

ai depois dê um retorno p ve se funcionou




Continua sem dar nada ... dá erro nos mesmos values






esse bug acontece mesmo no eclipse , eu faço isso q te diss e no topico anterior ou entao
reinicio o android e deixa aquela messagem q aparece no canto inferior direito carrega tudo....




Ola Pedro,

ólha click com o botao direito no seu projeto e va em Properties.... va em Android e escolha qual Project Build Target ele vai rodar se por exemplo vc definiu q o minsdk é 8 entao escolha androi 2.2





e depois vc faz aquilo q eu falei no comeco




Olá novamente. Não tem sido fácil fiz tudo como disse e mais algumas coisas para tirar os erros todos, e la consegui tirar os erros todos mas quando quiz iniciar no botão run volta a dar os erros todos... já não sei que fazer amigo... gostava imenso de estudar android...

Imagens :










opa,

vc apertou laem Project -> clean e depois Poject ->Build Project????




Sim tal e qual como voce disse




tente fazer uma nova aplicacao

uma simples ..

ou entao faca do android gratuito aqui do site p ver se dar certo




Ola Pedro....

faça o seguinte

vá no seu Projeto clique nele com o botao direito do mouse

va em Properties -> Java Build Path -> e marque a opcao do seu target do Android

q pode ser Android 2.2 OU Android 4.0




e de build project em seu projeto




ai se naum de certo nenhuma dessas formas


vc vai excluir seu appcompat_v7

e vai fazer um novo projeto so p ele criar um novo appcompat_v7

ai vai dar tudo certo




Já tentei isso tudo e nada deu certo. E fiz tudo tal e qual como você disse




entao exclua seu eclipse tente outra vez

instale o eclipse com todas as suas api

faça q nem esse site aqui

http://andreleonis.blogspot.com.br/2014/06/instalacao-do-eclipse-para-android.html




André, pelo que vi vc manja muito e é muito paciente... eu estou com o mesmo problema do amigo de cima, fui seguindo os seus passos e o x vermelho do appcompat_v7 eu consegui tirar fazendo o clean, mas tem uma exclamação vermelha no meu aplicativo que não sai, e quando tento executar ele da uma mensagem de erro dizendo que meu projeto contem erros e pede para eu arrumar antes de executar novamente... lá embaixo no console aparece uns erros dentro da pasta appcompat_v7/res/values-v21... antes não estava dando estes erros, mas depois que eu resolvi instalar todas as opções do SDK começou e não consegui rodar mais nada, parece ser algum arquivo corrompido do SDK ou algum bug mesmo quando se instala tudo, mas ainda não consegui fazer voltar ao normal e o pior que eu nem sei mais o que eu devo desinstalar para funcionar




Ola Tales ..

tenta reinstalar o eclipse ou tenta instalar o android studio

eu recomendo o android studio pq é a ide oficial da google.....




Também estou com o mesmo problema!!




Ola Pedro

faça q nem eu estou falando acima

instale o android studio

pq é a ide oficial da google




Olá pessoal.

Sou novo aqui mas acho que nesse caso posso ajudar.

1º - abra o arquivo "project.properties" que esta em appcompat_v7 e altere "target=xxxx" para "target=android-21".
2º - repita o mesmo procedimento em seu novo projeto.

Salve tudo e clean project. Ou reinicie o Eclipse.

Não sei o que tem ocorrido com a IDE, mas só consigo trabalhar com target=android-21 em tudo.

Espero que tenha ajudado.




Problema resolvido com as dicas do Fábio Soares Pires. Muito obrigado!!!