>

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.



API 8 - Gerar uma Blank Activity


Bom dia.
Estou seguindo a vídeo aula de comko criar uma Aplicação em Android, porém não consigo, eu uso a API 8, para Android 2.2 e na hora de criar uma Activity o Eclipse informa que só posso usar a Blank Activity se estiver usando uma API superior a 14. Porém eu gostaria de seguir exatamente igual a video aula, usando o Android 2.2 com API 8, porém as opções de Activity não ficam disponíveis para eu clicar...

Não consigo avançar na criação do projeto...

Preciso de ajuda.

Obrigado

Eduardo



3 Respostas


Ola Eduardo

veja este topico aqui

http://rlsystem.com.br/forum/android/985-erro-na-activity#top




Fiz isso, mudei para 8, porem começou a dar vários erros e depois voltei ao estado default.
Apaguei todo o meu projeto, agora aparece esses erros:

[2014-10-23 12:22:28 - appcompat_v7] WARNING: unable to write jarlist cache file C:\Users\eduardo.TOLDOSDIAS\workspace_h2e-studio\appcompat_v7\bin\jarlist.cache

[2014-10-23 12:22:33 - CadastroDeClientes] C:\Users\eduardo.TOLDOSDIAS\workspace_h2e-studio\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-10-23 12:22:33 - CadastroDeClientes] C:\Users\eduardo.TOLDOSDIAS\workspace_h2e-studio\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-10-23 12:22:33 - CadastroDeClientes] C:\Users\eduardo.TOLDOSDIAS\workspace_h2e-studio\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-10-23 12:22:33 - CadastroDeClientes] C:\Users\eduardo.TOLDOSDIAS\workspace_h2e-studio\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-10-23 12:22:33 - CadastroDeClientes] C:\Users\eduardo.TOLDOSDIAS\workspace_h2e-studio\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-10-23 12:22:33 - CadastroDeClientes] C:\Users\eduardo.TOLDOSDIAS\workspace_h2e-studio\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-10-23 12:22:33 - CadastroDeClientes] C:\Users\eduardo.TOLDOSDIAS\workspace_h2e-studio\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-10-23 12:22:33 - CadastroDeClientes] C:\Users\eduardo.TOLDOSDIAS\workspace_h2e-studio\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-10-23 12:22:33 - CadastroDeClientes] C:\Users\eduardo.TOLDOSDIAS\workspace_h2e-studio\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-10-23 12:22:33 - CadastroDeClientes] C:\Users\eduardo.TOLDOSDIAS\workspace_h2e-studio\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-10-23 12:22:33 - CadastroDeClientes] C:\Users\eduardo.TOLDOSDIAS\workspace_h2e-studio\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-10-23 12:22:33 - CadastroDeClientes] C:\Users\eduardo.TOLDOSDIAS\workspace_h2e-studio\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'.

E tem muito mais linhas de erro, toda vez que crio um projeto, e detalhe, tenho que colocar uma API maior pra compilar pra liberar
a blank activity




opa, entao crie o na api 14

e depois de criado vc altera no Manifest



android:minSdkVersion="8"