Closed GoogleCodeExporter closed 9 years ago
Hi Jacek,
You can keep your project's target SDK as 8. But in order to compile the
library, please use latest SDK for project build target. You can change it by
right clicking on your project, select Properties, select tab Android and check
Android 4.3 (API 18). Or you can change it by opening your `project.properties`
file and make this change:
...
target=android-18
If you're using Google APIs SDK then change it respectively.
I hope this helps :-)
Hai,
Original comment by haibison...@gmail.com
on 12 Aug 2013 at 10:07
[deleted comment]
[deleted comment]
[deleted comment]
Do you use the tag `<uses-sdk>` in AndroidManifest.xml? For example it could be:
<uses-sdk
android:minSdkVersion="7"
android:targetSdkVersion="8" />
I meant your project's build target -- it should be latest SDK. The
`targetSdkVersion` in manifest *can* be different to the project build target.
Could you check it again? Note that the library just needs normal Android SDK
(API 18), it doesn't need Google APIs...
Original comment by haibison...@gmail.com
on 12 Aug 2013 at 10:18
I've set android-lockpattern target to Google APIs 18
and my project target is Google APIs 8
With this configuration I still getting those errors in the console.
If I set my project to Android 2.2 API Level 8 I don't get those erors in
console, but it messes up with my google maps sdk. So I have to set it to
Google APIs API level 8.
Original comment by jacek.kw...@gmail.com
on 12 Aug 2013 at 10:18
My project Manifest.xml
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="10" />
I have to use Google APIs as a buil target, does that mean I can't use this
library?
Original comment by jacek.kw...@gmail.com
on 12 Aug 2013 at 10:21
Ok then, here is what I did:
I have left this part of my manifest untouched:
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="10" />
And set lockpattern and my project buuild target to Google APIs level 18. Seems
to be working now
Original comment by jacek.kw...@gmail.com
on 12 Aug 2013 at 10:30
Your manifest is fine.
I've never used Google Maps SDK before. But I think you can use latest SDK for
your project build target. You just need to be careful with using methods, make
sure those are supported in APIs 8-10. You can check it by their Javadocs (with
tag `@since`).
Either Android SDK or Google APIs SDK are fine for the library.
I'm glad it works :-)
Have a nice day.
Original comment by haibison...@gmail.com
on 12 Aug 2013 at 10:39
Original issue reported on code.google.com by
jacek.kw...@gmail.com
on 12 Aug 2013 at 9:56