Essa classe ta direitinha lá no manifest?
Como voce ta chamando o mapa?
use:
<fragment
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent"
class="com.google.android.gms.maps.SupportMapFragment" />
e para referenciar ele no projeto:
private GoogleMap mMap;
mMap = ((SupportMapFragment) getFragmentManager().findFragmentById(R.id.map)).getMap();
Outra pergunta, você está com o GooglePlayServicesLibrary aberto nos projetos do eclipse e devidamente referenciado em seu projeto?
Em 6 de agosto de 2013 12:57, Helio Silva <helio.afsilva@gmail.com> escreveu:
Opa andre valeu, criei minha key corretamente agora
adicionei o projeto, coloquei pra on a API google maps versao 2 e criei a key como voce falo, so to com um problema agora, quando ele carrega eu olhei no debug e ele ta falando o seguinte:
08-06 15:54:05.517: E/AndroidRuntime(2614): FATAL EXCEPTION: main
08-06 15:54:05.517: E/AndroidRuntime(2614): java.lang.NoClassDefFoundError: br.com.phmobile.petshop.LocalidadeActivity
08-06 15:54:05.517: E/AndroidRuntime(2614): at br.com.phmobile.petshop.DashboardActivity$5.onClick(DashboardActivity.java:73)
mas como isso e possivel, se a minha classe existe, e esta la ? tava funcionando ate agora, agora nao ta mais funcionando.
--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
André Luiz de Oliveira Souza
Engenheiro da Computação
Pós-graduando em Desenvolvimento de Software com ênfase em Java Corporativo
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.






0 comentários:
Postar um comentário