java - Android google maps package does not exist error -
i'm french guy , try create software using overlay google maps api v2 android phone.
i've error message after compil , since 3 weeks d'ont solve problem (package not exist) .
does can me, please ?
regards.
this error : echec de la création de l'application android .
ligne de commande : "c:\program files\java\jdk1.6.0_37\bin\javac.exe" -encoding utf-16le -nowarn -source 1.5 -target 1.5 -d bin\classes -bootclasspath "c:\program files\android\android-sdk\platforms\android-18\android.jar" gen\com\pcsoft\android_trace_sur_carte\*.java src\com\pcsoft\android_trace_sur_carte\wdgen\*.java gen\com\google\android\gms\*.java -classpath "libs;libs\google-play-services.jar" erreur retournée : src\com\pcsoft\android_trace_sur_carte\wdgen\gwdcpcol_cartetrace.java:27: package com.google.android.maps not exist import com.google.android.maps.geopoint; ^ src\com\pcsoft\android_trace_sur_carte\wdgen\gwdcpcol_cartetrace.java:29: package com.google.android.maps not exist import com.google.android.maps.geopoint; ^ src\com\pcsoft\android_trace_sur_carte\wdgen\gwdcpcol_cartetrace.java:30: package com.google.android.maps not exist import com.google.android.maps.*;//geopoint; ^ src\com\pcsoft\android_trace_sur_carte\wdgen\gwdcpcol_cartetrace.java:49: package com.google.android.maps not exist import com.google.android.maps.*; ^ src\com\pcsoft\android_trace_sur_carte\wdgen\gwdcpcol_cartetrace.java:163: cannot find symbol symbol : class geopoint location: class com.pcsoft.android_trace_sur_carte.wdgen.gwdcpcol_cartetrace private static list<geopoint> path; ^ src\com\pcsoft\android_trace_sur_carte\wdgen\gwdcpcol_cartetrace.java:165: cannot find symbol symbol : class mapview location: class com.pcsoft.android_trace_sur_carte.wdgen.gwdcpcol_cartetrace private static mapview vmap; ^ src\com\pcsoft\android_trace_sur_carte\wdgen\gwdcpcol_cartetrace.java:169: cannot find symbol symbol : class overlay location: class com.pcsoft.android_trace_sur_carte.wdgen.gwdcpcol_cartetrace public static class routepathoverlay extends overlay { ^ src\com\pcsoft\android_trace_sur_carte\wdgen\gwdcpcol_cartetrace.java:174: cannot find symbol symbol : class geopoint location: class com.pcsoft.android_trace_sur_carte.wdgen.gwdcpcol_cartetrace.routepathoverlay private final list<geopoint> m_arpoints; ^ src\com\pcsoft\android_trace_sur_carte\wdgen\gwdcpcol_cartetrace.java:176: cannot find symbol symbol : class geopoint location: class com.pcsoft.android_trace_sur_carte.wdgen.gwdcpcol_cartetrace.routepathoverlay public routepathoverlay(list<geopoint> points, int pathcolor, int nopacity, paint.style clstyle, int nwidth) { ^ src\com\pcsoft\android_trace_sur_carte\wdgen\gwdcpcol_cartetrace.java:193: cannot find symbol symbol : class mapview location: class com.pcsoft.android_trace_sur_carte.wdgen.gwdcpcol_cartetrace.routepathoverlay public boolean draw(canvas canvas, mapview mapview, boolean shadow, long when) { ^ src\com\pcsoft\android_trace_sur_carte\wdgen\gwdcpcol_cartetrace.java:124: cannot find symbol symbol : class mapview location: class com.pcsoft.android_trace_sur_carte.wdgen.gwdcpcol_cartetrace vmap = (mapview) getview(scarte); ^ src\com\pcsoft\android_trace_sur_carte\wdgen\gwdcpcol_cartetrace.java:153: cannot find symbol symbol : class geopoint location: class com.pcsoft.android_trace_sur_carte.wdgen.gwdcpcol_cartetrace path = new arraylist<geopoint>(); ^ src\com\pcsoft\android_trace_sur_carte\wdgen\gwdcpcol_cartetrace.java:194: cannot find symbol symbol : class projection location: class com.pcsoft.android_trace_sur_carte.wdgen.gwdcpcol_cartetrace.routepathoverlay projection projection = mapview.getprojection(); ^ src\com\pcsoft\android_trace_sur_carte\wdgen\gwdcpcol_cartetrace.java:200: cannot find symbol symbol : class geopoint location: class com.pcsoft.android_trace_sur_carte.wdgen.gwdcpcol_cartetrace.routepathoverlay geopoint gpointa = m_arpoints.get(i); ^ src\com\pcsoft\android_trace_sur_carte\wdgen\gwdcpcol_cartetrace.java:209: cannot find symbol symbol : class geopoint location: class com.pcsoft.android_trace_sur_carte.wdgen.gwdcpcol_cartetrace.routepathoverlay geopoint gpointb = m_arpoints.get(i-1); ^ src\com\pcsoft\android_trace_sur_carte\wdgen\gwdcpcol_cartetrace.java:236: non-static variable super cannot referenced static context return super.draw(canvas, mapview, shadow, when); ^ src\com\pcsoft\android_trace_sur_carte\wdgen\gwdcpcol_cartetrace.java:348: cannot find symbol symbol : class geopoint location: class com.pcsoft.android_trace_sur_carte.wdgen.gwdcpcol_cartetrace path = new arraylist<geopoint>(); ^ src\com\pcsoft\android_trace_sur_carte\wdgen\gwdcpcol_cartetrace.java:352: cannot find symbol symbol : class geopoint location: class com.pcsoft.android_trace_sur_carte.wdgen.gwdcpcol_cartetrace geopoint point = new geopoint((int)(lat * 1e6), (int)(lng * 1e6)); ^ src\com\pcsoft\android_trace_sur_carte\wdgen\gwdcpcol_cartetrace.java:352: cannot find symbol symbol : class geopoint location: class com.pcsoft.android_trace_sur_carte.wdgen.gwdcpcol_cartetrace geopoint point = new geopoint((int)(lat * 1e6), (int)(lng * 1e6)); ^ src\com\pcsoft\android_trace_sur_carte\wdgen\gwdcpcol_cartetrace.java:1067: cannot find symbol symbol : class geopoint location: class com.pcsoft.android_trace_sur_carte.wdgen.gwdcpcol_cartetrace geopoint p = new geopoint((int) (((double) lat / 1e5) * 1e6), ^ src\com\pcsoft\android_trace_sur_carte\wdgen\gwdcpcol_cartetrace.java:1067: cannot find symbol symbol : class geopoint location: class com.pcsoft.android_trace_sur_carte.wdgen.gwdcpcol_cartetrace geopoint p = new geopoint((int) (((double) lat / 1e5) * 1e6), ^ 21 errors
geopoint
, mapview
few of classes doesn't exists in classpath. add them claasspath.
update: assuming using eclipse, following in order import google map apis
- right click on project
- select properties
- select android, check google apis platform (your version).
Comments
Post a Comment