Can titanium use android api level 14 ?_?

You must Login before you can answer or comment on any questions.

Hi I am trying to build a vpn session using titanium for android.

For it I was creating a android native module.

Now the issue what I get is that , the api which is needed for building VPN is in android api level 14.

And titanium supports android api level 8.

Also I tried to use the android's jar file of api level 14 as a reference library ( I was just trying ), the module build failed.

So any suggestion for this !!!!

— asked 10 months ago by Sid Me
0 Comments

4 Answers

You just need to change tiapp.xml, and add this:

<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="8"/>
more here:

https://wiki.appcelerator.org/display/guides/tiapp.xml+and+timodule.xml+Reference#tiapp.xmlandtimodule.xmlReference-Androidspecificapplicationproperties

— answered 10 months ago by Dan Tamas
answer permalink
3 Comments
  • Hi Dan,

    Can I target to sdk version 14 or 16 as VpnService class is available in these API levels.
    

    — commented 10 months ago by Sid Me

  • This was an example, change the sdk version to what iteration you want (14, 16 whatever instead of 8)

    — commented 10 months ago by Dan Tamas

  • I did so but it is not working , it does not allow me to build an android package.

    — commented 9 months ago by Sid Me

Try changing the build.properties file in the Module directory normally this file directs to Android-8 API level, you have set that manually.

Your Answer

Think you can help? Login to answer this question!