zjyzjy1121 / android-maps-extensions

Automatically exported from code.google.com/p/android-maps-extensions
0 stars 0 forks source link

Beginners guide to clustering? #24

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have downloaded the zip file from here and imported "android-maps-extensions" 
and "android-maps-extensions-demo" into my Eclipse workspace. The project 
"android-maps-extensions" has an error in the "SupportMapFragment.java" file 
which is "The hierarchy of the type SupportMapFragment is inconsistent". Also, 
after I corrected the build path in "android-maps-extensions-demo" to point at 
"android-maps-extensions" and this won't start as "The container "Android 
Dependencies" references non existing library 
"MAP_TO_PROJECT\bin\android-maps-extensions.jar"". I cannot find said jar file 
anywhere. Am I doing something fundamentally wrong - all I wanted to do is to 
get the demo working so I could check it out before possibly adding it to a 
project of mine.

I would be really grateful for any help.

Many thanks.

Original issue reported on code.google.com by jonathan...@gmail.com on 15 Jul 2013 at 3:20

GoogleCodeExporter commented 8 years ago
Hello Jonathan,

Have you tried to import these projects as maven or android projects?
I had no problem importing them as android projects.

Try first importing android-maps-extensions and after it builds 
(android-maps-extensions.jar appears in the bin) import demo.

Original comment by maciek.g...@gmail.com on 20 Jul 2013 at 11:48

GoogleCodeExporter commented 8 years ago
Hello,

I have re-downloaded the ZIP file and imported into Eclipse through File > 
Import then selected "Existing Android Code Into Workspace" followed by 
selecting the root directory for android-maps-extensions then clicking Finish. 
This now seems to have worked. However, when I add it to my project as a 
library through Right click > Properties > Android > Library, every line that 
references R.java like findViewById(R.id.name) now errors saying R cannot be 
resolved. I have tried both the suggested imports but still R cannot be 
resolved. Have you ever seen this before?

Jonathan

Original comment by jonathan...@gmail.com on 23 Jul 2013 at 10:26