当前位置: 动力学知识库 > 问答 > 编程问答 >

how to change android Api version in processing

问题描述:

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; 
  //...
分享给朋友:
您可能感兴趣的文章:
随机阅读: