问题描述:

I am writing a program with processing.I have problem installing android with API 10,

How can I change Android API version in Processing from 10 to 19 ?

网友答案:

You have to change the sdkVersion in the AndroidBuild.java (currently line 48, see here) in the source and finally re-build by running ant.

class AndroidBuild extends JavaBuild {

  //  static final String basePackage = "changethispackage.beforesubmitting.tothemarket";
  static final String basePackage = "processing.test";
  static String sdkName = "2.3.3";
  static String sdkVersion = "10";  // Android 2.3.3 (Gingerbread)
  static String sdkTarget = "android-" + sdkVersion; 
  //...
相关阅读:
Top