JuliusMakoko / osmdroid

Automatically exported from code.google.com/p/osmdroid
0 stars 0 forks source link

VerifyError on Android 1.6 (increase minSdkVersion to 7) #497

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use an app that uses osmdroid on a device with Android 1.6

What is the expected output? What do you see instead?
The app crashes with VerifyError

We should increase the minSdkVersion to 8. 

For more confirmation/information see
http://lmgtfy.com/?q=verifyerror+android+1.6

Original issue reported on code.google.com by neilboyd on 2 Dec 2013 at 8:22

GoogleCodeExporter commented 8 years ago
well Actually I managed to run Osmdroid on Android 2.1 device (that is API 
level 7) and maybe it would be runnable also on 1.6 if newer methods would be 
called by using reflection?

Original comment by jaanus_h...@hotmail.com on 3 Dec 2013 at 3:29

GoogleCodeExporter commented 8 years ago
Yes, I should have said API 7 rather than 8.

You could avoid all the newer methods by using reflection, but that's only 
necessary for 1.6 so it doesn't seem worth the effort. With newer versions you 
can just avoid calling unimplemented methods. With 1.6 you get the VerifyError 
when you load the class containing an unimplemented method.

Original comment by neilboyd on 3 Dec 2013 at 4:15

GoogleCodeExporter commented 8 years ago

Original comment by neilboyd on 4 Jan 2014 at 5:54

GoogleCodeExporter commented 8 years ago
Also update Prereqs wiki page to reflect new minSdkVersion.

Original comment by kurtzm...@gmail.com on 20 Feb 2014 at 3:27

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r1445.

Original comment by neilboyd on 27 Feb 2014 at 7:16

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r1446.

Original comment by neilboyd on 27 Feb 2014 at 7:17