mirah/pindah

Wrong Targets Hash

fidanov opened this issue · 0 comments

I am under Windows 7. The android/platforms folder contains the following platforms:

android-1.1/
android-1.5/
android-2.0/
android-2.0.1/
android-2.1/
android-4/
android-8/
android-9/
android-10/
android-11/
android-12/
android-13/

Therefore the targets in the pindah.rb, line 34 are wrong:

Line 34:
TARGETS = { "1.5" => 3, "1.6" => 4,
"2.1" => 7, "2.2" => 8, "2.3" => 9 }

When I am trying to compile the "Garret" project it does not work, because it has version "2.1" set and it tries to include android.jar from a folder 'android-7', where as the correct folder is 'android-2.1' as you can see above. Please correct the targets and include all targets up to the latest one. Better, in the rake file it will be better if it takes a number(the integer number version) and not "2.1" or similar.