Hi,

the documentation here

https://cordova.apache.org/docs/en/4.0.0/plugin_ref_spec.md.html#Plugin%20Specification_info_element

says that some tasks needed by <framework ...> are not done by plugman.

<framework src="extras/android/support/v7/appcompat" custom="false">


But it seems quite easy to do this by calling this command e.g. for Google
Play Services:
$ android update project --path . --library
/home/ignisvulpis/Android/Sdk/extras/google/google_play_services/libproject/google-play-services_lib/
--target android-21

Cordova has all the information that is needed, right?!
Or doesn't this work in all cases?

My latest custom plugin can not be added to my project because plugman's
android.js calls the property-parser which tries to determine the
androidSdkDir which fails because it tries to open local.properties which
was not created (by cordova).
Why doesn't plugman try ANDROID_HOME (too)?

I think that using "android update project ..." would always work instead
of plugman editing project file directly.

Axel

ps: There are several unanswered
stackoverflow questions regarding Google Play Services and Cordova
http://stackoverflow.com/questions/22002424/admob-with-cordova-3-and-google-play-services
http://stackoverflow.com/questions/30399421/cordova-testing-google-play-game-services
http://stackoverflow.com/questions/25872707/how-to-link-google-play-services-to-cordova-project

Reply via email to